GETS Schema

Global E-Invoice Transformation Standard (GETS)

Version 1.0 - A comprehensive middleware schema for electronic invoicing that serves as a superset of UBL 2.1 while providing enhanced framework to support global e-invoicing requirements.

Design Principles
Core principles driving the GETS schema design

Single Integration

Integrate once, comply everywhere with unified interface for all e-invoicing standards

Extensibility & Flexibility

Multiple destinations support with custom fields and delivery options

Technical Architecture

Cross-platform compatibility with developer-friendly field names

Data Minimalism

Essential fields only required by default, with efficient data transformation as needed.

Schema Structure
Core components of the GETS payload structure

Unified API Operation Parameter

The root object includes method, mode, and operation fields to indicate the request type and processing mode.

{
  "method": "POST",           // HTTP method (GET, POST, PUT, DELETE, etc.)
  "mode": "documents",        // Operation type (documents, onboarding)
  "operation": "single",      // Processing mode (single)
  "source": { ... },
  "destinations": [ ... ],
  "payload": { ... }
}
Core Document Types
Supported document types in the GETS schema
tax_invoice

Standard tax invoice

credit_note

Credit note document

debit_note

Debit note document

Document Processing Modes
Different modes for processing documents through GETS

Single Mode

Default

Process one document at a time with immediate validation and response. This mode is optimized for real-time applications where immediate feedback is crucial for user experience.

Key Features
Real-time processing
Immediate feedback
Best for interactive flows
Low latency response
Error handling per document
Use Cases
Web applications with user forms
API integrations requiring immediate validation
Mobile applications
Testing and development environments
Performance
Response Time:< 2 seconds
Throughput:1 document/request
Validation:Immediate
Complete Field Definitions
Comprehensive field definitions based on GETS schema registry with data types, requirements, and descriptions

Header Fields

Field PathNameData TypeRequiredDescription
header.documentTypeDocument Typestring
Required
Type of document
header.documentNumberDocument Numberstring
Required
Unique document number
header.issueDateIssue Datestring
Required
Document issue date
header.issueTimeIssue Timestring
Optional
Document issue time (HH:MM or HH:MM:SS:0000)
header.currencyCurrencystring
Required
Document currency
header.taxCurrencyTax Currencystring
Optional
Tax currency (often same as document currency)
header.exchangeRate.rateExchange Ratenumber
Optional
Exchange rate when currency differs from tax currency
header.dueDateDue Datedate
Optional
Payment due date
header.referenceIdReference IDstring
Optional
Original invoice reference ID
header.noteIssuanceReasonNote Issuance Reasonstring
Optional
Reason for credit/debit note