Trade Files¶
Two companies running the system can exchange business documents as files through the B2B Portal. The sender downloads a document from the Send tab, and the receiver uploads it to the Inbox. Accepting it opens the matching form, with the partner's item codes mapped to the receiver's own.
| Sent | Becomes on the other side |
|---|---|
purchase-order |
Sales order |
rfq |
Quotation |
quotation |
Vendor quotation |
delivery-order |
Goods received note |
invoice |
Vendor bill |
The file¶
{
"format": "nbs-trade",
"version": 1,
"kind": "purchase-order",
"number": "PO-00042",
"date": "2026-11-20",
"due_date": "2026-12-05",
"reference": "QT-00017",
"currency": "MYR",
"notes": "",
"sender": "Example Sdn Bhd",
"sender_registration_no": "202001234567",
"recipient": "Supplier Sdn Bhd",
"lines": [
{ "code": "CH-100", "name": "Oak chair", "quantity": 12, "unit": "pcs", "price": 180.00, "discount_pct": 5 }
],
"total": 2052.00
}
reference is the other side's document number that this one answers. Lines give the sender's own item code. The receiver maps it under Trading partners.