B2C ebook sales from a UK entity to customers outside the UK and EU fail with "no tax result is returned"
Rules convert the line to an electronic service delivered to the customer’s country. The UK treats that as outside its scope, no other authority has jurisdiction, and the engine returns no result at all, which the integration reports as a failure.
By Herb Park, Clarent Technologies
Symptom
A UK selling entity sells ebooks to consumers. Calls for customers in the UK and the EU succeed. Calls for consumers elsewhere, for example in the US, fail with FAILED_TO_CALCULATE_TAX and the message "Per calculation of the input data, no tax result is returned." A printed book for the same customer calculates fine, and so does the same ebook line if the customer is flagged B2B.
- Customer country: UK; Customer type: B2C; Product: Ebook; Result: Calculated
- Customer country: EU member state; Customer type: B2C; Product: Ebook; Result: Calculated
- Customer country: US; Customer type: B2C; Product: Ebook; Result: FAILED_TO_CALCULATE_TAX
- Customer country: US; Customer type: B2C; Product: Printed book; Result: Calculated
- Customer country: US; Customer type: B2B; Product: Ebook; Result: Calculated
- Per calculation of the input data, no tax result is returned.
- (1) The failing combination: consumer, digital product, customer outside the UK and EU.
- (2) Same customer, physical product: fine. So the address and the customer record are not the problem.
- (3) Same ebook, customer flagged B2B: fine. That isolates the B2C rule chain.
What it usually means
The engine ran, but no authority claimed the transaction. A chain of rules typically does three things for a B2C digital sale: it moves the ship-to to the customer’s address, sets the transaction type to electronic services, and sets an EU consumer tax code. For a customer in the EU that produces a result in the customer’s member state. For a customer in the US, the UK content says the service is supplied outside the UK, and the US authorities have no jurisdiction over a UK seller. With no authority returning a result, the engine reports that nothing was calculated.
Usually there is a rule meant to handle "B2C, outside the EU", but it does not fire. Common reasons: it tests an invoice-level address that one of the calling paths leaves empty (for example, a reporting call that sends addresses only at line level), or it requires a channel value that these lines do not carry.
- B2C ebook, UK seller
- Rule chain rewrites the line: Ship-to = customer, electronic service, EU consumer code
- Where is the customer?
- Member state result: Tax in the customer's country
- UK: supplied outside the UK
- US: no jurisdiction: Over a UK seller
- No tax result returned: FAILED_TO_CALCULATE_TAX
How to confirm it
- Pull a failing request. Note where addresses are sent (header or line) and the customer type, channel and product fields.
- Run it in a test tool with rule tracing and list which rules fired, in order. Check whether the outside-EU rule appears.
- Control test: change only the customer type to B2B. If the line now returns a zero-rated UK result, the B2C rule chain is the cause.
Fix
Agree the intended VAT treatment with the tax team first. In our case the outside-EU rule was reworked so that it:
- tests the line-level bill-to country (not the invoice level), as "not EU" and "not UK";
- drops the channel condition that excluded these lines;
- sets the place of supply back to the UK seller’s address and clears the seller role, so the UK returns a 0% outside-scope result;
- maps the tax code to an ERP tax code, so the 0% line still reports to the right return box.
Test every calling path (order rating and invoice reporting) with US, UK and EU customers before moving the change to production.
How to prevent it
- Keep one regression case per region (home country, EU, rest of world) for every digital product and customer type.
- Make conditions use line-level fields when calls can send addresses at line level. Test both calling paths.
- In the rule editor, check how sibling conditions combine. In some editors siblings are OR, and AND needs nesting.