Codul regulii este BR-CO-26.
Cumpărătorul și ANAF trebuie să poată identifica automat vânzătorul, așa că pe partea de vânzător trebuie să existe cel puțin unul dintre cele trei identificatoare: identificatorul vânzătorului (BT-29), numărul de înregistrare la registrul comerțului (BT-30) sau codul de TVA (BT-31). În factura de referință există BT-30 (J40/1234/2010) și BT-31 (RO14399840), deci regula este respectată. Dacă factura iese cu numele și adresa vânzătorului, dar fără niciunul dintre aceste coduri, este respinsă.
Completează datele fiscale ale firmei emitente înainte de generare: codul de TVA în PartyTaxScheme/CompanyID (BT-31) și/sau numărul de la registrul comerțului în PartyLegalEntity/CompanyID (BT-30). Nu lăsa ambele câmpuri necompletate.
<ubl:Invoice xmlns:ubl="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cac:AccountingSupplierParty>
<cac:Party>
<cac:PostalAddress>
<cbc:StreetName>Str. Exemplu nr. 1</cbc:StreetName>
<cbc:CityName>SECTOR1</cbc:CityName>
<cbc:PostalZone>010101</cbc:PostalZone>
<cbc:CountrySubentity>RO-B</cbc:CountrySubentity>
<cac:Country>
<cbc:IdentificationCode>RO</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>Vanzator SRL</cbc:RegistrationName>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingSupplierParty>
</ubl:Invoice><ubl:Invoice xmlns:ubl="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cac:AccountingSupplierParty>
<cac:Party>
<cac:PostalAddress>
<cbc:StreetName>Str. Exemplu nr. 1</cbc:StreetName>
<cbc:CityName>SECTOR1</cbc:CityName>
<cbc:PostalZone>010101</cbc:PostalZone>
<cbc:CountrySubentity>RO-B</cbc:CountrySubentity>
<cac:Country>
<cbc:IdentificationCode>RO</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>RO14399840</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>Vanzator SRL</cbc:RegistrationName>
<cbc:CompanyID>J40/1234/2010</cbc:CompanyID>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingSupplierParty>
</ubl:Invoice>ro16931-ubl-1.0.9. Factura cu fragmentul din stanga a fost respinsa cu exact mesajul de mai sus; cea cu fragmentul din dreapta a trecut fara nicio eroare. Verificarea s-a facut pe 14.09.2026.In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present.
$Seller
$BR-CO-26
Nu am putut confirma din datele primite dacă în CIUS-RO există reguli suplimentare care cer separat codul de TVA al vânzătorului; dacă da, varianta din xml_gresit ar pica și pe acele reguli, nu doar pe BR-CO-26. De asemenea, nu am verificat dacă validatorul acceptă un cac:PartyTaxScheme fără cbc:CompanyID.