Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Structure

Excerpt


FieldTypeRequiredDescription
idIntegertrueUnique identifier for the InvoiceProduct.
productionDateLocalDatetrueDate when the product is introduced.
postingDateLocalDatefalseDate when the product is paid.
productProducttrueProduct related to the Invoice
quantityIntegertrueQuantity of elements of this Product in the Invoice
amountAfterTaxBigDecimaltrue
amountBeforeTaxBigDecimaltrue
amountDiscountBigDecimaltrue
amountTaxBigDecimaltrue
amountCommissionBigDecimaltrue
currencyCurrencyfalse
channelChannelfalse
sourceSourcefalse
segmentSegmentfalse
invoiceProductTaxListArray of InvoiceProductTax elementsfalse
invoiceProductCommissionList

Array of InvoiceProductCommission

elements

false
invoiceProductDiscountList

Array of InvoiceProductDiscount elements

false



JSON representation

Code Block
languagepowershell
themeDJango
{
	"id": 1,
	"productionDate": "2019-01-30",
	"postingDate": "2019-01-30",
	"product": {
		"id": 431,
		"code":"C",
		"name": "Cash",
        "productType": {
		    "code": "PAY",
		    "name": "Payment"
	     }
	},
	"quantity": 1,
	"amountAfterTax": 142,
	"amountBeforeTax": 142,
	"amountDiscount": 0,
	"amountTax": 0,
	"amountCommission": 0,
	"currency": {
		"code": "EUR",
		"name": "Euro"
	},
	"channel": null,
	"source": null,
	"segment": null,
	"invoiceProductTaxList": [],
	"invoiceProductCommissionList": [],
	"invoiceProductDiscountList": []
}