Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Valinvo Formats API
version: 1.0.0-beta
description: 'Valinvo turns one JSON invoice (based on the EN 16931 semantic model) into an XRechnung 3.0.2 (UBL or CII), Peppol BIS Billing 3.0.22 or ZUGFeRD 2.5.2 / Factur-X 1.09.2 (EN 16931 profile; also with the French rules for the French reform, beta) e-invoice, and validates existing e-invoices against the official rule sets. Status: beta.
**Terms.** The API is for businesses only and is subject to the Terms of Use and the Data Processing Agreement. Without an API key, accept them by sending `X-Accept-Terms: 1.0` (the current version) with each request; requests without it get `428 terms_not_accepted`. Every `/v1/` response links the terms in a `Link: ; rel="terms-of-service"` header. The trial without a key is for testing: use sample data, not real invoices with other people''s personal data.
**Limits.** Without a key: 2 created invoices per day per IP address, one request at a time, 60 `/v1/invoices` and 20 `/v1/validate` requests per minute. Invoice JSON up to 2 MB and 2,000 lines; your own PDF up to 15 MB; documents to validate up to 20 MB and 75,000 XML elements.
**Money.** Amounts, quantities and VAT rates are JSON strings (`"19.99"`), never numbers.
**Errors.** Every error is a JSON `ApiError` with a stable `code`; invoice problems list the JSON path, the official rule and the EN 16931 business term. Unknown paths get 404 with `not_found`.'
termsOfService: https://valinvo.bmk-hub.com/terms
contact:
name: Valinvo (BMK HUB)
url: https://valinvo.bmk-hub.com/contact
email: hello@bmk-hub.com
servers:
- url: https://valinvo.bmk-hub.com
tags:
- name: Formats
description: Supported formats and versions.
paths:
/v1/formats:
get:
tags:
- Formats
operationId: listFormats
summary: List supported formats
description: Every format with its pinned version and status. `beta` formats can be created; `planned` ones not yet. Needs no API key and no terms header.
security: []
responses:
'200':
description: The formats.
content:
application/json:
schema:
$ref: '#/components/schemas/FormatsResponse'
components:
schemas:
FormatStatus:
type: string
enum:
- planned
- beta
- available
FormatsResponse:
type: object
required:
- formats
properties:
formats:
type: array
items:
$ref: '#/components/schemas/FormatInfo'
FormatInfo:
type: object
required:
- id
- name
- version
- syntax
- mediaType
- status
properties:
id:
type: string
example: peppol-bis-ubl
name:
type: string
example: Peppol BIS Billing
version:
type: string
example: 3.0.22
syntax:
type: string
example: UBL 2.1
mediaType:
type: string
example: application/xml
status:
$ref: '#/components/schemas/FormatStatus'
securitySchemes:
apiKey:
type: http
scheme: bearer
description: 'Beta API key, sent as `Authorization: Bearer <key>`. Removes the daily trial limit. Write to hello@bmk-hub.com for one.'
acceptTerms:
type: apiKey
in: header
name: X-Accept-Terms
description: 'Without an API key: the version of the Terms of Use you accept, currently `1.0`.'
externalDocs:
description: Quickstart with curl examples
url: https://valinvo.bmk-hub.com/quickstart