AI that checks export LC documents before the bank does — so Bangladeshi exporters get paid the first time.
Aethermind 2026 · Team Bracu Phoenix · Team code AM26-0344
Important
Round 1 status — what is and isn't in this repository
As the rulebook requires before 11 December 2026, 12:00 PM (Sections 3.2 and 5.3), this repository contains only a static frontend prototype and documentation.
- ✅ React UI, sample data, and simple arithmetic that runs in the browser
- ❌ No backend, no database, no API integrations, no AI/ML code
- ❌ No real documents are uploaded, stored or processed
All backend, rule-engine and AI work will be written and committed during the build phase (11–20 December 2026).
- The problem
- What Nirbhul does
- Try the prototype
- What the prototype shows
- Planned architecture
- Business model
- UN SDG alignment
- Run it locally
- Repository structure
- AI and third-party tool disclosure
- Team
- Licence
Under a Letter of Credit (LC), banks pay against documents, not goods. The exporter submits the invoice, bill of exchange, packing list, Bill of Lading and certificates, and the bank checks them line by line against the LC and the ICC rules (UCP 600). One wrong amount, date, weight or signature makes the set discrepant, and then payment stops.
| 15–20 days | Extra payment delay when a set is discrepant (bank interview, 2026) |
| 47% | Share of surveyed LC cases where nominated banks in Bangladesh received discrepancy notices (BIBM, CY2018 data, reported 2019) |
| ≈ ৳22,000 + 18 days | What one discrepancy cost the leather-goods exporter we interviewed |
| By hand | How these documents are still checked: no software (bank interview, 2026) |
Root cause: errors are caught too late (at the bank), they are caught by hand (against complex UCP 600 rules), and SME exporters lack the expertise to catch them earlier.
| Step | What happens |
|---|---|
| 1 · Upload the LC | PDF or SWIFT MT700 text. Nirbhul turns it into a checklist of required documents, dates, amount, tolerance and ports. |
| 2 · Upload the documents | Invoice, bill of exchange, packing list, Bill of Lading and certificate of origin, as scans or phone photos. |
| 3 · Get the report | Each issue is highlighted on the page, with the LC field or UCP 600 rule, a severity and a suggested fix, in Bangla and English. |
| 4 · Fix and re-check | The exporter submits a clean set to the bank, with fewer refusals, fees and delays. |
Nirbhul aims to reduce refusals. The bank always makes the final decision.
👉 nirbhul.vercel.app works on desktop and mobile. Use the EN / বাংলা switch at the top.
- Click Load sample LC, then look at the LC risk check and the fake-LC check.
- Click Load sample documents, then Run check.
- Click any finding to see the evidence on the page, the rule, the fix and a draft correction message.
- Click Apply sample corrections and re-check to see the set turn clean.
- Switch to the Forwarder view to see one forwarder managing many exporters.
It uses one sample LC (No. 0123/26, Karnaphuli Leather Ltd → Nordic Leather GmbH, ladies' leather handbags) and five sample documents with planted discrepancies.
| Severity | Finding | Rule |
|---|---|---|
| 🔴 Red | Bill of exchange USD 98,500.00 vs commercial invoice USD 95,800.00 | UCP 600 Art. 14(d); field 46A |
| 🔴 Red | B/L on-board date 18 Mar 2026 is after the latest shipment date 15 Mar 2026 | UCP 600 Art. 20(a)(ii); field 44C |
| 🔴 Red | Packing list 2,350 kg vs Bill of Lading 2,450 kg | UCP 600 Art. 14(d) |
| 🔴 Red | Certificate of origin not signed by the chamber of commerce | UCP 600 Art. 2 and 14(a); field 46A |
| 🟡 Amber | "Ladies Leather Handbags" vs "Ladies' leather handbags": needs a person to confirm | UCP 600 Art. 14(e) |
| 🟢 Green | Invoice USD 95,800.00 is within USD 100,000.00 ±5% | Fields 32B, 39A |
| 🟢 Green | Presented within 21 days of shipment and before expiry | UCP 600 Art. 14(c) |
| Feature | What it shows |
|---|---|
| Evidence on the page | Each finding is boxed on a rendering of the document where it was found, with a switch to the extracted fields. |
| LC risk check (preview) | Run the day the LC arrives, before production. It flags risky terms (a shipment window shorter than production time, transhipment not allowed, a field-47A condition outside the exporter's control) and drafts an amendment request to the buyer. |
| Fake-LC check (preview) | Checks the issuing bank's SWIFT code format and country code. A live registry check is on the roadmap. |
| Draft correction messages | A ready-to-send message for each finding, addressed to the right party (buyer, forwarder, chamber or own team), with Copy and Share on WhatsApp. WhatsApp only opens a share link; nothing is sent automatically. |
| Field glossary | Plain-language help for LC field codes (44C, 46A, 47A …) in both languages. |
| Savings calculator | Exporters enter their own numbers to see the cost of discrepancies avoided and their net saving per year. |
| Before / after timeline | The same shipment without Nirbhul (paid ~18 days late) and with Nirbhul (paid on time). |
| Forwarder dashboard | One freight forwarder tracking sets for many exporters, with bank deadlines and status. |
| Listen | Reads a finding aloud using the browser's built-in speech feature (English). |
| Print / save as PDF | A printable report of all findings, rules and fixes. |
All names, banks and numbers are fictional sample data, except the cost figures marked as coming from our interviews.
A layered checking engine: AI reads and reasons, rules decide, humans confirm.
LC + documents
│
▼
1 · EXTRACT OCR + LLM → structured fields, each linked to its exact place on the page
│
▼
2 · RULE ENGINE deterministic UCP 600 checks: dates (44C, 31D), amount and tolerance
│ (32B, 39A, "about" = ±10%), presentation period, required documents (46A)
▼
3 · CROSS-CHECK invoice ↔ bill of exchange ↔ packing list ↔ B/L:
│ amounts, quantities, weights, ports, LC number
▼
4 · AI JUDGE real conflict vs harmless difference (UCP 600 Art. 14(d));
│ turns free-text 47A conditions into rules
▼
5 · HUMAN REVIEW low-confidence results flagged amber; the AI never makes a final call alone
│
▼
Report with evidence · rule · severity · fix (Bangla + English)
Not just an AI wrapper: our own trade-rule engine, data pipeline and evidence linking do the core work. The LLM handles only extraction and judgement calls, always with proof attached, so every flag can be traced to a page and a rule.
Planned stack: React (Vite) · Python (FastAPI) · PostgreSQL · OCR · LLM with structured JSON output · cloud deployment
Privacy: encrypted storage, automatic deletion, and no AI training on customer data.
| Days | Deliverable |
|---|---|
| 1–3 | Document extraction for LC, invoice, bill of exchange, packing list, B/L, certificate of origin |
| 4–6 | Rule engine with 15–20 core UCP 600 checks |
| 7–8 | AI judge and report screen with evidence highlights |
| 9–10 | Testing on synthetic document sets with planted errors. Goal: detect ≥ 90% of planted discrepancies |
SaaS priced below the cost of a single discrepancy. These are indicative planning prices, to be validated with customers.
| Plan | For | Price |
|---|---|---|
| Pay per check | Most SMEs | ৳1,000 per document set |
| SME | High-volume exporters, up to 20 sets a month | ৳8,000 / month |
| Forwarder | Freight forwarders checking sets for many exporters | ৳25,000 / month |
| Bank | Trade-desk licence with API access | Custom annual licence |
Market: TAM ≈ ৳36 crore/yr (~360,000 LC sets), SAM ≈ ৳7 crore/yr (~70,000 non-RMG LC sets), year-1 target ৳34.2 lakh annual run rate. See the pitch deck for sources and unit economics.
| Target | How Nirbhul contributes | Pilot indicator |
|---|---|---|
| SDG 9.3 (primary) | Helps small exporters access trade finance and stay in global value chains | ≥ 85% of users' sets accepted on first presentation; discrepancy fees cut by half; 20+ SME exporters onboarded in year 1 |
| SDG 8.2 | Raises productivity by replacing line-by-line manual checking | Time to check one set: from manual to ~1 minute |
Requires Node.js 18 or later.
git clone https://github.com/Partha-009/nirbhul.git
cd nirbhul
npm install
npm run dev # http://localhost:5173
npm run build # production build in dist/nirbhul/
├── index.html # page shell and metadata
├── src/
│ ├── main.jsx # React entry point
│ ├── App.jsx # 4-step flow, report, LC risk check, fake-LC check, messages, print
│ ├── extras.jsx # timeline, savings calculator, glossary, forwarder view, listen
│ ├── data.js # sample LC, documents and findings (fictional)
│ ├── number-motion.js # display-only number animation
│ ├── styles.css
│ └── fonts/ # self-hosted fonts
├── public/font-licenses/ # SIL Open Font Licences
├── LICENSE # MIT
└── README.md
We list every AI tool and outside resource we used, as Rule 7.2 requires.
| Tool | Used for |
|---|---|
| Claude (Anthropic) | Drafting the prototype UI code and sample data, which the team reviewed and edited; pitch deck research and drafting support; the Nirbhul logo (an "N" with a check mark, drawn as vector code from a concept the team chose). The logo is labelled "Logo made with AI (Claude)" on slide 1 of the deck and in the app footer |
| OpenAI Codex | Typography and display-only number animations |
| React 18, Vite 5 | Frontend framework and build tool (MIT licence) |
| Space Grotesk, IBM Plex Mono, Noto Sans Bengali | Self-hosted fonts (SIL Open Font Licence, included in public/font-licenses) |
| Browser Web Speech API | The Listen button; built into the browser, no outside service |
| shields.io | Badges in this README |
Problem research and the interviews with a bank trade-finance officer and a leather-goods exporter were done by the team. Apart from the logo listed above, the prototype uses no AI-generated images. The document previews are drawn in code from sample data.
Team Bracu Phoenix
| Member | Role |
|---|---|
| Partha Chakraborty | Team lead · backend · GitHub repository |
| Sumit Saha | Frontend |
| Sadman Shahriar Sporsho | AI lead · video pitch |
Domain input came from interviews with a bank trade-finance officer and a leather-goods exporter (December 2026).
MIT. Teams keep full ownership of their work under the Aethermind 2026 rules (Section 7.1).
Nirbhul — right the first time.