Docs

Log in to read the version of docs relevant to your site, or use the dropdown versions

Invoice Discounts

The available fields in the 'Invoice Discounts' datasource and their corresponding descriptions are listed below.

FieldDescription
DescriptionDescription for this deduction.
Discount AmountThe amount deducted. The format of this value depends on the kind of currency.
Currency CodeThe currency code (ISO 4217 format) for the invoice
Discount TypeThe type of discount that is applied to the line item. Relevant only when discounts[entity_type] is one of item_level_discount , item_level_coupon, document_level_discount, or document_level_coupon
Invoice IDThe invoice number. Acts as an identifier for an invoice and is typically generated sequentially.
Coupon IDActs as an identifier for a coupon that is associated with the invoice .
Customer IDActs as an identifier for the customer associated with the invoice.
Invoice DateThe document date is displayed on the invoice PDF. By default, it has the same value as the effective date of the action that created the invoice (subscription creation, update, or invoice creation). This date can be backdated (set to a value in the past) while performing the actions. Backdating an invoice is done for reasons such as booking revenue for a previous date or when the subscription or non-recurring charge is effective as of a past date. However, if the invoice is created as pending, and if the site is configured to set invoice dates to the date of closing, then upon invoice closure, this date is changed to the invoice closing date.
Business Entity IDRepresents a unique business unit or brand under the organization

Was this article helpful?