ProformaProduct

Structure

FieldTypeRequiredDescription
postingDateLocalDatetrueDate when the product is going to be posted.
quantityIntegertrueNumber of items it contains.
productProducttrueProduct related to this ProformaProduct.
nameStringtrueName of the product.
amountAfterTaxBigDecimaltrueCost of the product in the related currency after applying taxes.
amountBeforeTaxBigDecimalfalseCost of the product in the related currency before applying taxes.
currencyCurrencytrueRelated currency to this ProformaProduct.
amountTaxBigDecimalfalse
amountDiscountBigDecimalfalse
amountCommissionBigDecimalfalse
rateRatetrueRelated rate to this ProformaProduct.
offerOffertrueRelated offer to this ProformaProduct.
offerAmountDiscountBigDecimaltrue
offerPercentDiscountBigDecimaltrue
promotionPromotionfalseRelated promotion to this ProformaProduct.
promotionAmountDiscountBigDecimalfalse
promotionPercentDiscountBigDecimalfalse
channelChanneltrueRelated channel to this ProformaProduct.
sourceSourcetrueRelated source to this ProformaProduct.
segmentSegmenttrueRelated segment to this ProformaProduct.
remarkStringfalseAdded comments to the ProformaProduct.

proformaProductTaxList

List of ProformaProductTaxfalseDetail of the taxes applied to this ProformaProduct.

proformaProductCommissionList

List of ProformaProductCommissionfalseDetail of the commissions applied to this ProformaProduct.
proformaProductDiscountListList of ProformaProductDiscountfalseDetail of the discounts applied to this ProformaProduct.

JSON representation

{
	"productionDate": "2019-07-28",
	"postingDate": "2019-07-28",
	"quantity": 1,
	"product": {
		"id": 422,
		"code":"PK",
		"name": "Parking",
		"productType": {
			"id": 2,
			"code": "SER",
			"name": "Service"
		}
	},
	"name": "Parking",
	"amountAfterTax": 10,
	"amountBeforeTax": null,
	"currency": {
		"id": 1,
		"code": "EUR",
		"name": "Euro"
	},
	"amountTax": null,
	"amountDiscount": null,
	"amountCommission": null,
	"rate": null,
	"offer": null,
	"offerAmountDiscount": null,
	"offerPercentDiscount": null,
	"promotion": null,
	"promotionAmountDiscount": null,
	"promotionPercentDiscount": null,
	"propertyChannel": {
		"id": 62,
		"code": "WEB",
		"name": "Booking Engine"
	},
	"propertySource": {
		"id": 47,
		"code": "FAX",
		"name": "Fax"
	},
	"propertySegment": {
		"id": 47,
		"code": "CONG",
		"name": "Congress"
	},
	"remark": null,
	"proformaProductTaxList": [{
		"quantity": 1,
		"product": {
			"id": 797,
 			"code":"TAX21",
			"name": "Tax 21%",
			"productType": {
				"id": 8,
				"code": "TAX",
				"name": "Tax"
			}
		},
		"name": "Tax 21%",
		"price": 1.735537,
		"currency": {
			"id": 1,
			"code": "EUR",
			"name": "Euro"
		},
		"amount": null,
		"percentage": 21
	}],
	"proformaProductCommissionList": null,
	"proformaProductDiscountList": null
}