Introducing the Better Auth Chargebee plugin: Use it to handle subscriptions, billing, and auth seamlessly.
Chargebeechargebee API

Send an einvoice for invoices

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/invoices/{invoice-id}/send_einvoice

Input Parameters

response_document_type
optional, enumerated string

null

Enum Values
application_response
response_status
optional, enumerated string

null

Enum Values
accepted
rejected
message_acknowledgement
in_process
under_query
conditionally_accepted
paid
response_message
optional, string, max chars=2000

Returns

Invoice object
Resource object representing invoice