Adds a one-time charge to a pending invoice. A one-time charge is a charge that is added ad hoc to the invoice and does not represent a predefined item price. It appears in the invoice as a line_item of entity_type adhoc.
Sample Request
URL Format
Input Parameters
Indicates the type of sale carried out. This is applicable only if you use Chargebee's AvaTax for Communications integration.
Transaction is a sale to another company that will resell your product or service to another consumer
Transaction is a sale to an end user
Transaction is for an item that is consumed directly
Transaction is for an item that is subject to vendor use tax
Indicates the type of product to be taxed. Values for this field can be taken from Avalara. This is applicable only if you use Chargebee's AvaTax for Communications integration.
Indicates the type of service for the product to be taxed. Values for this field can be taken from Avalara. This is applicable only if you use Chargebee's AvaTax for Communications integration.
This represents the Avalara tax code to which the one-time charge is mapped. Applicable only if you use Chargebee's AvaTax for Sales integration .
The HSN code to which the one-time charge is mapped for calculating the customer's tax in India. Applicable when both the conditions are true:
- India has been enabled as a Tax Region. (An error is returned when this condition is not true.)
- The AvaTax for Sales integration has been enabled in Chargebee. .
This represents the TaxJar product code to which the one-time charge is mapped. Applicable only if you use Chargebee's TaxJar integration .
An internal comment to be added for this operation, to the invoice. This comment is displayed on the Chargebee UI. It is not displayed on any customer-facing Hosted Page or any document such as the Invoice PDF .
Identifier of the subscription for which this charge needs to be created. Applicable for consolidated invoice.