Self-Billed Invoices
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
A self-billed invoice is a document issued by the buyer on behalf of the supplier, used when the supplier is unable to raise an invoice themselves.
Create a Self-Billed Invoice
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
Create a new self-billed invoice. Set entity_type to self_billed_invoice to identify it as a self-billed invoice.
OAuth Scope : ZohoBooks.bills.CREATE
Arguments
true to save the self-billed invoice as a draft.true to calculate tax at the line-item level.true if the line-item rates are inclusive of tax.entity_level, item_level.true to apply the discount before tax calculation.cash, cheque, bank_transfer, sepa_credit_transfer, debit_transfer, card, not_specified, bankers_draft, credit_transfer, direct_debit, sepa_direct_debit, bank_cheque, credit_card, debit_card, online_payment_service.self_billed_invoice. Allowed values: bill, self_billed_invoice.vat_registered, vat_not_registered, gcc_vat_not_registered, gcc_vat_registered, and non_gcc. For UAE Edition: also
dz_vat_registered, dz_vat_not_registered, out_of_scope, gcc_non_vat, fz_vat_registered, and fz_vat_not_registered.TL, EID, PAS, CD. Maximum length: 200 characters.true if the line item is billable to a customer.goods or service.Query Parameters
parameters_data='{"field1":"value1","field2":"value2"}';
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.com/books/v3/bills?organization_id=10234695"
type: POST
headers: headers_data
content-type: application/json
parameters: parameters_data
connection: <connection_name>
];
info response;
OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}");
Request request = new Request.Builder()
.url("https://www.zohoapis.com/books/v3/bills?organization_id=10234695")
.post(body)
.addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f")
.addHeader("content-type", "application/json")
.build();
Response response = client.newCall(request).execute();
const options = {
method: 'POST',
headers: {
Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f',
'content-type': 'application/json'
},
body: '{"field1":"value1","field2":"value2"}'
};
fetch('https://www.zohoapis.com/books/v3/bills?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")
payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}"
headers = {
'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f",
'content-type': "application/json"
}
conn.request("POST", "/books/v3/bills?organization_id=10234695", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const http = require("https");
const options = {
"method": "POST",
"hostname": "www.zohoapis.com",
"port": null,
"path": "/books/v3/bills?organization_id=10234695",
"headers": {
"Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f",
"content-type": "application/json"
}
};
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.write(JSON.stringify({field1: 'value1', field2: 'value2'}));
req.end();
curl --request POST \
--url 'https://www.zohoapis.com/books/v3/bills?organization_id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \
--header 'content-type: application/json' \
--data '{"field1":"value1","field2":"value2"}'
{
"bill_number": "B-001982",
"vendor_id": "86067000000227074",
"reference_number": "REF-001",
"date": "2026-09-23",
"due_date": "2026-09-23",
"terms": "Net 30",
"adjustment": 0,
"adjustment_description": "Adjustment",
"is_draft": false,
"pricebook_id": "",
"is_item_level_tax_calc": false,
"is_inclusive_tax": false,
"discount": 0,
"discount_code": "special_agreement",
"discount_account_id": "86067000000072001",
"discount_type": "entity_level",
"is_discount_before_tax": true,
"payment_terms": 0,
"payment_terms_label": "Due on Receipt",
"payment_mode": "cash",
"bank_account_id": "86067000000034003",
"account_id": "86067000000000373",
"template_id": "86067000000093112",
"entity_type": "self_billed_invoice",
"tax_treatment": "vat_registered",
"place_of_supply": "DU",
"tax_reg_no": "100200441040003",
"registration_details": {
"company_registration_no": "1002004410",
"einvoice_identifier_label": "EID",
"einvoice_identifier_value": "234324",
"additionalfield1": "Department of Economy and Tourism",
"legal_name": "Zylker Trading LLC",
"electronic_address_value": "0088:1234567890123"
},
"permit_number": "",
"billing_address_id": "86067000000227075",
"recurring_bill_id": "",
"tags": [
{
"tag_id": "86067000000001400",
"tag_option_id": "86067000000001401"
}
],
"custom_fields": [
{
"custom_field_id": "86067000000072002",
"value": "Warehouse A"
}
],
"documents": [
{
"document_id": "86067000000080001",
"file_name": "vendor-invoice.pdf"
}
],
"line_items": [
{
"item_id": "86067000000120060",
"name": "Airpod stand",
"account_id": "86067000000034003",
"description": "Airpod stand",
"rate": 400,
"quantity": 1,
"discount": 0,
"tax_id": "86067000000093150",
"reverse_charge_tax_id": "",
"unit": "",
"item_order": 1,
"is_billable": false,
"customer_id": "",
"project_id": "",
"hsn_or_sac": "1034",
"unitkey_code": "H87",
"product_type": "goods",
"tax_treatment_code": "",
"tags": [
{
"tag_id": "86067000000001400",
"tag_option_id": "86067000000001401"
}
],
"item_custom_fields": [
{
"custom_field_id": "86067000000072003",
"value": "2"
}
]
}
]
}
{
"code": 0,
"message": "The self-billed invoice has been created.",
"bill": {
"bill_id": "982000000567301",
"bill_number": "B-001982",
"vendor_id": "86067000000227074",
"vendor_name": "Zylker Trading LLC",
"date": "2026-09-23",
"due_date": "2026-09-23",
"status": "draft",
"entity_type": "self_billed_invoice",
"total": 420,
"balance": 420
}
}
List Self-Billed Invoices
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
Retrieve a paginated list of self-billed invoices. Use the entity_type=self_billed_invoice query parameter to filter self-billed invoices only.
OAuth Scope : ZohoBooks.bills.READ
Query Parameters
self_billed_invoice to list only self-billed invoices.draft, open, paid, overdue, void.vendor_name, bill_number, date, due_date, total, balance.A (ascending), D (descending).headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.com/books/v3/bills?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/v3/bills?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/v3/bills?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/v3/bills?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/v3/bills?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/v3/bills?organization_id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "success",
"bills": [
{
"bill_id": "982000000567301",
"bill_number": "B-001982",
"vendor_name": "Zylker Trading LLC",
"date": "2026-09-23",
"due_date": "2026-09-23",
"status": "draft",
"entity_type": "self_billed_invoice",
"total": 420,
"balance": 420
},
{...},
{...}
],
"page_context": {
"page": 1,
"per_page": 25,
"has_more_page": false,
"report_name": "Bills",
"applied_filter": "Status.All",
"sort_column": "date",
"sort_order": "D"
}
}
Update a Self-Billed Invoice
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
Update the details of an existing self-billed invoice.
OAuth Scope : ZohoBooks.bills.UPDATE
Arguments
true to save the self-billed invoice as a draft.true to calculate tax at the line-item level.true if the line-item rates are inclusive of tax.entity_level, item_level.true to apply the discount before tax calculation.cash, cheque, bank_transfer, sepa_credit_transfer, debit_transfer, card, not_specified, bankers_draft, credit_transfer, direct_debit, sepa_direct_debit, bank_cheque, credit_card, debit_card, online_payment_service.self_billed_invoice. Allowed values: bill, self_billed_invoice.vat_registered, vat_not_registered, gcc_vat_not_registered, gcc_vat_registered, and non_gcc. For UAE Edition: also
dz_vat_registered, dz_vat_not_registered, out_of_scope, gcc_non_vat, fz_vat_registered, and fz_vat_not_registered.TL, EID, PAS, CD. Maximum length: 200 characters.true if the line item is billable to a customer.goods or service.Path Parameters
Query Parameters
parameters_data='{"field1":"value1","field2":"value2"}';
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.com/books/v3/bills/982000000567301?organization_id=10234695"
type: PUT
headers: headers_data
content-type: application/json
parameters: parameters_data
connection: <connection_name>
];
info response;
OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}");
Request request = new Request.Builder()
.url("https://www.zohoapis.com/books/v3/bills/982000000567301?organization_id=10234695")
.put(body)
.addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f")
.addHeader("content-type", "application/json")
.build();
Response response = client.newCall(request).execute();
const options = {
method: 'PUT',
headers: {
Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f',
'content-type': 'application/json'
},
body: '{"field1":"value1","field2":"value2"}'
};
fetch('https://www.zohoapis.com/books/v3/bills/982000000567301?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")
payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}"
headers = {
'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f",
'content-type': "application/json"
}
conn.request("PUT", "/books/v3/bills/982000000567301?organization_id=10234695", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const http = require("https");
const options = {
"method": "PUT",
"hostname": "www.zohoapis.com",
"port": null,
"path": "/books/v3/bills/982000000567301?organization_id=10234695",
"headers": {
"Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f",
"content-type": "application/json"
}
};
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.write(JSON.stringify({field1: 'value1', field2: 'value2'}));
req.end();
curl --request PUT \
--url 'https://www.zohoapis.com/books/v3/bills/982000000567301?organization_id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \
--header 'content-type: application/json' \
--data '{"field1":"value1","field2":"value2"}'
{
"bill_number": "B-001982",
"vendor_id": "86067000000227074",
"reference_number": "REF-001",
"date": "2026-09-23",
"due_date": "2026-09-23",
"terms": "Net 30",
"adjustment": 0,
"adjustment_description": "Adjustment",
"is_draft": false,
"pricebook_id": "",
"is_item_level_tax_calc": false,
"is_inclusive_tax": false,
"discount": 0,
"discount_code": "special_agreement",
"discount_account_id": "86067000000072001",
"discount_type": "entity_level",
"is_discount_before_tax": true,
"payment_terms": 0,
"payment_terms_label": "Due on Receipt",
"payment_mode": "cash",
"bank_account_id": "86067000000034003",
"account_id": "86067000000000373",
"template_id": "86067000000093112",
"entity_type": "self_billed_invoice",
"tax_treatment": "vat_registered",
"place_of_supply": "DU",
"tax_reg_no": "100200441040003",
"registration_details": {
"company_registration_no": "1002004410",
"einvoice_identifier_label": "EID",
"einvoice_identifier_value": "234324",
"additionalfield1": "Department of Economy and Tourism",
"legal_name": "Zylker Trading LLC",
"electronic_address_value": "0088:1234567890123"
},
"permit_number": "",
"billing_address_id": "86067000000227075",
"recurring_bill_id": "",
"tags": [
{
"tag_id": "86067000000001400",
"tag_option_id": "86067000000001401"
}
],
"custom_fields": [
{
"custom_field_id": "86067000000072002",
"value": "Warehouse A"
}
],
"documents": [
{
"document_id": "86067000000080001",
"file_name": "vendor-invoice.pdf"
}
],
"line_items": [
{
"item_id": "86067000000120060",
"name": "Airpod stand",
"account_id": "86067000000034003",
"description": "Airpod stand",
"rate": 400,
"quantity": 1,
"discount": 0,
"tax_id": "86067000000093150",
"reverse_charge_tax_id": "",
"unit": "",
"item_order": 1,
"is_billable": false,
"customer_id": "",
"project_id": "",
"hsn_or_sac": "1034",
"unitkey_code": "H87",
"product_type": "goods",
"tax_treatment_code": "",
"tags": [
{
"tag_id": "86067000000001400",
"tag_option_id": "86067000000001401"
}
],
"item_custom_fields": [
{
"custom_field_id": "86067000000072003",
"value": "2"
}
]
}
]
}
{
"code": 0,
"message": "The self-billed invoice has been updated.",
"bill": {
"bill_id": "982000000567301",
"bill_number": "B-001982",
"vendor_id": "86067000000227074",
"vendor_name": "Zylker Trading LLC",
"date": "2026-09-23",
"due_date": "2026-09-23",
"status": "draft",
"entity_type": "self_billed_invoice",
"total": 420,
"balance": 420
}
}
Get a Self-Billed Invoice
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
Fetch the details of a self-billed invoice.
OAuth Scope : ZohoBooks.bills.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/v3/bills/982000000567301?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/v3/bills/982000000567301?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/v3/bills/982000000567301?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/v3/bills/982000000567301?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/v3/bills/982000000567301?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/v3/bills/982000000567301?organization_id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "success",
"bill": {
"bill_id": "982000000567301",
"bill_number": "B-001982",
"vendor_id": "86067000000227074",
"vendor_name": "Zylker Trading LLC",
"date": "2026-09-23",
"due_date": "2026-09-23",
"status": "open",
"entity_type": "self_billed_invoice",
"total": 420,
"balance": 420,
"einvoice_status": "pushed",
"is_peppol_supported": true,
"source": "e-invoice"
}
}
Delete a Self-Billed Invoice
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 an existing self-billed invoice.
OAuth Scope : ZohoBooks.bills.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/v3/bills/982000000567301?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/v3/bills/982000000567301?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/v3/bills/982000000567301?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/v3/bills/982000000567301?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/v3/bills/982000000567301?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/v3/bills/982000000567301?organization_id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "The self-billed invoice has been deleted."
}
Push a self-billed invoice e-invoice
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
Push the e-invoice of a self-billed invoice.
Rate limit: 150 requests per minute. Exceeding this limit triggers a 30-minute lock-out.
OAuth Scope : ZohoBooks.bills.CREATE
Path Parameters
Query Parameters
headers_data = Map();
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://www.zohoapis.com/books/v3/selfbilledinvoices/982000000567301/einvoice/push?organization_id=10234695"
type: POST
headers: headers_data
connection: <connection_name>
];
info response;
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://www.zohoapis.com/books/v3/selfbilledinvoices/982000000567301/einvoice/push?organization_id=10234695")
.post(null)
.addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f")
.build();
Response response = client.newCall(request).execute();
const options = {
method: 'POST',
headers: {
Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
}
};
fetch('https://www.zohoapis.com/books/v3/selfbilledinvoices/982000000567301/einvoice/push?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("POST", "/books/v3/selfbilledinvoices/982000000567301/einvoice/push?organization_id=10234695", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const http = require("https");
const options = {
"method": "POST",
"hostname": "www.zohoapis.com",
"port": null,
"path": "/books/v3/selfbilledinvoices/982000000567301/einvoice/push?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 POST \
--url 'https://www.zohoapis.com/books/v3/selfbilledinvoices/982000000567301/einvoice/push?organization_id=10234695' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "The e-invoice has been pushed."
}