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.

The amount is right and the code belongs to the wrong country An export line as the billing system shows it (illustrative values). The extract kept one code per line and took it from a US result.
  • 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:

AuthorityResultERP code
United KingdomZero-rated export, 0%UK export code (correct)
US stateNo tax, seller not established, 0%US state code
US county or cityNo 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

  1. 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.
  2. Count the tax results per line. More than one, with US authorities at 0%, confirms the pattern.
  3. 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

  1. 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.
  2. Test every calling path. A call that sends addresses only at header level may still pass the full address.
  3. If the US lines cannot be removed, change the downstream extract to take the code from the line for the seller’s own country.
  4. Re-run or correct the affected invoices.

How to prevent it