InvoiceProductCommission
Structure
Field | Type | Required | Description |
---|---|---|---|
id | int | true | Unique identifier for the InvoiceProductCommission. |
company | Company | false | Company related to this InvoiceProductCommission. |
discount | Discount | true | Discount related to this InvoiceProductCommission. |
name | String | true | Name of the InvoiceProductCommission. |
amount | BigDecimal | true | Value of the InvoiceProductCommission(price). |
percentageOfCommission | BigDecimal | false | Percent to discount from original price |
amountOfCommission | BigDecimal | false | Fixed amount to discount from original price |
JSON representation
{ "id": 1, "company": { "id": 1, "code":"VTE", "name": "Viajes Tesipro" } "discount": { "id": 1, "name": "Tesipro Commission" }, "name": "Tesipro Commission", "amount": 1, "percentageOfCommission": 20, "amountOfCommission": null }