Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Structure

Excerpt


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

Code Block
languagepowershell
themeDJango
{
	"id": 1,
	"tax": {
		"id": 1,
		"name": "Barcelona City Tax"
	},
	"name": "Barcelona City Tax",
	"amount": 2,
	"percentageOfTax": null,
	"amountOfTax": 2
}