InvoiceProductCommission

Structure

FieldTypeRequiredDescription
idinttrueUnique identifier for the InvoiceProductCommission.
companyCompanyfalseCompany related to this InvoiceProductCommission.
discountDiscounttrueDiscount related to this InvoiceProductCommission.
nameStringtrueName of the InvoiceProductCommission.
amountBigDecimaltrueValue of the InvoiceProductCommission(price).
percentageOfCommissionBigDecimalfalsePercent to discount from original price
amountOfCommissionBigDecimalfalseFixed 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
}