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 3 main areas:

  • UBLBG0000: The representation that defines the Sage X3 data structure and source to use when generating the XML file and driven by classes that begin with UBLBG.

  • UBL21: The XSD files beginning with this code that define the structure of the XML file to be generated.

  • Settings that populate the XML file from the Sage X3 data source. For each tag defined in the XSD file, you need to associate the correct property in the representation.