# FX-SCH-A-000145

Source: https://xmlvalid.com/rules/FX-SCH-A-000145

> In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Deliver to country code (BT-80) shall not be blank.

- Level: error
- Rule sets: Factur-X MINIMUM rules 1.09, Factur-X BASIC rules 1.09
- Context: `//rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ram:CategoryCode[.= 'K']`
- Test: `/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:PostalTradeAddress/ram:CountryID`

Validate a document against these rules: https://xmlvalid.com/validate
