Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.02 KB

invoice-discount.md

File metadata and controls

36 lines (28 loc) · 1.02 KB

Invoice Discount

Structure

InvoiceDiscount

Fields

Name Type Tags Description
Uid *string Optional -
Title *string Optional -
Description models.Optional[string] Optional -
Code *string Optional -
SourceType *models.InvoiceDiscountSourceType Optional -
SourceId *int Optional -
DiscountType *models.InvoiceDiscountType Optional -
Percentage *string Optional -
EligibleAmount *string Optional -
DiscountAmount *string Optional -
TransactionId *int Optional -
LineItemBreakouts []models.InvoiceDiscountBreakout Optional -

Example (as JSON)

{
  "uid": "uid0",
  "title": "title4",
  "description": "description0",
  "code": "code8",
  "source_type": "Coupon"
}