Creating AP Invoice Entries using Text File Data

By | May 30, 2024

In Sage 300 ERP, Every Organization, whether it is manufacturing or selling, needs to purchase products or services from suppliers, and you will typically be given the option to pay later. Businesses must effectively handle the trade payable since it is a significant source of cash outflows for which we can use Accounts Payable Module.

In this blog, we are going to discuss working of creating the AP Invoice entries using text file data. We will create a utility, that upon execution it will first read the data from the text file. Next, it will validate the data from the file. If any errors are present in the text file then it will create an error log which will have exact description of that error. We can send that error file to user via mail so that user can rectify those errors and can import file again for AP Invoice Entry creation. Once the data is validated successfully utility will then proceed further for the creation of the AP Invoice Entries.

New Stuff: – Creating GL Entries using Text File Data

The text file will contain mandatory fields that are required to create the AP Invoice batches. Those fields are Vendor No., Document Number, GL Account Number, Document Date, Amount, etc. User also can include other fields as well as Optional field data in the text file as well. Please refer below screen shot for the sample text file data which is used to create the AP Invoice entries.

Below is the text file which will be used for making batches in the AP: –

Figure 1: Text File Data for AP Import

After the successful execution of the utility the AP Invoice entry created in sage as follows (Please refer below screenshot).

Figure 2: AP Invoice Entry

In this way user can create AP Invoice Batches from the text file data which serves the purpose of this utility. One of the advantages of this utility is that we can also perform this functionality through task schedular as well so to optimize the manual labor.

About Us: –

Greytrix – a globally recognized and one of the oldest Sage Gold Development Partner is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation competence.

Greytrix offers unique GUMU™ integrated solutions of  Sage 300 with Sage CRM,, Dynamics 365 CRM and MagentoeCommerce along with Sage 300 Migration from Sage 50 US, Sage 50 CA, Sage PRO, QuickBooks, Sage Business Vision and Sage Business Works. We also offer best-in-class Sage 300 customization and development services and integration services for applications such as POS | WMS | Payroll | Shipping System | Business Intelligence | eCommerce for Sage 300 ERP and for Sage 300c development services we offer, upgrades of older codes and screens to new web screens, latest integrations using Data and web services to Sage business partners, end users and Sage PSG worldwide. Greytrix offers 20+ addons for Sage 300 to enhance productivity such as GreyMatrixDocument AttachmentDocument NumberingAuto-Bank ReconciliationPurchase Approval SystemThree way PO matchingBill of Lading and VAT for Middle East. The GUMU™ integration for Dynamics 365 CRM – Sage ERP is listed on Microsoft Appsource with easy implementation package.

For more details on Sage 300 and Sage 300c Services, please contact us at, We will like to hear from you.