XML Bill Extracts

The system includes a sample bill extract algorithm that produces an XML document to interface to a document composition application. This is an alternative to the fixed flat file format described above. For additional details, see the algorithm type Create XML bill extract records (C1-BLEX-XML).

Algorithms of this type construct the XML file records that contain the information that appears on a printed bill. Each record in the extract is constructed using an extendable data area and may be extended by an implementation using the Post Processing Script parameter. The following steps should be followed to include additional elements in the extract:

  • Create a data area that includes the additional elements for the record you wish to extend. This data area must reference the base product data area used in the extract. For example, to extend the bill record, create a data area that references data area C1-BillPrintBillRecord as its extended data area. See the C1-BLEX-XML algorithm type for a complete list of the data areas available.
  • Create a service script to retrieve the additional elements. This service script must be defined as the Post Processing Script on your algorithm and its schema must include the main bill extract data area (C1-BillPrintRecord).

For an example of how to extend the XML bill extract to include additional elements, see the CI_​BillPrintXMLExtract export bundle included in the demo data.