/
Revenue

Revenue

Structure

FieldTypeRequiredDescription
dateLocalDatetrueDate of the revenue calculus
productProducttrueProduct that groups the values
quantityIntegertrue
adultsIntegertrue
juniorsIntegertrue
childrenIntegertrue
infantsIntegertrue
amountAfterTaxBigDecimaltrue
amountBeforeTaxBigDecimaltrue
amountDiscountBigDecimaltrue
amountTaxBigDecimaltrue
amountCommissionBigDecimaltrue
amountCommissionAppliedBigDecimaltrue

amountFoodBreakdownAfterTax

BigDecimal

amountFoodBreakdownBeforeTax

BigDecimal

amountBeverageBreakdownAfterTax

BigDecimal

amountBeverageBreakdownBeforeTax

BigDecimal

amountOtherBreakdownAfterTax

BigDecimal



amountOtherBreakdownBeforeTax

BigDecimal



amountNetAfterTaxBigDecimaltrue
amountNetBeforeTaxBigDecimaltrue
amountFoodBreakdownNetAfterTaxBigDecimal

amountFoodBreakdownNetBeforeTaxBigDecimal

amountBeverageBreakdownNetAfterTaxBigDecimal

amountBeverageBreakdownNetBeforeTaxBigDecimal

amountOtherBreakdownNetAfterTaxBigDecimal

amountOtherBreakdownNetBeforeTaxBigDecimal

amountInvoiceAfterTaxBigDecimal

amountInvoiceBeforeTaxBigDecimal

segment

Segment



source

Source



channel

Channel



rate

Rate



offer

Offer



promotion

Promotion



booker

Company



billTo

Company



central

Company



company

Company



countryCode

String



JSON representation

{
      "date": "2020-05-10",
      "product": {
        "id": 56,
        "code": "DEPRE",
        "name": "Deposit Receipt",
        "productType": {
          "id": 4,
          "code": "DEP",
          "name": "Deposit",
          "nameI18n": "Deposit"
        }
      },
      "quantity": 4,
      "adults": 4,
      "juniors": 0,
      "children": 0,
      "infants": 0,
      "amountAfterTax": 110.666667,
      "amountBeforeTax": 100.606060,
      "amountFoodBreakdownAfterTax": 55.333333,
      "amountFoodBreakdownBeforeTax": 50.303030,
      "amountBeverageBreakdownAfterTax": 55.333333,
      "amountBeverageBreakdownBeforeTax": 50.303030,
      "amountOtherBreakdownAfterTax": 0.000000,
      "amountOtherBreakdownBeforeTax": 0.000000,
      "amountNetAfterTax": 110.666667,
      "amountNetBeforeTax": 100.606060,
      "amountFoodBreakdownNetAfterTax": 55.333333,
      "amountFoodBreakdownNetBeforeTax": 50.303030,
      "amountBeverageBreakdownNetAfterTax": 55.333333,
      "amountBeverageBreakdownNetBeforeTax": 50.303030,
      "amountOtherBreakdownNetAfterTax": 0.000000,
      "amountOtherBreakdownNetBeforeTax": 0.000000,
      "amountDiscount": 0.000000,
      "amountTax": 0.000000,
      "amountCommission": 0.000000,
      "amountCommissionBeforeTax": null,
      "amountCommissionApplied": 0.000000,
      "amountCommissionAppliedBeforeTax": null,
      "amountCommissionFoodBreakdown": null,
      "amountCommissionFoodBreakdownBeforeTax": null,
      "amountCommissionFoodBreakdownApplied": null,
      "amountCommissionFoodBreakdownAppliedBeforeTax": null,
      "amountCommissionBeverageBreakdown": null,
      "amountCommissionBeverageBreakdownBeforeTax": null,
      "amountCommissionBeverageBreakdownApplied": null,
      "amountCommissionBeverageBreakdownAppliedBeforeTax": null,
      "amountCommissionOtherBreakdown": null,
      "amountCommissionOtherBreakdownBeforeTax": null,
      "amountCommissionOtherBreakdownApplied": null,
      "amountCommissionOtherBreakdownAppliedBeforeTax": null,
      "amountInvoiceAfterTax": 110.666667,
      "amountInvoiceBeforeTax": 100.606060,
      "segment": null,
      "source": null,
      "channel": null,
      "rate": null,
      "offer": null,
      "promotion": null,
      "booker": null,
      "billTo": null,
      "central": null,
      "company": null,
      "countryCode": null
}

Related content