InvoiceProductTax
Structure
Field | Type | Required | Description |
---|---|---|---|
id | int | true | Unique identifier for the InvoiceProductTax. |
tax | Tax | true | Tax related to the InvoiceProductTax. |
name | String | true | Name of the InvoiceProductTax. |
amount | BigDecimal | true | Value of the InvoiceProductTax (price). |
percentageOfTax | BigDecimal | false | Percent to discount from original price |
amountOfTax | BigDecimal | false | Fixed amount to discount from original price |
JSON representation
{ "id": 1, "tax": { "id": 1, "name": "Barcelona City Tax" }, "name": "Barcelona City Tax", "amount": 2, "percentageOfTax": null, "amountOfTax": 2 }