InvoiceProductTax

Structure

FieldTypeRequiredDescription
idinttrueUnique identifier for the InvoiceProductTax.
taxTaxtrueTax related to the InvoiceProductTax.
nameStringtrueName of the InvoiceProductTax.
amountBigDecimaltrueValue of the InvoiceProductTax (price).
percentageOfTaxBigDecimalfalsePercent to discount from original price
amountOfTaxBigDecimalfalseFixed 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
}