Introducing the Better Auth Chargebee plugin: Use it to handle subscriptions, billing, and auth seamlessly.Try now
ChargebeechargebeeAPI

Send an einvoice for credit notes

Idempotency Supported

This endpoint is used to send an e-invoice for invoice. To support cases like TDS and invoice edits, we need to stop auto e-invoice sending and be able to send e-invoices manually. This endpoint schedules e-invoices manually. This operation is not allowed when any of the following condition matches:

  • If e-invoicing is not enabled at the site and customer level.

  • If there is an e-invoice generated already for the invoice.

  • If the Use automatic e-invoicing option is selected.

  • If there are no generated e-invoices with the failed or skipped status.

  • If the invoice status is voided or pending.

Sample Request

Sample Result[JSON]

URL Format

POST https://[site].chargebee.com/api/v2/credit_notes/{credit-note-id}/send_einvoice

Returns

Credit note object
Resource object representing credit_note