Import General Billing Invoices with multiple Detail Lines using Invoice Number 0

Description of Issue

Would like to import General Billing Invoices with multiple Detail Lines and use Invoice Number 0 so that Invoice Numbers are automatically assigned. 

Context
  • General Billing
  • Invoice Import (gbinvimp)
Cause

Need to create General Billing Invoices with multiple Detail Lines (Charges) and use Invoice Number 0 so that Invoice Numbers are automatically assigned. 

Resolution

It is possible to create General Billing Invoices with multiple Detail Lines (Charges) while also using Invoice Number 0 so that the Invoice Number gets automatically assigned. 

To do this, the Detail Lines need to be appropriately numbered and grouped within the import file in sequential order. 

If using a Custom Import layout, then a file that meets these specifications would look something like this: 

Invoice NumberCustomer IDCustomer NameAddress Line 1CityStateZIPInvoice DateInvoice Due DateDetail Line NumberLine CommentAR CodeCharge CodeQuantityPrice
0150John Doe1 Main StreetTyler TownTT1234501/01/200001/31/20001Line Comment 1GBCHARGE1500.00
0150John Doe1 Main StreetTyler TownTT1234501/01/200001/31/20002Line Comment 2GBFEE150.00
0151Jane Doe2 Main StreetTyler Town TT 1234501/01/200001/31/20001Line Comment 1GBCHARGE1500.00
0151Jane Doe2 Main Street Tyler TownTT1234501/01/200001/31/20002Line Comment 2GBFEE150.00

The above example using a Custom Invoice Import layout would result in 2 invoices being created, both with 2 Detail Lines (Charges). The first invoice would be for the Customer John Doe. The second invoice would be for the Customer Jane Doe. 

If using the Standard Invoice Import layout (space delimited), detailed fully here: General Billing Invoice Import Layouts, then the same 2 invoices created by the above Custom Layout could be created using a text file that looks like this: General Billing Standard Invoice Import - Multiple Detail Lines

Additional Information