Export letter of credit management for ERPNext v16—from sales order to commercial invoice and delivery.
ERPNext manages sales orders, invoices, deliveries and accounting. Export LC adds the documentary-credit record between those steps, helping export teams keep commercial terms, bank fields and utilization in the same workflow rather than rebuilding the position in spreadsheets and files.
Scope: Export LC records and maps LC data inside ERPNext. It does not connect to a bank, transmit SWIFT messages or replace bank approval and document-checking procedures.
Sales Order
│
▼
Export Proforma Invoice
│
▼
Export LC
├────────► Sales Invoice (Commercial Invoice)
└────────► Delivery Note
│
▼
Utilization and LC status recalculated
| Task | How Export LC helps |
|---|---|
| Start from approved sales data | Create an Export Proforma Invoice from a Sales Order and carry forward items, currency and commercial details. |
| Maintain the documentary credit | Record the Export LC with applicant, beneficiary, issuing and beneficiary bank, value, dates, tolerance and shipment/document terms. |
| Create commercial documents | Create a Sales Invoice (commercial invoice) or Delivery Note from the Export LC without re-entering the transaction. |
| Monitor drawdown | Calculate utilization from submitted Sales Invoices linked to the Export LC. |
| Read lifecycle status | Use Draft, Active, Partially Utilized, Fully Utilized, Expired and Cancelled states to identify the next action. |
| Review activity visually | Use the Export LC workspace, shortcuts and status chart for a faster operational view. |
The form also contains a selectable Closed status for manual use; the automatic status calculation does not assign it.
The Export LC form includes commonly used documentary-credit fields such as reference number (F20), issue and expiry dates (F31C/F31D), credit form (F40A/F40E), applicant and beneficiary (F50/F59), tolerance (F39A), partial shipment and transshipment (F43P/F43T), latest shipment date (F44C), goods and documents (F45A/F46A), additional conditions (F47A), charges (F71D) and instructions (F78).
These fields help structure LC information; they do not claim automatic SWIFT MT700 generation or transmission.
| Export Proforma Invoice | Export LC record |
|---|---|
![]() |
![]() |
| Use case | Choose this app |
|---|---|
| A buyer opens an LC in your favour and you ship against it | Export LC THIS REPOSITORY |
| You open an LC to buy goods, materials or machinery from a supplier | Explore Import LC → |
Businesses—including ready-made garment exporters using back-to-back LCs—can install both apps to manage each direction. In the current version-16 repositories, the apps manage their respective workflows; they do not automatically create a master export LC/back-to-back import LC relationship across apps.
The simplest setup for managed installations.
Use an existing Frappe/ERPNext v16 bench:
bench get-app https://github.com/invento-software-limited/export-lc.git --branch version-16
bench --site your-site.example install-app export_lc
bench --site your-site.example migrate
bench build --app export_lcAfter installation, open Export LC from the ERPNext app switcher. Setting up a new bench or site? Start with the official Frappe installation guide.
- Frappe and ERPNext: v16 (
>=16.0.0-dev, <17.0.0-dev) - Runtime: Python 3.10 or newer · App branch:
version-16
The repository also has a develop branch for active development; production v16 installations should use version-16.
Read the user guide → · View the product overview → · Browse all documentation →
Need help? Open a reproducible issue.
When reporting a problem, include your Frappe and ERPNext versions, the affected document type, steps to reproduce and a redacted screenshot where useful. Never include LC numbers, bank credentials or confidential trade documents in a public issue.
Contributions are welcome. Install the repository's pre-commit hooks before opening a pull request:
cd apps/export_lc
pre-commit install
pre-commit run --all-filesThe project uses Ruff, ESLint, Prettier and Semgrep alongside its CI checks.
Built and maintained by Invento Software Limited, an ERPNext partner in Bangladesh.
MIT. See license.txt.


