Idempotency Supported
Records tax_withheld by the customer against the invoice specified. This operation is allowed only when all of the following conditions are true:
- Tax Amount Withheld is enabled.
- The
invoicedoes not have alinked_taxes_withheldrecord associated with it already. invoice.amount_dueis greater than zero.invoice.statusis one of the following:payment_due,not_paid, orposted.
Sample Request
Sample Result[JSON]
URL Format
POST https://[site].chargebee.com/api/v2/invoices/{invoice-id}/record_tax_withheld
Input Parameters
Returns
Invoice object
Resource object representing invoice