UK export lines to the US show a US state ERP tax code instead of the UK export code
Because the full US ship-to address is sent, US authorities return informational 0% "seller not established" lines next to the correct UK zero-rated export line. The downstream extract picks up the US line’s ERP code and authority name.
By Herb Park, Clarent Technologies
Symptom
Export invoices from a UK entity, shipped to US customers on delivered terms, show a US state ERP tax code (one per destination state) and a US authority name in the billing system. The tax amount is zero, as it should be, but the code is wrong for the UK VAT return.
- Selling entity: UK company
- Ship-to: US, CA 94105
- Delivery terms: Delivered
- Net amount: 4,200.00 GBP
- Tax authority: California
- ERP tax code: US-CA
- Tax rate: 0%
- Tax amount: 0.00
- (1) A US authority name on an invoice from a UK seller is the first sign.
- (2) The code is a US state code. The UK VAT return needs the UK export code on this line.
- (3) Zero tax is correct, which is why the wrong code is easy to miss.
What it usually means
Look at the full response, not just the first tax line. A typical response has three results:
| Authority | Result | ERP code |
|---|---|---|
| United Kingdom | Zero-rated export, 0% | UK export code (correct) |
| US state | No tax, seller not established, 0% | US state code |
| US county or city | No tax, seller not established, 0% | US state code |
The UK result is correct. Because the request carries a complete US address, US authorities are also evaluated and return informational lines with their own ERP codes. The extract that feeds the billing system keeps one code per line, and it took the US one.
How to confirm it
- Pull the request and response for an affected invoice. Make sure it is the right selling entity: the same order number can exist in another company.
- Count the tax results per line. More than one, with US authorities at 0%, confirms the pattern.
- Check whether a rule already strips US address detail for this entity and when it was deployed. Calls made before that change still carry the full address.
Fix
- Reduce the US ship-to to country only for this selling entity (an address override rule), so US authorities are not evaluated. Re-run a real request in test and expect a single UK line.
- Test every calling path. A call that sends addresses only at header level may still pass the full address.
- If the US lines cannot be removed, change the downstream extract to take the code from the line for the seller’s own country.
- Re-run or correct the affected invoices.
How to prevent it
- Remember that the ERP code on a 0% line still drives return box mapping. Review codes on zero-tax lines, not only on taxed ones.
- When a rule strips address detail, check which other lines it touches, such as B2C digital sales to the same country.