Fixture ID: allowanceNoSellerId_K · XPath: /ubl:Invoice/cac:AllowanceCharge[1]/cac:TaxCategory/cbc:ID
This invoice contains a document level allowance (BG-20) whose VAT category code (BT-95) is K (Intra-community supply) — allowances[0] — so the invoice must contain the seller VAT identifier (BT-31) or the seller tax representative VAT identifier (BT-63), and the buyer VAT identifier (BT-48). An intra-community supply is zero-rated in the country of dispatch only because it will be taxed in the country of arrival, and the pair of VAT identifiers is what lets the two administrations match the same transaction across the border. Note what is *not* accepted here: a national tax registration number (BT-32) satisfies the standard-rated and exempt families but not this one, because it does not resolve in VIES.
BR-IC-03Set seller.vatId (not seller.taxRegistrationId) and buyer.vatId to VAT numbers issued in different member states, and verify the buyer's in VIES before you issue. An intra-community supply must also carry a delivery date (BR-IC-11) and a deliver-to country (BR-IC-12).
"seller": { "vatId": "DE123456789" }, "buyer": { "vatId": "FR12345678901" }