XML mapping rules
Use this function to map the content of the XML file to Sage X3 data. This function is part of the activation process and not something you would need to do as part of the standard e-invoicing process.
The XML mapping rules, UBL21, that you define is associated with your customers so that the correct e-invoice format is generated for each customer as needed.
The XML mapping rules cover several areas:
UBLBG0000: The representation that defines the data structure and source to use when generating the XML file and driven by classes that begin with UBLBG.
Each file in the list of XSD files begins with UBL21. These files define the structure of the XML file to be generated. For each tag defined in the XSD file, you need to associate the correct property in the representation. Settings that populate the XML file come from the data source.
For German legislation, the UBL21Gmapping rule includes the required settings. If you want to modify any settings, you need to create a duplicate that can be customized.
For Belgian legislation, the UBL21B mapping rule includes the required settings. If you want to modify any settings, you need to create a duplicate that can be customized.
You can decide which PDF to submit in the electronic flow with the XML file, depending on the originating module, Sales or A/P-A/R accounting. By default, the standard printouts SBONFAC and BPCINV are used, but you can change them.