Tax calculation when the customer is of type Person (business-to-consumer), when the seller has taxMode TaxNet
Required if system provides consumer VAT receipts, for the relevant tax mode
Coverage Status: complete
Opportunities that match the following criteria must exist in the booking system (for each configured bookableOpportunityTypesInScope
) for the configured primary Seller in order to use useRandomOpportunities: true
. Alternatively the following testOpportunityCriteria
values must be supported by the test interface of the booking system for useRandomOpportunities: false
.
TestOpportunityBookableNonFreeTaxNet x4
npm start -- --runInBand test/features/tax/business-to-consumer-tax-calculation-net/
Update default.json
within packages/openactive-integration-tests/config/
as follows to enable 'Implemented' testing for this feature:
"implementedFeatures": {
...
"business-to-consumer-tax-calculation-net": true,
...
}
Identifier | Name | Description | Prerequisites per Opportunity Type | Required Test Interface Actions |
---|---|---|---|---|
business-to-consumer-tax-calculation-net | Business-to-consumer tax calculation (net) | The totals of totalPaymentTax should match the sum of the unitTaxSpecification, and the totalPaymentDue.price should equal the total of all acceptedOffer.price PLUS TotalPaymentTax.price. | TestOpportunityBookableNonFreeTaxNet x4 |