Journals
AI Tools
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Journals are used by accountants to work directly with the general ledger to create both debit and credit entries for unique financial transactions.
Attribute
{
"journal_id": "982000000567001",
"journal_date": "2023-10-01",
"journal_date_formatted": "01/10/2023",
"journal_number": "J-12345",
"reversal_date": "2023-10-15",
"is_period_end_journal": true,
"fiscal_year": "2025",
"journal_template_name": "General Ledger Template",
"reference_number": "REF-67890",
"journal_number_prefix": "JE",
"journal_number_suffix": "001",
"currency": {
"currency_id": "460000000055555",
"currency_code": "USD",
"currency_symbol": "$"
},
"exchange_rate": 1.23,
"exchange_rate_formatted": "1.23",
"location": {
"location_id": "982000000567013",
"location_name": "Warehouse A",
"location_identification_number": "LOC-001"
},
"location_difference": {
"debit_diff": 120.5,
"debit_diff_formatted": "120.50",
"location_name": "Los Angeles Branch",
"credit_diff": 120.5,
"credit_diff_formatted": "120.50"
},
"status": "draft",
"status_formatted": "Draft",
"notes": "Important transaction",
"journal_type": "accrual",
"journal_type_formatted": "Accrual",
"journal_transaction_type": "sales_journal",
"vat_treatment": "Domestic",
"tax_treatment": "Standard Rated",
"product_type": "service",
"include_in_vat_return": true,
"is_bas_adjustment": false,
"entity_type": "item",
"entity_type_formatted": "Item",
"available_receivables_credits": 500,
"available_receivables_credits_formatted": "500.00",
"available_payables_credits": 300,
"available_payables_credits_formatted": "300.00",
"price_precision": 2,
"total": "1000.00",
"total_formatted": "$1,000.00",
"bcy_total": "1000.00",
"bcy_total_formatted": "$1,000.00",
"sub_total": 1400.5,
"sub_total_formatted": "1,400.50",
"acquisition_vat_total": 250,
"acquisition_vat_total_formatted": "250.00",
"acquisition_vat": {
"tax_id": "460000000044444",
"tax_name": "VAT 20%",
"tax_amount": 200,
"tax_amount_formatted": "200.00",
"tax_percentage": 20
},
"reverse_charge_vat_total": 300,
"reverse_charge_vat_total_formatted": "300.00",
"reverse_charge_vat": {
"tax_id": "460000000044445",
"tax_name": "Reverse VAT 10%",
"tax_amount": 300,
"tax_amount_formatted": "300.00",
"tax_percentage": 10
},
"taxes": [
{
"tax_name": "VAT 20%",
"tax_amount": 100,
"tax_amount_formatted": "100.00",
"debit_or_credit": "debit",
"tax_account": "Tax Payable"
}
],
"project": {
"project_id": "460000000045678",
"project_name": "Migration Project"
},
"statement_transactions": [
{
"statement_transaction_id": "460000000044467",
"date": "2025-03-15",
"date_formatted": "15/03/2025",
"amount": 500,
"amount_formatted": "500.00",
"payee": "ABC Supplies",
"description": "Office Supplies Purchase",
"reference_number": "REF-999",
"status": "matched",
"status_formatted": "Matched",
"account_id": "460000000044444"
}
],
"reverse_charge_taxes": [
{
"id": "460000000044444",
"text": "Reverse VAT 10%",
"percentage": 10,
"type": "VAT"
}
],
"invoices_credited": [
{
"journal_invoice_id": "982000000567109",
"is_opening_balance": false,
"invoice_id": "982000000567110",
"date": "2025-03-10",
"date_formatted": "10/03/2025",
"invoice_number": "INV-1001",
"credited_amount": "200.00",
"credited_amount_formatted": "200.00 USD"
}
],
"bills_credited": [
{
"journal_bill_id": "982000000567111",
"bill_id": "982000000567112",
"is_opening_balance": false,
"date": "2025-03-08",
"date_formatted": "08/03/2025",
"bill_number": "BILL-1002",
"credited_amount": "150.00",
"credited_amount_formatted": "150.00 USD"
}
],
"is_accrual_journal": true,
"department_id": "982000000567113",
"submitter_details": {
"user": {
"user_email": "johndoe@example.com",
"user_id": "982000000567114",
"user_name": "John Doe",
"user_photo_url": "https://example.com/photo.jpg",
"user_name_email": "John Doe (johndoe@example.com)"
},
"submitted_date": "2025-03-29",
"submitted_date_formatted": "29/03/2025",
"approver_user_id": "982000000567115"
},
"approvers_list": [
{
"order": 1,
"user": {
"user_email": "johndoe@example.com",
"user_id": "982000000567116",
"user_name": "John Doe",
"user_photo_url": "https://example.com/photo.jpg",
"is_next_approver": true,
"user_status": "active",
"user_status_formatted": "Active",
"available_apps": [
[
"Books",
"CRM"
]
]
},
"has_approved": false,
"approval_status": "pending",
"approval_status_formatted": "Pending",
"submitted_date": "2025-03-29",
"submitted_date_formatted": "29/03/2025",
"approved_date": "2025-03-30",
"approved_date_formatted": "30/03/2025",
"is_final_approver": true
}
],
"html_string": "string",
"created_time": "2023-10-01T12:00:00Z",
"created_time_formatted": "01-03-2025 10:00 AM",
"last_modified_time": "2023-10-01T12:30:00Z",
"last_modified_time_formatted": "31-03-2025 03:45 PM",
"line_items": [
{
"line_item_id": "982000000567401",
"account": {
"account_id": "982000000567402",
"account_name": "Accounts Receivable",
"account_type": "asset"
},
"contact": {
"contact_id": "982000000567403",
"contact_name": "Jane Smith"
},
"item_order": 1,
"description": "Consulting services provided",
"debit_or_credit": "debit",
"tax_exemption": {
"tax_exemption_id": "982000000567404",
"tax_exemption_type": "Nonprofit",
"tax_exemption_code": "TXE-001"
},
"tax_authority": {
"tax_authority_id": "982000000567405",
"tax_authority_name": "IRS"
},
"tax": {
"tax_id": "982000000567406",
"tax_name": "VAT",
"tax_name_formatted": "Value Added Tax",
"tax_percentage": "18.00",
"tax_type": "tds",
"tax_type_formatted": "TDS",
"tax_status": "active",
"tax_start_date": "2025-01-01",
"tax_end_date": "2025-12-31"
},
"tax_groups_details": [
{
"id": "982000000567407",
"name": "GST Group",
"type": "group",
"type_formatted": "Group",
"percentage": "12.00",
"deleted": false,
"tax_specific_type": "CGST",
"start_date": "2025-01-01",
"end_date": "2025-12-31",
"is_non_advol_tax": false
}
],
"taxes": [
{
"tax_id": "982000000567408",
"tax_name": "Sales Tax",
"tax_amount": 25,
"tax_amount_formatted": "$25.00"
}
],
"amount": "500.00",
"amount_formatted": "$500.00",
"bcy_amount": "420.00",
"bcy_amount_formatted": "$420.00",
"acquisition_vat": {
"tax_id": "982000000567408",
"tax_name": "Import VAT",
"tax_amount": "25.00",
"tax_amount_formatted": "25.00 USD",
"tax_percentage": "5.00"
},
"reverse_charge_vat": {
"tax_id": "982000000567409",
"tax_name": "Reverse VAT",
"tax_amount": "50.00",
"tax_amount_formatted": "50.00 USD",
"tax_percentage": "10.00"
},
"acquisition_tax": {
"tax_id": "982000000567410",
"tax_name": "Import Duty",
"tax_amount": "10.00",
"tax_amount_formatted": "10.00 USD",
"tax_percentage": "2.00"
},
"reverse_charge_tax": {
"tax_id": "982000000567411",
"tax_name": "RC GST",
"tax_name_formatted": "Reverse Charge GST",
"tax_amount": "40.00",
"tax_amount_formatted": "40.00 USD",
"tax_percentage": "8.00",
"tax_type": "percentage",
"tax_status": "active"
},
"reverse_charge_line_item_taxes": [
{
"id": "982000000567412"
}
],
"project": {
"project_id": "982000000567412",
"project_name": "Project Alpha"
},
"location": {
"location_id": "982000000567414",
"location_name": "NYC"
},
"tags": [
{
"is_tag_mandatory": true,
"tag_id": "982000000567415",
"tag_name": "Marketing",
"tag_option": {
"tag_option_id": "982000000567416",
"tag_option_name": "Campaign 2025"
}
}
],
"taxable_type": "goods",
"department_id": "982000000567417"
}
],
"created_by": {
"user_id": "982000000567018",
"user_name": "John Doe"
},
"last_modified_by": {
"user_id": "982000000567019",
"user_name": "Jane Smith"
}
}
Get journals list
AI Tools
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
List all journals with pagination.
OAuth Scope : ZohoBooks.accountants.READ
Query Parameters
draft, published, approved, submitted, rejectedaccrual, cash, both.true, false, on or offheaders_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.com/books/v4/journals?organization-id=10234695"
type: GET
headers: headers_data
connection: <connection_name>
];
info response;
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://www.zohoapis.com/books/v4/journals?organization-id=10234695")
.get()
.addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f")
.build();
Response response = client.newCall(request).execute();
const options = {
method: 'GET',
headers: {
Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
}
};
fetch('https://www.zohoapis.com/books/v4/journals?organization-id=10234695', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
import http.client
conn = http.client.HTTPSConnection("www.zohoapis.com")
headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }
conn.request("GET", "/books/v4/journals?organization-id=10234695", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const http = require("https");
const options = {
"method": "GET",
"hostname": "www.zohoapis.com",
"port": null,
"path": "/books/v4/journals?organization-id=10234695",
"headers": {
"Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
curl --request GET \
--url 'https://www.zohoapis.com/books/v4/journals?organization-id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "success",
"journals": [
{
"journal_id": "982000000567001",
"journal_date": "2023-10-01",
"journal_date_formatted": "01/10/2023",
"journal_number": "J-12345",
"reference_number": "REF-67890",
"currency": {
"currency_id": "460000000055555"
},
"location": {
"location_id": "982000000567013",
"location_name": "Warehouse A",
"location_identification_number": "LOC-001"
},
"status": "draft",
"status_formatted": "Draft",
"notes": "Important transaction",
"journal_type": "accrual",
"journal_type_formatted": "Accrual",
"entity_type": "item",
"entity_type_formatted": "Item",
"total": "1000.00",
"total_formatted": "$1,000.00",
"bcy_total": "1000.00",
"bcy_total_formatted": "$1,000.00",
"_links": {
"self": "/journals/982000000567001"
},
"created_time": "2023-10-01T12:00:00Z",
"created_time_formatted": "01-03-2025 10:00 AM",
"last_modified_time": "2023-10-01T12:30:00Z",
"last_modified_time_formatted": "31-03-2025 03:45 PM",
"created_by": {
"user_id": "982000000567018",
"user_name": "John Doe"
},
"last_modified_by": {
"user_id": "982000000567019",
"user_name": "Jane Smith"
},
"documents": [
{
"document_id": "460000000038034",
"document_name": "proposal.pdf",
"document_size": "1024000",
"document_size_formatted": "1 MB",
"document_type": "pdf",
"source": "desktop",
"source_formatted": "Desktop",
"uploaded_by": {
"user_id": "982000000567025",
"user_name": "John Doe"
},
"uploaded_on": "2023-04-01",
"uploaded_on_formatted": "01-04-2023",
"alter_text": "Project Proposal",
"attachment_order": "1",
"can_send_in_mail": "true",
"can_show_in_portal": "true",
"is_custom_field_document": "false",
"comment": {
"comment_id": "460000000038035"
},
"is_comment": "false"
}
]
},
{...},
{...}
]
}
Bulk delete journals
AI Tools
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Delete multiple journals.
OAuth Scope : ZohoBooks.accountants.DELETE
Query Parameters
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.com/books/v4/journals?organization-id=10234695"
type: DELETE
headers: headers_data
connection: <connection_name>
];
info response;
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://www.zohoapis.com/books/v4/journals?organization-id=10234695")
.delete(null)
.addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f")
.build();
Response response = client.newCall(request).execute();
const options = {
method: 'DELETE',
headers: {
Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
}
};
fetch('https://www.zohoapis.com/books/v4/journals?organization-id=10234695', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
import http.client
conn = http.client.HTTPSConnection("www.zohoapis.com")
headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }
conn.request("DELETE", "/books/v4/journals?organization-id=10234695", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const http = require("https");
const options = {
"method": "DELETE",
"hostname": "www.zohoapis.com",
"port": null,
"path": "/books/v4/journals?organization-id=10234695",
"headers": {
"Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
curl --request DELETE \
--url 'https://www.zohoapis.com/books/v4/journals?organization-id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "The selected journal entries have been deleted."
}
Get journal details
AI Tools
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Get the details of a journal.
OAuth Scope : ZohoBooks.accountants.READ
Path Parameters
Query Parameters
true, false, on or offjson, pdf and htmlheaders_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.com/books/v4/journals/982000000567001?organization-id=10234695"
type: GET
headers: headers_data
connection: <connection_name>
];
info response;
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://www.zohoapis.com/books/v4/journals/982000000567001?organization-id=10234695")
.get()
.addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f")
.build();
Response response = client.newCall(request).execute();
const options = {
method: 'GET',
headers: {
Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
}
};
fetch('https://www.zohoapis.com/books/v4/journals/982000000567001?organization-id=10234695', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
import http.client
conn = http.client.HTTPSConnection("www.zohoapis.com")
headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }
conn.request("GET", "/books/v4/journals/982000000567001?organization-id=10234695", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const http = require("https");
const options = {
"method": "GET",
"hostname": "www.zohoapis.com",
"port": null,
"path": "/books/v4/journals/982000000567001?organization-id=10234695",
"headers": {
"Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
curl --request GET \
--url 'https://www.zohoapis.com/books/v4/journals/982000000567001?organization-id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "success",
"journal": {
"journal_id": "982000000567001",
"journal_date": "2023-10-01",
"journal_date_formatted": "01/10/2023",
"journal_number": "J-12345",
"reversal_date": "2023-10-15",
"is_period_end_journal": true,
"fiscal_year": "2025",
"journal_template_name": "General Ledger Template",
"reference_number": "REF-67890",
"journal_number_prefix": "JE",
"journal_number_suffix": "001",
"currency": {
"currency_id": "460000000055555",
"currency_code": "USD",
"currency_symbol": "$"
},
"exchange_rate": 1.23,
"exchange_rate_formatted": "1.23",
"location": {
"location_id": "982000000567013",
"location_name": "Warehouse A",
"location_identification_number": "LOC-001"
},
"location_difference": {
"debit_diff": 120.5,
"debit_diff_formatted": "120.50",
"location_name": "Los Angeles Branch",
"credit_diff": 120.5,
"credit_diff_formatted": "120.50"
},
"status": "draft",
"status_formatted": "Draft",
"notes": "Important transaction",
"journal_type": "accrual",
"journal_type_formatted": "Accrual",
"journal_transaction_type": "sales_journal",
"vat_treatment": "Domestic",
"tax_treatment": "Standard Rated",
"product_type": "service",
"include_in_vat_return": true,
"is_bas_adjustment": false,
"entity_type": "item",
"entity_type_formatted": "Item",
"available_receivables_credits": 500,
"available_receivables_credits_formatted": "500.00",
"available_payables_credits": 300,
"available_payables_credits_formatted": "300.00",
"price_precision": 2,
"total": "1000.00",
"total_formatted": "$1,000.00",
"bcy_total": "1000.00",
"bcy_total_formatted": "$1,000.00",
"sub_total": 1400.5,
"sub_total_formatted": "1,400.50",
"acquisition_vat_total": 250,
"acquisition_vat_total_formatted": "250.00",
"acquisition_vat": {
"tax_id": "460000000044444",
"tax_name": "VAT 20%",
"tax_amount": 200,
"tax_amount_formatted": "200.00",
"tax_percentage": 20
},
"reverse_charge_vat_total": 300,
"reverse_charge_vat_total_formatted": "300.00",
"reverse_charge_vat": {
"tax_id": "460000000044445",
"tax_name": "Reverse VAT 10%",
"tax_amount": 300,
"tax_amount_formatted": "300.00",
"tax_percentage": 10
},
"taxes": [
{
"tax_name": "VAT 20%",
"tax_amount": 100,
"tax_amount_formatted": "100.00",
"debit_or_credit": "debit",
"tax_account": "Tax Payable"
}
],
"comments": [
{
"comment_id": "460000000022232",
"commented_by": {
"user_id": "460000000022222",
"user_name": "John Doe"
},
"comment_type": "internal",
"date": "2025-03-30",
"date_formatted": "30/03/2025",
"description": "Reviewed and approved",
"operation_type": "added",
"transaction_type": "journal"
}
],
"project": {
"project_id": "460000000045678",
"project_name": "Migration Project"
},
"statement_transactions": [
{
"statement_transaction_id": "460000000044467",
"date": "2025-03-15",
"date_formatted": "15/03/2025",
"amount": 500,
"amount_formatted": "500.00",
"payee": "ABC Supplies",
"description": "Office Supplies Purchase",
"reference_number": "REF-999",
"status": "matched",
"status_formatted": "Matched",
"account_id": "460000000044444"
}
],
"reverse_charge_taxes": [
{
"id": "460000000044444",
"text": "Reverse VAT 10%",
"percentage": 10,
"type": "VAT"
}
],
"invoices_credited": [
{
"journal_invoice_id": "982000000567109",
"is_opening_balance": false,
"invoice_id": "982000000567110",
"date": "2025-03-10",
"date_formatted": "10/03/2025",
"invoice_number": "INV-1001",
"credited_amount": "200.00",
"credited_amount_formatted": "200.00 USD"
}
],
"bills_credited": [
{
"journal_bill_id": "982000000567111",
"bill_id": "982000000567112",
"is_opening_balance": false,
"date": "2025-03-08",
"date_formatted": "08/03/2025",
"bill_number": "BILL-1002",
"credited_amount": "150.00",
"credited_amount_formatted": "150.00 USD"
}
],
"is_accrual_journal": true,
"department_id": "982000000567113",
"submitter_details": {
"user": {
"user_email": "johndoe@example.com",
"user_id": "982000000567114",
"user_name": "John Doe",
"user_photo_url": "https://example.com/photo.jpg",
"user_name_email": "John Doe (johndoe@example.com)"
},
"submitted_date": "2025-03-29",
"submitted_date_formatted": "29/03/2025",
"approver_user_id": "982000000567115"
},
"approvers_list": [
{
"order": 1,
"user": {
"user_email": "johndoe@example.com",
"user_id": "982000000567116",
"user_name": "John Doe",
"user_photo_url": "https://example.com/photo.jpg",
"is_next_approver": true,
"user_status": "active",
"user_status_formatted": "Active",
"available_apps": [
[
"Books",
"CRM"
]
]
},
"has_approved": false,
"approval_status": "pending",
"approval_status_formatted": "Pending",
"submitted_date": "2025-03-29",
"submitted_date_formatted": "29/03/2025",
"approved_date": "2025-03-30",
"approved_date_formatted": "30/03/2025",
"is_final_approver": true
}
],
"html_string": "string",
"_links": {
"self": "/journals/982000000567001"
},
"created_time": "2023-10-01T12:00:00Z",
"created_time_formatted": "01-03-2025 10:00 AM",
"last_modified_time": "2023-10-01T12:30:00Z",
"last_modified_time_formatted": "31-03-2025 03:45 PM",
"line_items": [
{
"line_item_id": "982000000567401",
"account": {
"account_id": "982000000567402",
"account_name": "Accounts Receivable",
"account_type": "asset"
},
"contact": {
"contact_id": "982000000567403",
"contact_name": "Jane Smith"
},
"item_order": 1,
"description": "Consulting services provided",
"debit_or_credit": "debit",
"tax_exemption": {
"tax_exemption_id": "982000000567404",
"tax_exemption_type": "Nonprofit",
"tax_exemption_code": "TXE-001"
},
"tax_authority": {
"tax_authority_id": "982000000567405",
"tax_authority_name": "IRS"
},
"tax": {
"tax_id": "982000000567406",
"tax_name": "VAT",
"tax_name_formatted": "Value Added Tax",
"tax_percentage": "18.00",
"tax_type": "tds",
"tax_type_formatted": "TDS",
"tax_status": "active",
"tax_start_date": "2025-01-01",
"tax_end_date": "2025-12-31"
},
"tax_groups_details": [
{
"id": "982000000567407",
"name": "GST Group",
"type": "group",
"type_formatted": "Group",
"percentage": "12.00",
"deleted": false,
"tax_specific_type": "CGST",
"start_date": "2025-01-01",
"end_date": "2025-12-31",
"is_non_advol_tax": false
}
],
"taxes": [
{
"tax_id": "982000000567408",
"tax_name": "Sales Tax",
"tax_amount": 25,
"tax_amount_formatted": "$25.00"
}
],
"amount": "500.00",
"amount_formatted": "$500.00",
"bcy_amount": "420.00",
"bcy_amount_formatted": "$420.00",
"acquisition_vat": {
"tax_id": "982000000567408",
"tax_name": "Import VAT",
"tax_amount": "25.00",
"tax_amount_formatted": "25.00 USD",
"tax_percentage": "5.00"
},
"reverse_charge_vat": {
"tax_id": "982000000567409",
"tax_name": "Reverse VAT",
"tax_amount": "50.00",
"tax_amount_formatted": "50.00 USD",
"tax_percentage": "10.00"
},
"acquisition_tax": {
"tax_id": "982000000567410",
"tax_name": "Import Duty",
"tax_amount": "10.00",
"tax_amount_formatted": "10.00 USD",
"tax_percentage": "2.00"
},
"reverse_charge_tax": {
"tax_id": "982000000567411",
"tax_name": "RC GST",
"tax_name_formatted": "Reverse Charge GST",
"tax_amount": "40.00",
"tax_amount_formatted": "40.00 USD",
"tax_percentage": "8.00",
"tax_type": "percentage",
"tax_status": "active"
},
"reverse_charge_line_item_taxes": [
{
"id": "982000000567412"
}
],
"project": {
"project_id": "982000000567412",
"project_name": "Project Alpha"
},
"location": {
"location_id": "982000000567414",
"location_name": "NYC"
},
"tags": [
{
"is_tag_mandatory": true,
"tag_id": "982000000567415",
"tag_name": "Marketing",
"tag_option": {
"tag_option_id": "982000000567416",
"tag_option_name": "Campaign 2025"
}
}
],
"taxable_type": "goods",
"department_id": "982000000567417"
}
],
"created_by": {
"user_id": "982000000567018",
"user_name": "John Doe"
},
"last_modified_by": {
"user_id": "982000000567019",
"user_name": "Jane Smith"
},
"documents": [
{
"document_id": "460000000038034",
"document_name": "proposal.pdf",
"document_size": "1024000",
"document_size_formatted": "1 MB",
"document_type": "pdf",
"source": "desktop",
"source_formatted": "Desktop",
"uploaded_by": {
"user_id": "982000000567025",
"user_name": "John Doe"
},
"uploaded_on": "2023-04-01",
"uploaded_on_formatted": "01-04-2023",
"alter_text": "Project Proposal",
"attachment_order": "1",
"can_send_in_mail": "true",
"can_show_in_portal": "true",
"is_custom_field_document": "false",
"comment": {
"comment_id": "460000000038035"
},
"is_comment": "false"
}
]
}
}
Delete a journal
AI Tools
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Delete a journal.
OAuth Scope : ZohoBooks.accountants.DELETE
Path Parameters
Query Parameters
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.com/books/v4/journals/982000000567001?organization-id=10234695"
type: DELETE
headers: headers_data
connection: <connection_name>
];
info response;
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://www.zohoapis.com/books/v4/journals/982000000567001?organization-id=10234695")
.delete(null)
.addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f")
.build();
Response response = client.newCall(request).execute();
const options = {
method: 'DELETE',
headers: {
Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
}
};
fetch('https://www.zohoapis.com/books/v4/journals/982000000567001?organization-id=10234695', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
import http.client
conn = http.client.HTTPSConnection("www.zohoapis.com")
headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }
conn.request("DELETE", "/books/v4/journals/982000000567001?organization-id=10234695", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const http = require("https");
const options = {
"method": "DELETE",
"hostname": "www.zohoapis.com",
"port": null,
"path": "/books/v4/journals/982000000567001?organization-id=10234695",
"headers": {
"Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
curl --request DELETE \
--url 'https://www.zohoapis.com/books/v4/journals/982000000567001?organization-id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "The selected journal entry has been deleted."
}
Get journal credits list
AI Tools
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Get the credit entries of a journal.
OAuth Scope : ZohoBooks.accountants.READ
Path Parameters
Query Parameters
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.com/books/v4/journals/982000000567001/credits?organization-id=10234695"
type: GET
headers: headers_data
connection: <connection_name>
];
info response;
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://www.zohoapis.com/books/v4/journals/982000000567001/credits?organization-id=10234695")
.get()
.addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f")
.build();
Response response = client.newCall(request).execute();
const options = {
method: 'GET',
headers: {
Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
}
};
fetch('https://www.zohoapis.com/books/v4/journals/982000000567001/credits?organization-id=10234695', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
import http.client
conn = http.client.HTTPSConnection("www.zohoapis.com")
headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }
conn.request("GET", "/books/v4/journals/982000000567001/credits?organization-id=10234695", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const http = require("https");
const options = {
"method": "GET",
"hostname": "www.zohoapis.com",
"port": null,
"path": "/books/v4/journals/982000000567001/credits?organization-id=10234695",
"headers": {
"Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
curl --request GET \
--url 'https://www.zohoapis.com/books/v4/journals/982000000567001/credits?organization-id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "success",
"available_journal_credits": [
{
"journal_line_item_id": "982000000789021",
"account": {
"account_id": "982000000789010",
"account_name": "Sales",
"account_type": "string"
},
"contact": {
"contact_id": "982000000789011",
"contact_name": "John Doe"
},
"item_order": 1,
"description": "Credit note applied against Invoice #INV-009",
"total_credits": "200.00",
"total_credits_formatted": "$200.00",
"bcy_total_credits": "200.00",
"bcy_total_credits_formatted": "$200.00",
"available_credits": "150.00",
"available_credits_formatted": "$150.00",
"bcy_available_credits": "150.00",
"bcy_available_credits_formatted": "$150.00",
"is_receivable_credit": true,
"location": {
"location_id": "982000000567013",
"location_name": "Warehouse A",
"location_identification_number": "LOC-001"
}
},
{...},
{...}
]
}
Get journal templates list
AI Tools
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Get the list of templates for journals.
OAuth Scope : ZohoBooks.accountants.READ
Query Parameters
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.com/books/v4/journals/templates?organization-id=10234695"
type: GET
headers: headers_data
connection: <connection_name>
];
info response;
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://www.zohoapis.com/books/v4/journals/templates?organization-id=10234695")
.get()
.addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f")
.build();
Response response = client.newCall(request).execute();
const options = {
method: 'GET',
headers: {
Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
}
};
fetch('https://www.zohoapis.com/books/v4/journals/templates?organization-id=10234695', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
import http.client
conn = http.client.HTTPSConnection("www.zohoapis.com")
headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }
conn.request("GET", "/books/v4/journals/templates?organization-id=10234695", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const http = require("https");
const options = {
"method": "GET",
"hostname": "www.zohoapis.com",
"port": null,
"path": "/books/v4/journals/templates?organization-id=10234695",
"headers": {
"Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
curl --request GET \
--url 'https://www.zohoapis.com/books/v4/journals/templates?organization-id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "success",
"journal_templates": [
{
"journal_template_id": "982000000789020",
"journal_template_name": "General Ledger Template",
"amount": "200.00",
"amount_formatted": "$200.00",
"notes": "Important transaction",
"location": {
"location_id": "982000000567013",
"location_name": "Warehouse A",
"location_identification_number": "LOC-001"
}
},
{...},
{...}
]
}
Delete a journal template
AI Tools
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Delete a journal template.
OAuth Scope : ZohoBooks.accountants.DELETE
Path Parameters
Query Parameters
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.com/books/v4/journals/templates/987000000654321?organization-id=10234695"
type: DELETE
headers: headers_data
connection: <connection_name>
];
info response;
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://www.zohoapis.com/books/v4/journals/templates/987000000654321?organization-id=10234695")
.delete(null)
.addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f")
.build();
Response response = client.newCall(request).execute();
const options = {
method: 'DELETE',
headers: {
Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
}
};
fetch('https://www.zohoapis.com/books/v4/journals/templates/987000000654321?organization-id=10234695', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
import http.client
conn = http.client.HTTPSConnection("www.zohoapis.com")
headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }
conn.request("DELETE", "/books/v4/journals/templates/987000000654321?organization-id=10234695", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const http = require("https");
const options = {
"method": "DELETE",
"hostname": "www.zohoapis.com",
"port": null,
"path": "/books/v4/journals/templates/987000000654321?organization-id=10234695",
"headers": {
"Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
curl --request DELETE \
--url 'https://www.zohoapis.com/books/v4/journals/templates/987000000654321?organization-id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "The selected journal entry has been deleted."
}
Delete a journal comment
AI Tools
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Delete a comment of a journal.
OAuth Scope : ZohoBooks.accountants.DELETE
Path Parameters
Query Parameters
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.com/books/v4/journals/982000000567001/comments/987000000654321?organization-id=10234695"
type: DELETE
headers: headers_data
connection: <connection_name>
];
info response;
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://www.zohoapis.com/books/v4/journals/982000000567001/comments/987000000654321?organization-id=10234695")
.delete(null)
.addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f")
.build();
Response response = client.newCall(request).execute();
const options = {
method: 'DELETE',
headers: {
Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
}
};
fetch('https://www.zohoapis.com/books/v4/journals/982000000567001/comments/987000000654321?organization-id=10234695', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
import http.client
conn = http.client.HTTPSConnection("www.zohoapis.com")
headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }
conn.request("DELETE", "/books/v4/journals/982000000567001/comments/987000000654321?organization-id=10234695", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const http = require("https");
const options = {
"method": "DELETE",
"hostname": "www.zohoapis.com",
"port": null,
"path": "/books/v4/journals/982000000567001/comments/987000000654321?organization-id=10234695",
"headers": {
"Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
curl --request DELETE \
--url 'https://www.zohoapis.com/books/v4/journals/982000000567001/comments/987000000654321?organization-id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
Delete journal credit receivables
AI Tools
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Delete receivables of a credit entry of a journal.
OAuth Scope : ZohoBooks.accountants.DELETE
Path Parameters
Query Parameters
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.com/books/v4/journals/982000000567001/credits/987000000654321/receivables?organization-id=10234695"
type: DELETE
headers: headers_data
connection: <connection_name>
];
info response;
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://www.zohoapis.com/books/v4/journals/982000000567001/credits/987000000654321/receivables?organization-id=10234695")
.delete(null)
.addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f")
.build();
Response response = client.newCall(request).execute();
const options = {
method: 'DELETE',
headers: {
Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
}
};
fetch('https://www.zohoapis.com/books/v4/journals/982000000567001/credits/987000000654321/receivables?organization-id=10234695', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
import http.client
conn = http.client.HTTPSConnection("www.zohoapis.com")
headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }
conn.request("DELETE", "/books/v4/journals/982000000567001/credits/987000000654321/receivables?organization-id=10234695", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const http = require("https");
const options = {
"method": "DELETE",
"hostname": "www.zohoapis.com",
"port": null,
"path": "/books/v4/journals/982000000567001/credits/987000000654321/receivables?organization-id=10234695",
"headers": {
"Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
curl --request DELETE \
--url 'https://www.zohoapis.com/books/v4/journals/982000000567001/credits/987000000654321/receivables?organization-id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "The selected journal credits entries have been deleted."
}
Delete journal credit payables
AI Tools
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Delete payables of a credit entry of a journal.
OAuth Scope : ZohoBooks.accountants.DELETE
Path Parameters
Query Parameters
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.com/books/v4/journals/982000000567001/credits/987000000654321/payables?organization-id=10234695"
type: DELETE
headers: headers_data
connection: <connection_name>
];
info response;
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://www.zohoapis.com/books/v4/journals/982000000567001/credits/987000000654321/payables?organization-id=10234695")
.delete(null)
.addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f")
.build();
Response response = client.newCall(request).execute();
const options = {
method: 'DELETE',
headers: {
Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
}
};
fetch('https://www.zohoapis.com/books/v4/journals/982000000567001/credits/987000000654321/payables?organization-id=10234695', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
import http.client
conn = http.client.HTTPSConnection("www.zohoapis.com")
headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }
conn.request("DELETE", "/books/v4/journals/982000000567001/credits/987000000654321/payables?organization-id=10234695", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const http = require("https");
const options = {
"method": "DELETE",
"hostname": "www.zohoapis.com",
"port": null,
"path": "/books/v4/journals/982000000567001/credits/987000000654321/payables?organization-id=10234695",
"headers": {
"Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
curl --request DELETE \
--url 'https://www.zohoapis.com/books/v4/journals/982000000567001/credits/987000000654321/payables?organization-id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "The selected journal credits entries have been deleted."
}
Delete journal document
AI Tools
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Delete a document attached to a journal.
OAuth Scope : ZohoBooks.accountants.DELETE
Path Parameters
Query Parameters
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.com/books/v4/journals/982000000567001/documents/987000000654321?organization-id=10234695"
type: DELETE
headers: headers_data
connection: <connection_name>
];
info response;
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://www.zohoapis.com/books/v4/journals/982000000567001/documents/987000000654321?organization-id=10234695")
.delete(null)
.addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f")
.build();
Response response = client.newCall(request).execute();
const options = {
method: 'DELETE',
headers: {
Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
}
};
fetch('https://www.zohoapis.com/books/v4/journals/982000000567001/documents/987000000654321?organization-id=10234695', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
import http.client
conn = http.client.HTTPSConnection("www.zohoapis.com")
headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" }
conn.request("DELETE", "/books/v4/journals/982000000567001/documents/987000000654321?organization-id=10234695", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const http = require("https");
const options = {
"method": "DELETE",
"hostname": "www.zohoapis.com",
"port": null,
"path": "/books/v4/journals/982000000567001/documents/987000000654321?organization-id=10234695",
"headers": {
"Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
curl --request DELETE \
--url 'https://www.zohoapis.com/books/v4/journals/982000000567001/documents/987000000654321?organization-id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "The attachment has been removed from the journal."
}
{ "code": 0, "message": "The selected journal comment entries have been deleted." }