cancel
Showing results for 
Search instead for 
Did you mean: 

E-invoicing Romania Country subentity

Hassan1
Explorer
0 Kudos

Hello dear community,

We are implementing E-invoicing for Romania with SAP DRC product.

During tests we remarked that SAP is not adding in the XML a mandatory this tag in the address of the invoicing company and customer address:

<cbc:CountrySubentity>RO-B</cbc:CountrySubentity>

We ensured that the region is correctly filled in the BP and also in the company code address.

This causes an error in the ANAF system :
 
 
<report test="normalize-space(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode) = 'RO' and not(normalize-space(cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:CountrySubentity) = $ISO-3166-RO-CODES)"
flag="fatal"
id="BR-RO-111"
>[BR-RO-110]-Daca Codul tarii Cumparatorului (BT-55) este RO, atunci Subdiviziunea tarii Cumparatorului (BT-54) trebuie sa fie codificata folosind lista de coduri ISO 3166-2:RO (ex. "RO-B" pentru Municipiul Bucuresti, "RO-AB" pentru judetul Alba...).
#If the Buyer's country Code (BT-55) is RO, then the Buyer's country subdivision (BT-54) must be coded using the ISO 3166-2: RO code list (ex. "RO-B" for Bucharest, "RO-AB" for Alba County...).</report>
 
Do you already faced that issue ?
How to fix it ?
Thank you.
View Entire Topic
ricc_meggio
Discoverer
0 Kudos

Hi,

for the supplier there is the customizing  table in tcode N/AIF/vmap

namespace /EDORO

value mapping SUBENTITY_ISO_3166_2

https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/bb30b322546c446ab74a1ba659cecdf2/f9c2152d73f849d5812...

 

For the customer, though, I don't think there is, in fact I think I'll need to open a case to SAP support.