๐ฎ POSTGRID INTEGRATION FOR ERPNext
๐งพ Auto-generate letters. ๐ณ Auto-mail vendor cheques. ๐ค Bulk mailing made easy.
1. Overview
The PostGrid Integration for ERPNext lets you send real-world postal letters and cheques directly from ERPNext โ without downloading PDFs, exporting to other tools, or manually mailing anything. โ๏ธ๐ฆ
From inside ERPNext, your team can generate customer letters from Sales Invoices, vendor cheque payments from Purchase Invoices or Payment Entries, and manage everything through bulk tools and logs โ all powered by PostGridโs mailing infrastructure. ๐ฌ
This integration is ideal for businesses that still need physical documents (letters, cheques) but want the automation and control of ERPNext instead of manual printing and mailing.
2. What Problems Does It Solve?
Common operational and finance problems solved by automating letters and cheques with PostGrid:
- โ ๏ธ Manually printing and mailing customer letters โ โ Letters printed and mailed automatically via PostGrid.
- โ ๏ธ Spending time preparing vendor cheques โ โ Cheques auto-generated and mailed directly from ERPNext.
- โ ๏ธ Handling bulk mail-outs one by one โ โ Bulk tools for mass letter/cheque creation and sending.
- โ ๏ธ No visibility into what was sent and what failed โ โ Centralized PostGrid Log with status, errors, and retry options.
- โ ๏ธ Risk of editing payment entries after cheques are mailed โ โ Payment Entries linked to PostGrid cheques are locked and protected.
- โ ๏ธ Inconsistent print formats and layouts โ โ Controlled mapping of ERPNext print formats to PostGrid letter templates.
3. Key Benefits
- ๐ End-to-end mailing automation
๐ฌ Generate and send letters and cheques directly from ERPNext โ no exporting, printing, or envelopes. - ๐ Bulk operations for finance & operations teams
๐ฌ Handle dozens or hundreds of letters or vendor payments at once using bulk tools. - ๐ Clear status tracking and retries
๐ฌ Every letter/cheque has a log with success/failure status and a retry button if something goes wrong. - ๐ Stronger control over financial documents
๐ฌ Payment Entries tied to PostGrid cheques can be locked to prevent accidental changes after mailing. - ๐ Consistent layouts via print formats
๐ฌ Use ERPNext print formats as the source design for letters and cheque documents, managed centrally in configuration. - ๐ Designed to fit existing ERPNext workflows
๐ฌ Buttons live on familiar documents (Sales Invoice, Purchase Invoice, Payment Entry) so users donโt need to learn a new system.
4. Core Features
- โ Single-letter generation from Sales Invoice
Send a physical letter for a specific Sales Invoice with a single click โ using your chosen print format as the content. - โ Bulk letter sending
From the Sales Invoice list view, select multiple invoices and create PostGrid letters in bulk via the Bulk Letter Creation Tool. - โ Single cheque/payment creation
From a Purchase Invoice or Payment Entry, generate a PostGrid cheque/payment document that is printed and mailed to the vendor. - โ Bulk cheque/payment generation
Use the Bulk Payment Creation Tool to generate and send cheques for multiple Purchase Invoices at once. - โ Locking of PostGrid-linked Payment Entries
Payment Entries linked to a PostGrid cheque become read-only, preventing accidental changes after a cheque has been generated and mailed. - โ PostGrid Log with retry actions
Each letter/cheque action is recorded in the PostGrid Log Doctype, including status, type, related document, and error message. Failed items can be retried directly from the log. - โ Central PostGrid Configuration
Enable or disable the integration, configure API keys, and map ERPNext print formats to letter templates via a single PostGrid Configuration Doctype. - โ Print format mapping per document type
Control which print formats are used for which documents (e.g., specific letter formats for Sales Invoices vs. payment/cheque formats).
5. How It Works
- ๐งฉ Configure PostGrid integration
Set up PostGrid Configuration in ERPNext โ enable the integration, add API keys, and map print formats for letters and payments. - โ๏ธ Trigger letter or cheque creation
From a Sales Invoice, Purchase Invoice, Payment Entry, or bulk tool, click the PostGrid action button. - ๐งพ ERPNext renders the print format
ERPNext uses the assigned print format to generate the letter or cheque content that will be sent to PostGrid. - ๐ Document sent to PostGrid API
The integration sends content, address, and configuration details to PostGrid for printing. - ๐ฌ PostGrid prints and mails the document
PostGrid handles physical delivery and ERPNext tracks status through the PostGrid Log.
6. Common Use Cases
- โ๏ธ Mailing customer invoices or statements as letters
- ๐จ Sending payment reminders or legal notices via post
- ๐ต Mailing vendor cheques directly from approved Purchase Invoices
- ๐ฆ Bulk letter campaigns for specific customer segments
- ๐งพ Auditable logs of what was sent, when, and to whom
7. Who Is It For?
- ๐จโ๐ผ Finance teams that still use cheques for vendor payments
- ๐ฌ Operations teams that manage high-volume mailing of invoices or letters
- ๐งพ Businesses that need paper trails and physical documentation
- ๐ Organisations working with partners/customers that prefer postal communication
- ๐งโ๐ป ERPNext admins who want to streamline mailing without external tools
Industries:
๐ฆ Financial services & lending
๐ข B2B services & professional firms
๐ Legal & compliance-driven organisations
๐ฌ Retail & wholesale that mail invoices/statements
๐ฌ Any business that sends significant postal communication
8. Setup & Onboarding
- ๐ง Open PostGrid Configuration in ERPNext.
- ๐ Add your PostGrid API key and enable the integration.
- ๐งพ Map ERPNext print formats to PostGrid letter/cheque templates.
- ๐ Decide which doctypes can send letters or cheques.
- ๐งช Test using a sample Sales Invoice.
- ๐ต Test a vendor cheque from Purchase Invoice / Payment Entry.
- ๐ Review statuses in PostGrid Log.
- ๐จ Use bulk tools for high-volume operations.
9. Technical Details (Admins Only)
๐งฉ Configuration
โ PostGrid Configuration Doctype
โ Enable/disable toggle
โ API key settings
โ Print format mapping
โ๏ธ Letters
โ Single and bulk letter creation
โ Stored in PostGrid Log
โ Retry support
๐ต Cheques & Payments
โ Single and bulk cheque creation
โ Locked Payment Entries once linked
๐งพ PostGrid Log
โ Tracks type, status, related document
โ Retry button
๐ง Buttons & Client Scripts
โ Added to Sales Invoice, Purchase Invoice, Payment Entry
โ Visibility controlled by configuration
10. Frequently Asked Questions
- โ Can I send letters directly from a Sales Invoice?
โ Yes โ use the โSend PostGrid Letterโ button. - โ Can I create cheques for multiple Purchase Invoices?
โ Yes โ via Bulk Payment Creation Tool. - โ What happens if a letter or cheque fails?
โ Logged and retry available. - โ Can I disable the integration?
โ Yes โ toggle in configuration. - โ Can a Payment Entry be edited post-issue?
โ No โ it becomes read-only. - โ Do I need new print formats?
๐ก Optional โ use existing or custom ones.
11. Security & Data Handling
- ๐ Secure storage of API keys
- ๐ HTTPS encrypted communication
- ๐งพ Logs stored in ERPNext
- ๐ซ No excessive external sharing
- ๐งฉ Integration toggle available
12. Support
๐ฉ Email: support@akhilaminc.com
๐ Request assistance through our website.
13. Related Integrations
- ๐ Airwallex Integration (Bank feeds โ ERPNext)
- ๐ Xero Integration (Accounting sync โ ERPNext โ Xero)
- ๐ Other ERPNext automation integrations by AkhilaM Inc