openactive / open-booking-api

Repository for the Open Booking API specification
Other
2 stars 3 forks source link

OrderItem-specific VAT IDs #225

Open nickevansuk opened 2 years ago

nickevansuk commented 2 years ago

Proposer

Everyone Active

Use Case

There are cases where different items on the receipt can have different VAT IDs.

Proposal

The different VAT IDs should be treated as separate TaxChargeSpecifications, and then totalled separately as part of totalPaymentTax to allow the totals for each VAT ID to be clearly displayed on the receipt.

The vatID property can be applied to the TaxChargeSpecification to allow the default vatID in the Organization to be overridden.

Example

  "unitTaxSpecification": [
    {
      "@type": "TaxChargeSpecification",
      "name": "VAT at 20%",
      "price": 0,
      "priceCurrency": "GBP",
      "rate": 0.2,
      "vatID": "GB12345678"
    }
  ]
  "totalPaymentTax": [
    {
      "@type": "TaxChargeSpecification",
      "name": "VAT at 20%",
      "price": 0,
      "priceCurrency": "GBP",
      "rate": 0.2,
      "vatID": "GB12345678"
    }
  ]