
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 data will result in:
Your system (ERP, accounting software, or middleware) sends transactions and contact data to Link4 via a secure 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 or cancels an invoice | ||
| An updated invoice was issued to correct errors in a previously sent invoice | ||
Other | Additional document types by agreement |

Document header data
Supplier and buyer details
Line items
Tax information
Accurate contact data is mandatory.
This data is used for:
Addressing and routing (Peppol)
Delivery and notifications
| Field | Required |
|---|---|
| Legal name | ✅ |
| Full address (street, city, postal code, country) | ✅ |
| Country code (NZ for domestic suppliers) | ✅ |
| New Zealand Business Number (NZBN) or GST number | ✅ |
| Peppol Participant ID (for routing) | ✅ |
Applies to BOTH customers and suppliers.
Trading name
Email address
Phone number
Contact person's name
Department name
Website
Internal reference code
Each contact must be retrievable using a unique identifier
All mandatory fields must be returned
Used to avoid duplicates and ensure correct matching
CSV must include all mandatory fields
A unique reference column may be required for create/update logic
Column order and format will be confirmed by Link4
Tax data must comply with the target jurisdiction (e.g. Peppol New Zealand, Peppol VAT rules).
GST number
Currency = NZD
GST 15%
Description
Quantity
Unit of measure
Unit price
Line amount
GST rate (15% or 0%)
GST amount
Product code
Discount
Service period
PO reference
Unique document number
Issue date (YYYY-MM-DD)
Document type (Invoice / Credit Note)
Supplier details (NZBN or GST number, legal name, full address)
Buyer details (NZBN or GST number, legal name, full address)
Currency (NZD unless otherwise agreed)
Tax-exclusive amount
Total GST amount
Tax-inclusive amount
Due date
Order reference (PO number)
Buyer reference
Contract or project reference
Payment terms
Bank/payment details
Delivery date
Internal notes (must comply with Peppol format rules)
Secure credentials (OAuth or API keys)
Read and write permissions
Header data
Line items
Tax information
Contact lookup via unique ID
No Duplicate documents
Clear HTTP errors
Stable identifiers for retries
All documents are validated against:
Inland Revenue NZ(If any) + Peppol rules
Missing or invalid data may result in:
Document rejection
Validation errors
Delivery failure (e.g. buyer not on the network)