Peppol
Invoice
Changes to generic fields
type Invoice {
// ...all generic invoice fields
dueDate: string;
salesOrderRef?: string;
purchaseOrderRef?: string;
lines: [
{
// ...other line item fields
unit: UnitsOfMeasure;
vat:{
code: VatCodeUNTDID;
}
}
];
sender?: {
// ...other sender fields
taxRepresentative?:{
name:string;
taxId: string;
address: {
country: string;
}
}
};
recipient:{
peppolId: {
endpointId: string;
};
taxRepresentative?:{
name:string;
taxId: string;
address: {
country: string;
}
}
};
shipToParty?:{
name: string;
taxId: string;
address:{
line1: string;
line2: string;
city: string;
state: string;
country: string;
postalCode: string;
}
};
paymentMeans?: [{
ref: string;
code: string;
account: {
iban: string;
bic: string;
number: string;
name: string;
bankName: string;
branch: string;
};
card: {
pan: string;
network: string;
holderName: string;
};
directDebit: {
id: string;
schemeId: string;
url: string;
ref: string;
};
other: {};
}];
attachments?: Attachment[];
notes?: string;
};
type Attachment {
name: string;
contentType: 'application/pdf' | 'image/png' | 'image/jpeg' | 'text/csv' |
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' |
'application/vnd.oasis.opendocument.spreadsheet' ;
data: string;
};Field information
Name | Type | Required | Description |
|---|---|---|---|
| string (ISO 8601 date) | No | Deprecated in favour of "dueDate" |
| string (ISO 8601 date) | Yes | Due date of invoice |
| string | Yes | A value from an enumerated list as outlined on Units of Measure |
| string | Yes | A value from an enumerated list as outlined on VAT code classification (UNTDID 5305) |
| string | Yes | Address line 1 (Street address/PO Box/Company name). |
| string | Yes | City/District/Suburb/Town/Village. |
| string | Yes | State/County/Province/Region. |
| string | Yes | Two-or three-letter country code ISO 3166 |
| string | Yes | ZIP or postal code |
| string | Yes | Peppol ID of the recipient |
| Object | No | For instances where a third-party tax representative is used. |
| string | Yes | Name of Tax Representative |
| string | Yes | Tax ID of Tax Representative |
| string | Yes | Country of Tax Representative |
| string | No | Sales order reference. An identifier of a referenced sales order, issued by the Seller. |
| string | No | Purchase order reference. An identifier of a referenced purchase order, issued by the Buyer. |
| Object | No | For instances where the ship-to party details differ and need to be explicitly stated. |
| string | No | The name of the party to which the goods and services are delivered. |
| string | No | TIN of the shipping recipient assigned by IRBM |
| string | No | Deliver to address line 1. The main address line in an address. |
| string | No | Deliver to address line 2. An additional address line in an address that can be used to give further details supplementing the main line. |
| string | No | Deliver to city. The common name of the city, town or village, where the deliver to address is located. |
| string | No | Deliver to country subdivision. The subdivision of a country. |
| string | No | Deliver to country code. A code that identifies the country. |
| string | No | Deliver to post code. The identifier for an addressable group of properties according to the relevant postal service. |
| Object Array | No | For instances where the payment means need to be explicitly stated. |
| string | No | Remittance information |
| string | No | Payment means type code |
| string | No | IBAN Payment account identifier |
| string | No | The BIC identifier for the payment service provider where a payment account is located. |
| string | No | Payment account identifier |
| string | No | Payment account name |
| string | No | Bank name |
| string | No | The branch identifier for the payment service provider where a payment account is located. |
| string | No | Payment card primary account number Example: |
| string | No | Card network like Visa or Mastercard |
| string | No | Payment card holder name |
| string | No | Mandate reference identifier |
| string | No | Debited account identifier |
| string | No | Other payment means details |
| Object Array | No | Array of attachment objects |
| string | Yes | File Name |
| string | Yes | File MIME type. Allowed values include: |
| string | Yes | Base64 encoded file content |
| string | No | Any applicable or additional notes |
Example CSV file
Updated 15 days ago