Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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
}
  • No labels