PUT
/v1/invoicing-profileSaves 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 ofbusiness,public,consumer. - priceEntrystringRequiredOne of
net,gross. - constructionbooleanRequired
Whether the company does construction work.
- paymentDaysintegerRequiredOne 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 ofbusiness,public,consumer. - priceEntrystringRequiredOne of
net,gross. - constructionbooleanRequired
Whether the company does construction work.
- paymentDaysintegerRequiredOne of
7,14,30. - versionintegerRequired
0 when nothing was saved yet.
- renderingsarray of stringRequired
The files a new invoice is made as:
ciifor public buyers, elsezugferd-pdf. - savedAtstring (date-time) or nullRequired
- savedBystring or nullRequired
Status codes
| Status | Meaning |
|---|---|
200 |
The new version. |
400 |
|
401 |
|
501 |
PUT
/v1/invoicing-profileExample
curl -X PUT https://api.certinvo.com/v1/invoicing-profile \
-H "Authorization: Bearer $CERTINVO_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @body.jsonimport { 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