Number restrictions across accounting connectors
When working with the Unified API, it’s important to understand that each accounting software enforces its own rules and restrictions regarding thenumber
or invoice_number
fields used in journal entries, financial entries, and accounting entries.
These fields appear in the following endpoints:
invoice_number
— Sale or purchase entriesnumber
— Financial entriesnumber
— Journal entries
Why this matters
When building an integration with the Unified API, you should always validate or normalize your numbering logic to ensure it’s compatible across all connectors you plan to support.If you send an invalid
number
, the target accounting software may reject the entry.
General recommendations
- Always provide a number.
Some connectors can generate it automatically if not provided, but for cross-connector compatibility, we recommend always generating it yourself. - Numbers must be unique.
Thenumber
is not the same as the technicalid
or thereference
field:id
: a technical unique identifier (often a UUID)reference
: refers to another document or object (e.g. an invoice or payment reference)number
: the actual accounting number visible in the accounting software
Connector-specific restrictions
Connector | Restriction |
---|---|
ACD | Max 16 characters |
Sage BOB50 | Max 10 characters, digits only |
Exact Online | Digits only |
Horus | Digits only |
MyUnisoft | Max 15 characters |
Octopus | Digits only |
Sage 100 | Max 17 characters |
Sage Génération Experts | Defined at the journal level, usually max 8 characters |
Winbooks | Max 8 characters, digits only |
Best practice pattern
To ensure compatibility across all connectors:- Use only digits
- Keep it under 8–10 characters
- Ensure uniqueness per accounting period or journal