Schema Objects
Full Global E-Invoice object reference
This page documents every object in the Staple Global E-Invoice schema. Each table shows fields, types, requiredness, descriptions, and country-specific notes. Required values marked Optional* are conditionally required by some countries — check the country notes column.
Conventions
These conventions apply across the entire schema unless a specific field overrides them.
- Date fields - All fields of type
string (date)use the formatYYYY-MM-DD. - Time fields - All fields of type
string (time)use the formatHH:MM:SSin UTC. Milliseconds are not supported. - Amount fields - All fields of type
string (decimal)are represented with 2 decimal places, e.g."1500.00". - Percent fields - All percent fields use
string (decimal), e.g."7.0"for 7%. - Country codes - Use ISO 3166-1 alpha-2 codes.
- Currency codes - Use ISO 4217 codes.
Quick links: Invoice · Address · Advance · Attachment · Card · Charge · CreditTransfer · DeliveryDetails · DirectDebit · Discount · DocumentRef · DueDate · ExchangeRate · Identity · Inbox · Item · Line · LineCharge · LineDiscount · Name · Note · Online · Ordering · Party · PayInstructions · PaymentDetails · PayTerms · Period · Person · Registration · Stamp · Tax · TaxCombo · TaxIdentity · Totals
Invoice
Root object — top-level invoice document.
Type values
Party
Used for Supplier, Customer, and embedded party references in Ordering and Delivery.
TaxIdentity
Tax registration details for a party.
Address
Postal or fiscal address.
Identity
Additional registration or classification code for a party or item.
Inbox
Electronic document delivery inbox, e.g. Peppol participant ID.
Person
A physical contact person representing a party.
Name
Structured personal name.
Registration
Company registration details required by some countries.
Line
A single row in the invoice.
Item
Product or service being sold.
TaxCombo
Tax category and rate applicable to a line item.
LineDiscount
Discount applied to a single line item.
LineCharge
Surcharge applied to a single line item.
Discount
Invoice-level discount applied to the whole document.
Charge
Invoice-level surcharge applied to the whole document.
Ordering
Purchase order references and related document links.
PaymentDetails
Payment terms, instructions, and pre-payments.
PayTerms
Payment conditions and due dates.
DueDate
A specific payment date with an associated amount.
PayInstructions
How payment should be made.
CreditTransfer
Bank transfer payment details.
Card
Payment card reference.
DirectDebit
Direct debit mandate details.
Online
Online payment link.
Advance
A pre-payment made before the invoice was issued.
DeliveryDetails
Goods delivery destination and recipient.
DocumentRef
Reference to an existing document — used in Preceding and Ordering.
ExchangeRate
Currency conversion rate.
Note
Free-text annotation or legal detail.
Attachment
Supporting document attached to the invoice.
Stamp
Official seal from a tax authority or intermediary.
Period
A date range used for billing, delivery, or tax periods. Both Start and End dates are inclusive.
Tax
Tax defines a summary of the taxes that may be applied to an invoice.
Tax rounding values
Tax point values
Totals
Totals contains the summaries of all calculations for the invoice. This object is calculated server-side — do not submit it as part of the request payload.
Alpha-2 Country Codes
The Country field and other country code fields in the schema use ISO 3166-1 alpha-2 codes. The table below lists the supported tax regimes.
View supported alpha-2 country codes
Currency Codes
The Currency field and other currency code fields in the schema use ISO 4217 alpha-3 codes.