Versioning and changes
Which changes we consider compatible, how we announce breaking ones and how long two API versions coexist.
The API version is part of the path: https://api.billora.app/api/v1. Within a version we keep backwards compatibility: your integration should keep working unchanged.
Compatible changes
They may ship at any time, without a new version and without prior notice (we publish them in the changelog):
- New endpoints, resources or actions.
- New response fields or new optional request parameters.
- New enum values (statuses, types, error codes).
- New webhook event types and new fields in their bodies.
- New response headers.
- Changes to the wording of error
detailmessages. - Changes to the order of JSON fields or to the length of generated ids (
req_…,evt_…).
Build your integration to tolerate these changes: ignore unknown fields, handle unknown enum values safely and don't depend on message wording.
Breaking changes
For example: removing or renaming a field or endpoint, changing a field's type, making an optional parameter required or changing the meaning of a value. We only make them in a new version (/v2) and:
- We announce them in advance in the changelog.
- We keep the previous version running for at least 6 months after the new one is published.
- We publish a migration guide.
The only exception are changes required for security or by law (for example regulatory changes to VeriFactu or by the Spanish Tax Agency), which we may have to apply with shorter notice. We will tell you as soon as possible.
Old paths
Action paths in snake_case (/invoices/{id}/mark_paid/) keep working as aliases of the canonical kebab-case ones (/invoices/{id}/mark-paid/), but they are not in the OpenAPI specification. Always use the ones in the reference.
Webhooks
Each event carries api_version with the version of its format. Compatible changes (new fields, new events) apply to every endpoint; an incompatible format would ship with a new api_version and a transition period.
