Currently, a customer sends a XML file for the creation of utility bills. The created statement will have 1 or more pages. If the statement has an odd number of pages, a blank page is inserted, otherwise no blank page. Multiple PDF files are created based on the number of pages needed for each statement.

Customer is now looking to create preformatted utility bills inhouse and prefers to send me a PDF file as the new process does not offer XML for me to work with. They might be willing to do special programming to provide an XML file.

So, how do I work with a PDF file where the name and address only appears on the first page of each statement and then the next input page may or may not be the start of the next statement? The client statement's use one master account number when there are any number of sub accounts. In other words, 1 statement contains 1 or more property meter readings and 1 or more pages. I have not seen a sample file yet, so I do not know if blank pages will be added to the file, where appropriate, or not.

I do have another utility billing customer who provides a PDF file to be use as input for processing. The difference here is that every single page has the name and address of the property owner. 1 single page statement = 1 property meter reading. There is no need to check to see if a blank page is needed or not.