InvoiceProduct
Structure
Field | Type | Required | Description |
---|---|---|---|
id | Integer | true | Unique identifier for the InvoiceProduct. |
productionDate | LocalDate | true | Date when the product is introduced. |
postingDate | LocalDate | false | Date when the product is paid. |
product | Product | true | Product related to the Invoice |
quantity | Integer | true | Quantity of elements of this Product in the Invoice |
amountAfterTax | BigDecimal | true | |
amountBeforeTax | BigDecimal | true | |
amountDiscount | BigDecimal | true | |
amountTax | BigDecimal | true | |
amountCommission | BigDecimal | true | |
currency | Currency | false | |
channel | Channel | false | |
source | Source | false | |
segment | Segment | false | |
invoiceProductTaxList | Array of InvoiceProductTax elements | false | |
invoiceProductCommissionList | Array of InvoiceProductCommission elements | false | |
invoiceProductDiscountList | Array of InvoiceProductDiscount elements | false | |
paymentReceipt | PaymentReceipt | false |
JSON representation
{ "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": [], "paymentReceipt": null }