Skip to content

API reference

Save the invoicing profile

Invoicing API

PUT/v1/invoicing-profile

Saves the five answers as a new version. Only a signed-in person may call this. An API key is refused with 401 session_required.

Request body

application/json, required

  • smallBusinessbooleanRequired

    A small business under section 19 of the German VAT Act (UStG).

  • customersstringRequired

    Who the company mostly invoices.

    One of business, public, consumer.
  • priceEntrystringRequired
    One of net, gross.
  • constructionbooleanRequired

    Whether the company does construction work.

  • paymentDaysintegerRequired
    One of 7, 14, 30.

Response

A 200 answer carries these fields.

  • smallBusinessbooleanRequired

    A small business under section 19 of the German VAT Act (UStG).

  • customersstringRequired

    Who the company mostly invoices.

    One of business, public, consumer.
  • priceEntrystringRequired
    One of net, gross.
  • constructionbooleanRequired

    Whether the company does construction work.

  • paymentDaysintegerRequired
    One of 7, 14, 30.
  • versionintegerRequired

    0 when nothing was saved yet.

  • renderingsarray of stringRequired

    The files a new invoice is made as: cii for public buyers, else zugferd-pdf.

  • savedAtstring (date-time) or nullRequired
  • savedBystring or nullRequired

Status codes

Status Meaning
200 The new version.
400
401
501
PUT/v1/invoicing-profile
Example
curl -X PUT https://api.certinvo.com/v1/invoicing-profile \
  -H "Authorization: Bearer $CERTINVO_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @body.json
import { readFile } from 'node:fs/promises'

const response = await fetch(`https://api.certinvo.com/v1/invoicing-profile`, {
  method: 'PUT',
  headers: {
    Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: await readFile('body.json'),
})
console.log(response.status, await response.json())
import os

import requests

response = requests.put(
    "https://api.certinvo.com/v1/invoicing-profile",
    headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}", "Content-Type": "application/json"},
    data=open("body.json", "rb"),
)
print(response.status_code, response.text)
200
application/json
{
  "smallBusiness": true,
  "customers": "business",
  "priceEntry": "net",
  "construction": true,
  "paymentDays": 7,
  "version": 0,
  "renderings": [
    "string"
  ],
  "savedAt": "2026-09-17T09:30:00Z",
  "savedBy": "string"
}
Success response
PUT
/v1/invoicing-profile
Save the invoicing profile
All
›AuthenticationRequiredBearerAuth

Provide your API key in the Authorization: Bearer <key> header. Keys are stored locally in your browser.

›Headers2
›Bodyapplication/json
›Code Snippet
curl -X PUT "https://api.certinvo.com/v1/invoicing-profile" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "smallBusiness": true,
  "customers": "business",
  "priceEntry": "net",
  "construction": true,
  "paymentDays": 7
}...'
Response

No request sent yet

Configure parameters and click Send to view the response.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close