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

« Previous Version 2 Next »

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.
amountBeforeTaxBigDecimaltrueCost of the product in the related currency before applying taxes.
currencyCurrencytrueRelated currency to this ProformaProduct.
amountTaxBigDecimaltrue
amountDiscountBigDecimaltrue
amountCommissionBigDecimaltrue
rateRatetrueRelated rate to this ProformaProduct.
offerOffertrueRelated offer to this ProformaProduct.
offerAmountDiscountBigDecimaltrue
offerPercentDiscountBigDecimaltrue
promotionPromotiontrueRelated promotion to this ProformaProduct.
promotionAmountDiscountBigDecimaltrue
promotionPercentDiscountBigDecimaltrue
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,
		"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,
			"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
}
  • No labels