
This guide explains the mandatory technical and data requirements for organizations integrating with Link4 to send and receive electronic invoices.
Before integration, ensure your ERP, Accounting System, or Middleware can supply all required data.
Missing or incorrect information may cause:
Invoice rejection
Validation errors
Delivery failures with Peppol or the Inland Revenue Board of Malaysia (LHDN)
Your system connects securely to Link4 via API.
API endpoints provided by Link4
OAuth or API key authentication
Valid JSON payload structure
Data validation compliance
Document Type | Description |
Invoice | Standard commercial invoice |
Credit Note | Reduces/cancels the invoice |
Debit Note | Increases the payable amount |
Self-Billed Transactions | The buyer issues transactions on behalf of the supplier |
Other | By agreement |
Header data
Supplier details
Buyer details
Line items
Tax information
Accurate contact data is mandatory for:
Routing (Peppol)
Tax validation (LHDN)
Delivery notifications
| Field | Required |
|---|---|
| Legal name | ✅ |
| Email (active) | ✅ |
| Full address | ✅ |
| TIN | ✅ |
| SST number | If applicable |
| MSIC code | ✅ |
| Business activity description | ✅ |
Applies to BOTH customers and suppliers
Address line 2
Contact person
Secondary email
Internal reference/ID
Unique identifier per contact
Return all mandatory fields
Prevent duplicates
All mandatory columns included
Unique reference column required
Format confirmed by Link4
All tax data must follow Malaysian regulations and Peppol rules.
Supplier TIN
Buyer TIN
Currency = MYR
Tax basis
Each document must contain at least one valid line item.
SKU/Product code
Discount
Delivery date
Service period
Unique document number
Issue date (YYYY-MM-DD)
Due date
Document type
Supplier full details
Buyer's full details
Currency
Tax exclusive amount
Total tax amount
Tax inclusive amount
Order reference / Purchase Order Number (if applicable)
Buyer reference
Contract/project reference
Payment terms
Bank/payment details
Internal notes (if allowed)
Secure credentials (OAuth/API keys)
Read & write permissions
Must support:
Header data
Line items
Tax details
Contact lookup via unique ID
No duplicate documents
Clear HTTP errors
Stable identifiers for retries
All documents are validated against:
Peppol specifications
LHDN e-Invoice rules
Other authority requirements
Rejection
Validation errors
Delivery failure