What this call does

Files one business document with CATHAGO, a single order, call-off, delivery note, invoice or credit note, and answers with the CATHAGO ID it was filed under.

Last updated: 15.05.2026

What you need first

  • A valid API key in the API-Key header, and your companyAccountId.
  • The CATHAGO supplierAccountId of a supplier already connected to your company.
  • Usually the projectId of the construction site, from the Projects section.

Start here. One document in, one document out: no mode to choose and no list to assemble. It always creates, so send each document once. Use Create or update business documents (bulk) when you have many at a time, or when you need "create it if it is new, change it if I have sent it before"; use Update one business document to change one that is already stored.

Parameters

Parameter

Required

Default

Meaning

companyAccountId

Yes

none

Your company ID, in the address line. The document is filed under it, and the supplier and the construction site are looked up inside it.

There is no mode on this call.

The fields

The data packet is a single business document object, not a list. Two fields are required.

Field

Type

Required

Default

Meaning

supplierAccountId

text

Yes

none

The supplier account, already connected to your company. Missing → 400, code BUSINESS_DOCUMENT_1005.

documentType

choice

Yes

none

ORDER, CALL_OFF, DELIVERY, RETURN_DELIVERY_NOTE, INVOICE, CREDIT_NOTE. Missing or misspelt → 400, code BUSINESS_DOCUMENT_1004.

externalId

text

No

(none)

Your own document number. Never checked for uniqueness.

id

text

No

(none)

CATHAGO ID. Ignored here, this call always creates. Only Update one business document uses it.

projectId

text

No

(none)

The construction site. Sets the site and its tenant company. An unknown one makes the call return nothing at all.

businessDocumentStatus

choice

No

see below

OPEN, REQUESTED, CONFIRMED, DELIVERED, RECLAIM and eleven more, listed in full on the bulk call.

contractIds

list

No

[]

The framework contracts the document draws on. Filling it is what makes a document a call-off.

metadata

object

No

(none)

Dates, payment terms, delivery details, buyer, receiver, notes.

additionalFields

list

No

[]

Your own extra fields; additionalFieldsMode decides the merge.

additionalFieldsMode

choice

No

ADD

ADD, UPDATE, DELETE, REPLACE. ADD keeps what is stored, UPDATE overwrites it.

attachments

list

No

[]

Files, each given as an address or as the file itself.

documentReferences

list

No

[]

Links to other documents, the order an invoice belongs to, the contract a call-off draws on.

signatures

list

No

[]

Who signed, and the signature image.

lineItems

list

No

[]

The line items. Each one gets its own CATHAGO ID in the answer.

Every block holds the fields it holds in Create or update business documents (bulk), where each one is explained in full, and the same rules apply: taxRate is a percentage, 19 means 19 %, never 0.19; an attachment needs either documentUrl or fileInBytes, or the entry is dropped in silence; a date CATHAGO cannot read is stored as nothing rather than refused.

Left out, businessDocumentStatus becomes REQUESTED on an ORDER and OPEN on an INVOICE, DELIVERY, RETURN_DELIVERY_NOTE or CREDIT_NOTE. A CALL_OFF gets none of these and fails with 500, always send a status with a call-off.

What you get back

200 OK, not 201, with the finished document, in the same shape as one entry of data in Search business documents. Anything empty is left out.

This answer is the only place you are given the document's CATHAGO ID, and each line item carries its own id, needed to change or remove that line later. Write both down.

sourcingType, how the document was sourced

Every document that comes back carries sourcingType beside documentType.

Value

Meaning

STANDARD

An ordinary document

CALL_OFF

Drawn down against a call-off agreement

CONCRETE

Drawn down against a concrete agreement

sourcingType replaced callOffType. callOffType was removed on 16.09.2026 and no longer comes back on any document. If your integration reads it, read sourcingType instead. The older spelling CALLOFF is still accepted on the way in and is stored as CALL_OFF.
documentType says what kind of document it is; sourcingType says where it was sourced from. A CALL_OFF document is normally sourcingType: CALL_OFF, but they are two separate fields and you should read the one you actually mean.

additionalFields in the answer

Every document comes back with the additionalFields you stored on it, in the same shape you sent:

Field

Meaning

technicalName

The key. This is what you match on.

displayName

The label a person sees, frozen onto this document

required

Stored, never enforced

showOnTopPdf

true prints the field in the document header

value

The value, always text

Fields you never sent can appear here. CATHAGO fills a document's additional fields from the settings behind it as well as from your payload, so the list that comes back may be longer than the list you sent. Match on technicalName and ignore what you do not recognise; never assume position.
Empty fields are left out of the answer rather than returned as null, so a document with no additional fields simply has no additionalFields key.

Common mistakes

What you see

Why

What to do

400, code BUSINESS_DOCUMENT_1005

supplierAccountId missing

Every document needs one.

400, code BUSINESS_DOCUMENT_1004

documentType missing or misspelt

A misspelt value counts as nothing sent, so DELIVERY_NOTE gives this error. The value is DELIVERY.

500 on a call-off

CALL_OFF sent with no businessDocumentStatus

Send a status explicitly, for example CONFIRMED.

The same document is in CATHAGO twice

This call always creates

Delete the extra one, and use the bulk call with mode=ADD_OR_UPDATE for anything you send more than once.

Tax is a hundred times too small

taxRate sent as 0.19

It is a percentage: send 19.

Adresse

HTTP
POST https://api.cathago.de/v3/api/gateways/integration/documents?companyAccountId=<companyAccountId>

Beispielaufruf

Terminal
curl -X POST 'https://api.cathago.de/v3/api/gateways/integration/documents?companyAccountId=<companyAccountId>' \
  -H 'API-Key: <Ihr API-Schlüssel>' \
  -H 'Content-Type: application/json' \
  -d '{
  "id": null,
  "externalId": "RE-2026-051204",
  "projectId": "b4TqR9wX",
  "supplierAccountId": "m2LpK7dV",
  "documentType": "INVOICE",
  "businessDocumentStatus": "OPEN",
  "contractIds": [],
  "additionalFieldsMode": "UPDATE",
  "additionalFields": [
    {
      "technicalName": "leistungszeitraum",
      "displayName": "Leistungszeitraum",
      "required": false,
      "showOnTopPdf": true,
      "value": "01.06.2026 - 16.06.2026"
    }
  ],
  "signatures": [],
  "metadata": {
    "invoiceDate": "2026-06-30",
    "orderDate": "2026-06-01",
    "orderId": "C0125051366449370",
    "notes": "Rechnung über die Teillieferung LS-2026-010233 vom 16.06.2026: 480 Steine und 90 Sack.",
    "paymentInformation": {
      "currency": "EUR",
      "paymentTime": "30 DAYS",
      "paymentDate": "2026-07-30",
      "skontoTime": "10 DAYS",
      "skontoPercent": 2,
      "earlyPaymentDate": "2026-07-10",
      "skontoDeadline": "10.07.2026",
      "totalSkontoAmount": 48.66,
      "taxUnit": "PERCENT",
      "taxRate": 19,
      "netAmount": 2433,
      "taxAmount": 462.27,
      "grossAmount": 2895.27,
      "discount": 0,
      "discountPercentage": 0
    }
  },
  "documentReferences": [
    {
      "referenceType": "ORDER",
      "documentReferenceId": "C112506010841072202",
      "externalId": "BE-2026-004822",
      "external": false
    },
    {
      "referenceType": "DELIVERY",
      "documentReferenceId": "C112506160922410502",
      "externalId": "LS-2026-010233",
      "external": false
    }
  ],
  "attachments": [
    {
      "externalId": "ANH-RE-2026-051204",
      "documentUrl": "https://erp.hoffmann-hochbau.de/belege/RE-2026-051204.pdf",
      "documentName": "rechnung-RE-2026-051204.pdf",
      "documentFormat": "PDF"
    }
  ],
  "lineItems": [
    {
      "title": "Kalksandstein KS XL 240 mm, 2DF",
      "articleNumber": "KS-XL-240-2DF",
      "quantity": 480,
      "quantityUnit": "Stück",
      "unitPrice": 3.85,
      "netPrice": 1848,
      "taxCode": "VAT19",
      "taxRate": 19,
      "tax": 351.12,
      "grossPrice": 2199.12,
      "position": "0010",
      "costCentre": "KST-4711",
      "lineItemSource": "INVOICE",
      "lineItemChannel": "API",
      "productType": "MATERIAL"
    },
    {
      "title": "Mauermörtel MG IIa, 40-kg-Sack",
      "articleNumber": "MOE-MGIIA-40",
      "quantity": 90,
      "quantityUnit": "Sack",
      "unitPrice": 6.5,
      "netPrice": 585,
      "taxCode": "VAT19",
      "taxRate": 19,
      "tax": 111.15,
      "grossPrice": 696.15,
      "position": "0020",
      "costCentre": "KST-4711",
      "lineItemSource": "INVOICE",
      "lineItemChannel": "API",
      "productType": "MATERIAL"
    }
  ]
}'

Beispiel für den Body

JSON
{
    "id": null,                                     // Optional. Cathago ID. This call always creates, so it is ignored here. Only Update one business document needs it
    "externalId": "RE-2026-051204",                 // Optional. The invoice number printed on the invoice
    "projectId": "b4TqR9wX",                        // Optional. Cathago ID of the construction site the invoice belongs to
    "supplierAccountId": "m2LpK7dV",                // Required. Cathago ID of the supplier who sent the invoice
    "documentType": "INVOICE",                      // Required. INVOICE is an invoice (Rechnung)
    "businessDocumentStatus": "OPEN",               // Optional. Left out, an INVOICE becomes OPEN on its own
    "contractIds": [],                              // Optional. Framework contracts the document draws on. Empty on an invoice - only a CALL_OFF fills it, see the Call-off example
    "additionalFieldsMode": "UPDATE",               // Optional, default ADD. ADD, UPDATE, DELETE or REPLACE. UPDATE overwrites a field that is already stored
    "additionalFields": [                           // Optional. Your own extra fields, carried along unchanged
        {
            "technicalName": "leistungszeitraum",   // Optional. The key. A blank one is skipped without a word
            "displayName": "Leistungszeitraum",     // Optional. The label shown in Cathago, frozen onto this document
            "required": false,                      // Optional, default false. Stored, never enforced
            "showOnTopPdf": true,                   // Optional, default false. true prints the field in the document header
            "value": "01.06.2026 - 16.06.2026"      // Optional. The value, always text
        }
    ],
    "signatures": [],                               // Optional. Who signed for the goods, and the signed file. Empty on an invoice, see the Delivery note example
    "metadata": {                                   // Optional. Dates, payment terms and the totals
        "invoiceDate": "2026-06-30",                // Optional. The invoice date, read by the invoiceFromDate / invoiceToDate filters
        "orderDate": "2026-06-01",                  // Optional. The order date. Date only, format YYYY-MM-DD
        "orderId": "C0125051366449370",             // Optional. Your ERP's order number, filterable through orderIds
        "notes": "Rechnung über die Teillieferung LS-2026-010233 vom 16.06.2026: 480 Steine und 90 Sack.", // Optional. Free note, findable through searchText
        "paymentInformation": {                     // Optional. The heart of an invoice: terms, tax and totals
            "currency": "EUR",                      // Optional. Free text currency
            "paymentTime": "30 DAYS",               // Optional. Free text payment term
            "paymentDate": "2026-07-30",            // Optional. The due date, read by the dueFromDate / dueToDate filters
            "skontoTime": "10 DAYS",                // Optional. Free text early-payment period
            "skontoPercent": 2.00,                  // Optional. Early-payment discount as a percentage: 2 means 2 %
            "earlyPaymentDate": "2026-07-10",       // Optional. Last day the discount applies, read by the skontoFromDate / skontoToDate filters
            "skontoDeadline": "10.07.2026",         // Optional. FREE TEXT, never read as a date. Print it as it stands on the invoice
            "totalSkontoAmount": 48.66,             // Optional. The early-payment discount in euros: 2 % of 2433.00
            "taxUnit": "PERCENT",                   // Optional. Free text tax key
            "taxRate": 19.0,                        // Optional, default 19.0. A PERCENTAGE, not a fraction: 19 means 19 %
            "netAmount": 2433.00,                   // Optional. Net total of the two lines below: 1848.00 + 585.00
            "taxAmount": 462.27,                    // Optional. Tax in euros: 19 % of 2433.00. A number, decimal point, no currency symbol
            "grossAmount": 2895.27,                 // Optional. Gross total: 2433.00 + 462.27
            "discount": 0.00,                       // Optional. Discount in euros
            "discountPercentage": 0.00              // Optional. Discount as a percentage
        }
    },
    "documentReferences": [                         // Optional. The order and the delivery note this invoice belongs to
        {
            "referenceType": "ORDER",               // Optional. ORDER, CALL_OFF, DELIVERY, RETURN_DELIVERY_NOTE, INVOICE, CREDIT_NOTE, PRICELIST, CONTRACT, OTHER
            "documentReferenceId": "C112506010841072202", // Optional. Cathago ID of the order
            "externalId": "BE-2026-004822",         // Optional. Your own number for that order
            "external": false                       // Optional, default false. false = a link inside Cathago, true = a number printed on paper
        },
        {                                           // Second entry - same fields as above, here the delivery note being invoiced
            "referenceType": "DELIVERY",
            "documentReferenceId": "C112506160922410502",
            "externalId": "LS-2026-010233",
            "external": false
        }
    ],
    "attachments": [                                // Optional. The invoice file itself
        {
            "externalId": "ANH-RE-2026-051204",     // Optional. Your own number for the file
            "documentUrl": "https://erp.hoffmann-hochbau.de/belege/RE-2026-051204.pdf", // Send this OR fileInBytes, else the entry is dropped in silence. Must be reachable without logging in
            "documentName": "rechnung-RE-2026-051204.pdf", // Optional. File name with extension
            "documentFormat": "PDF"                 // Optional. PDF, DOC, DOCX, JPEG, JPG, PNG, CSV, XLSX, XLS, XML, JSON, DAT, WDA
        }
    ],
    "lineItems": [                                  // Optional. The invoiced lines: what was delivered, at the agreed prices
        {
            "title": "Kalksandstein KS XL 240 mm, 2DF", // Optional. Short name of the article
            "articleNumber": "KS-XL-240-2DF",       // Optional. The supplier's article number
            "quantity": 480.00,                     // Optional. Quantity invoiced: all 480 that arrived
            "quantityUnit": "Stück",                // Optional. Free text unit
            "unitPrice": 3.85,                      // Optional. Net price for one unit, as ordered
            "netPrice": 1848.00,                    // Optional. Net amount of the line: 480 x 3.85. Stored exactly as sent, nothing is recalculated
            "taxCode": "VAT19",                     // Optional. Free text tax key
            "taxRate": 19.0,                        // Optional. A PERCENTAGE, not a fraction: 19 means 19 %
            "tax": 351.12,                          // Optional. Tax on the line, in euros: 19 % of 1848.00
            "grossPrice": 2199.12,                  // Optional. Gross amount of the line: 1848.00 + 351.12
            "position": "0010",                     // Optional. The number printed on the invoice. Left out, Cathago counts from 1
            "costCentre": "KST-4711",               // Optional. Cost centre
            "lineItemSource": "INVOICE",            // Optional. ORDER, ORDER_CONFIRMATION, DELIVERY_NOTE, SIGNED_DELIVERY_NOTE, RETURN_DELIVERY_NOTE, RECEIVED_GOODS, INVOICE, CREDIT_NOTE
            "lineItemChannel": "API",               // Optional. APP, EMAIL, EDI, API, NEVARIS or IN_APP. API is what an integration sends
            "productType": "MATERIAL"               // Optional. MATERIAL, SERVICE or DEPOSIT_GOODS
        },
        {                                           // Second entry - same fields as above, here only the 90 sacks that arrived, not the 96 called off
            "title": "Mauermörtel MG IIa, 40-kg-Sack",
            "articleNumber": "MOE-MGIIA-40",
            "quantity": 90.00,
            "quantityUnit": "Sack",
            "unitPrice": 6.50,
            "netPrice": 585.00,
            "taxCode": "VAT19",
            "taxRate": 19.0,
            "tax": 111.15,
            "grossPrice": 696.15,
            "position": "0020",
            "costCentre": "KST-4711",
            "lineItemSource": "INVOICE",
            "lineItemChannel": "API",
            "productType": "MATERIAL"
        }
    ]
}

Beispielantworten

Order

Status: 200 OK

JSON
{
  "id": "C112506010841072202",
  "externalId": "BE-2026-004822",
  "documentType": "ORDER",
  "sourcingType": "STANDARD",
  "documentStatus": "REQUESTED",
  "customer": {
    "id": "<companyAccountId>",
    "name": "Hoffmann Hochbau GmbH"
  },
  "project": {
    "id": "b4TqR9wX",
    "costCentre": "KST-4711",
    "name": "Neubau Wohnpark Süd-West",
    "address": "Ottostraße 14, 04103 Leipzig",
    "addressDetails": {
      "addressLineOne": "Ottostraße 14",
      "city": "Leipzig",
      "zipcode": "04103",
      "region": "Sachsen",
      "country": "Deutschland"
    }
  },
  "additionalFields": [
    {
      "technicalName": "leistungszeitraum",
      "displayName": "Leistungszeitraum",
      "required": false,
      "showOnTopPdf": true,
      "value": "01.06.2026 - 16.06.2026"
    },
    {
      "technicalName": "erp_beleg_nr",
      "displayName": "ERP-Belegnummer",
      "required": false,
      "value": "BE-2026-004711"
    }
  ],
  "metadata": {
    "id": "C112506010841072204",
    "supplierAccount": {
      "id": "m2LpK7dV",
      "name": "Weber & Sohn GmbH",
      "contactNumber": "+49 341 5559080",
      "creditorNo": "KRED-1042",
      "taxId": "DE812345678"
    },
    "orderDate": "2026-06-01",
    "orderId": "C0125051366449370",
    "notes": "Gesamtbestellung Bauabschnitt B. Abruf in Tranchen aus Rahmenvertrag RV-2026-0042.",
    "buyer": {
      "fullName": "Sharif Malik",
      "contactNumber": "+49 341 5551020",
      "email": "sharif.malik@cathago.de"
    },
    "paymentInformation": {
      "currency": "EUR",
      "paymentTime": "30 DAYS",
      "skontoTime": "10 DAYS",
      "skontoPercent": 2.0,
      "taxRate": 19.0,
      "netAmount": 6180.0,
      "taxAmount": 1174.2,
      "grossAmount": 7354.2,
      "totalSkontoAmount": 123.6
    },
    "deliveryInformation": {
      "startTime": "07:00",
      "endTime": "11:00",
      "deliveryType": "APPOINTMENT",
      "deliveryDate": "2026-06-16T07:00:00.000Z",
      "deliveryLocations": [
        {
          "id": "L4kR8vTz",
          "title": "Hauptlager Tor 3",
          "addressDetails": {
            "addressLineOne": "Ottostraße 14",
            "addressLineTwo": "Tor 3",
            "city": "Leipzig",
            "zipcode": "04103",
            "region": "Sachsen",
            "country": "Deutschland"
          }
        }
      ]
    }
  },
  "lineItems": [
    {
      "id": "C112506010841072211",
      "title": "Kalksandstein KS XL 240 mm, 2DF",
      "articleNumber": "KS-XL-240-2DF",
      "quantity": 1200.0,
      "quantityUnit": "Stück",
      "unitPrice": 3.85,
      "netPrice": 4620.0,
      "taxRate": 19.0,
      "tax": 877.8,
      "grossPrice": 5497.8,
      "position": "0010",
      "costCentre": "KST-4711",
      "lineItemStatus": "REQUESTED",
      "lineItemType": "ORDER",
      "lineItemSource": "ORDER",
      "productType": "MATERIAL",
      "supplierAccountId": "m2LpK7dV",
      "lineItemChannel": "API",
      "documentId": "C112506010841072202",
      "projectId": "b4TqR9wX",
      "companyAccountId": "<companyAccountId>"
    },
    {
      "id": "C112506010841072212",
      "title": "Mauermörtel MG IIa, 40-kg-Sack",
      "articleNumber": "MOE-MGIIA-40",
      "quantity": 240.0,
      "quantityUnit": "Sack",
      "unitPrice": 6.5,
      "netPrice": 1560.0,
      "taxRate": 19.0,
      "tax": 296.4,
      "grossPrice": 1856.4,
      "position": "0020",
      "costCentre": "KST-4711",
      "lineItemStatus": "REQUESTED",
      "lineItemType": "ORDER",
      "lineItemSource": "ORDER",
      "productType": "MATERIAL",
      "supplierAccountId": "m2LpK7dV",
      "lineItemChannel": "API",
      "documentId": "C112506010841072202",
      "projectId": "b4TqR9wX",
      "companyAccountId": "<companyAccountId>"
    }
  ],
  "createdBy": "sharif.malik@cathago.de",
  "createdAt": "2026-06-01T08:41:07.222Z",
  "lastModifiedAt": "2026-06-01T08:41:07.222Z"
}

Call-off

Status: 200 OK

JSON
{
  "id": "C112506050915330402",
  "externalId": "AB-2026-000318",
  "documentType": "CALL_OFF",
  "sourcingType": "CALL_OFF",
  "documentStatus": "CONFIRMED",
  "customer": {
    "id": "<companyAccountId>",
    "name": "Hoffmann Hochbau GmbH"
  },
  "project": {
    "id": "b4TqR9wX",
    "costCentre": "KST-4711",
    "name": "Neubau Wohnpark Süd-West",
    "address": "Ottostraße 14, 04103 Leipzig",
    "addressDetails": {
      "addressLineOne": "Ottostraße 14",
      "city": "Leipzig",
      "zipcode": "04103",
      "region": "Sachsen",
      "country": "Deutschland"
    }
  },
  "additionalFields": [
    {
      "technicalName": "leistungszeitraum",
      "displayName": "Leistungszeitraum",
      "required": false,
      "showOnTopPdf": true,
      "value": "01.06.2026 - 16.06.2026"
    },
    {
      "technicalName": "erp_beleg_nr",
      "displayName": "ERP-Belegnummer",
      "required": false,
      "value": "BE-2026-004711"
    }
  ],
  "metadata": {
    "id": "C112506050915330404",
    "supplierAccount": {
      "id": "m2LpK7dV",
      "name": "Weber & Sohn GmbH",
      "contactNumber": "+49 341 5559080",
      "creditorNo": "KRED-1042",
      "taxId": "DE812345678"
    },
    "orderDate": "2026-06-05",
    "orderId": "C0125051366449370",
    "notes": "Abruf 1 von 3 aus Rahmenvertrag RV-2026-0042 zur Bestellung BE-2026-004822.",
    "buyer": {
      "fullName": "Sharif Malik",
      "contactNumber": "+49 341 5551020",
      "email": "sharif.malik@cathago.de"
    },
    "paymentInformation": {
      "currency": "EUR",
      "taxRate": 19.0,
      "netAmount": 2472.0,
      "taxAmount": 469.68,
      "grossAmount": 2941.68
    },
    "deliveryInformation": {
      "startTime": "07:00",
      "endTime": "11:00",
      "deliveryType": "APPOINTMENT",
      "deliveryDate": "2026-06-16T07:00:00.000Z"
    }
  },
  "documentReferences": [
    {
      "id": "R112506050915330421",
      "referenceType": "CONTRACT",
      "documentReferenceId": "K8mQ3vRt",
      "externalId": "RV-2026-0042",
      "external": false,
      "referencedResolved": true,
      "referencedStatus": "ACTIVE",
      "referencedDocumentType": "CONTRACT",
      "referencedExternalId": "RV-2026-0042",
      "referencedDate": "2026-01-15T00:00:00.000Z",
      "referencedChannelType": "APP"
    },
    {
      "id": "R112506050915330422",
      "referenceType": "ORDER",
      "documentReferenceId": "C112506010841072202",
      "externalId": "BE-2026-004822",
      "external": false,
      "referencedResolved": true,
      "referencedStatus": "REQUESTED",
      "referencedDocumentType": "ORDER",
      "referencedExternalId": "BE-2026-004822",
      "referencedDate": "2026-06-01T00:00:00.000Z",
      "referencedChannelType": "API"
    }
  ],
  "lineItems": [
    {
      "id": "C112506050915330411",
      "callOffLineItemId": "AB-2026-000318-0010",
      "title": "Kalksandstein KS XL 240 mm, 2DF",
      "articleNumber": "KS-XL-240-2DF",
      "quantity": 480.0,
      "quantityUnit": "Stück",
      "unitPrice": 3.85,
      "netPrice": 1848.0,
      "taxRate": 19.0,
      "tax": 351.12,
      "grossPrice": 2199.12,
      "position": "0010",
      "costCentre": "KST-4711",
      "lineItemStatus": "CONFIRMED",
      "lineItemType": "CALL_OFF",
      "lineItemSource": "ORDER",
      "productType": "MATERIAL",
      "supplierAccountId": "m2LpK7dV",
      "lineItemChannel": "API",
      "documentId": "C112506050915330402",
      "projectId": "b4TqR9wX",
      "companyAccountId": "<companyAccountId>"
    },
    {
      "id": "C112506050915330412",
      "callOffLineItemId": "AB-2026-000318-0020",
      "title": "Mauermörtel MG IIa, 40-kg-Sack",
      "articleNumber": "MOE-MGIIA-40",
      "quantity": 96.0,
      "quantityUnit": "Sack",
      "unitPrice": 6.5,
      "netPrice": 624.0,
      "taxRate": 19.0,
      "tax": 118.56,
      "grossPrice": 742.56,
      "position": "0020",
      "costCentre": "KST-4711",
      "lineItemStatus": "CONFIRMED",
      "lineItemType": "CALL_OFF",
      "lineItemSource": "ORDER",
      "productType": "MATERIAL",
      "supplierAccountId": "m2LpK7dV",
      "lineItemChannel": "API",
      "documentId": "C112506050915330402",
      "projectId": "b4TqR9wX",
      "companyAccountId": "<companyAccountId>"
    }
  ],
  "createdBy": "sharif.malik@cathago.de",
  "createdAt": "2026-06-05T09:15:33.040Z",
  "lastModifiedAt": "2026-06-05T09:15:33.040Z"
}

Delivery note

Status: 200 OK

JSON
{
  "id": "C112506160922410502",
  "externalId": "LS-2026-010233",
  "documentType": "DELIVERY",
  "sourcingType": "STANDARD",
  "documentStatus": "PARTIALLY_DELIVERED",
  "customer": {
    "id": "<companyAccountId>",
    "name": "Hoffmann Hochbau GmbH"
  },
  "project": {
    "id": "b4TqR9wX",
    "costCentre": "KST-4711",
    "name": "Neubau Wohnpark Süd-West",
    "address": "Ottostraße 14, 04103 Leipzig",
    "addressDetails": {
      "addressLineOne": "Ottostraße 14",
      "city": "Leipzig",
      "zipcode": "04103",
      "region": "Sachsen",
      "country": "Deutschland"
    }
  },
  "additionalFields": [
    {
      "technicalName": "leistungszeitraum",
      "displayName": "Leistungszeitraum",
      "required": false,
      "showOnTopPdf": true,
      "value": "01.06.2026 - 16.06.2026"
    },
    {
      "technicalName": "erp_beleg_nr",
      "displayName": "ERP-Belegnummer",
      "required": false,
      "value": "BE-2026-004711"
    }
  ],
  "metadata": {
    "id": "C112506160922410504",
    "supplierAccount": {
      "id": "m2LpK7dV",
      "name": "Weber & Sohn GmbH",
      "contactNumber": "+49 341 5559080",
      "creditorNo": "KRED-1042",
      "taxId": "DE812345678"
    },
    "orderId": "C0125051366449370",
    "notes": "Teillieferung zu Abruf AB-2026-000318. 6 Sack Mörtel fehlen, Rest folgt.",
    "receiver": {
      "fullName": "Anja Krause",
      "contactNumber": "+49 341 5551044",
      "email": "anja.krause@cathago.de"
    },
    "deliveryInformation": {
      "startTime": "07:30",
      "endTime": "09:10",
      "deliveryType": "STANDARD",
      "deliveryId": "LF-2026-88231",
      "trackingId": "SPED-2026-88231",
      "totalWeight": 15600.0,
      "totalWeightUnit": "KG",
      "deliveryDate": "2026-06-16T07:30:00.000Z",
      "deliveryEndDate": "2026-06-16T09:10:00.000Z",
      "eDeliveryNote": true,
      "deliveryLocations": [
        {
          "id": "L4kR8vTz",
          "title": "Hauptlager Tor 3",
          "addressDetails": {
            "addressLineOne": "Ottostraße 14",
            "addressLineTwo": "Tor 3",
            "city": "Leipzig",
            "zipcode": "04103",
            "region": "Sachsen",
            "country": "Deutschland"
          }
        }
      ]
    }
  },
  "documentReferences": [
    {
      "id": "R112506160922410521",
      "referenceType": "ORDER",
      "documentReferenceId": "C112506010841072202",
      "externalId": "BE-2026-004822",
      "external": false,
      "referencedResolved": true,
      "referencedStatus": "REQUESTED",
      "referencedDocumentType": "ORDER",
      "referencedExternalId": "BE-2026-004822",
      "referencedDate": "2026-06-01T00:00:00.000Z",
      "referencedChannelType": "API"
    },
    {
      "id": "R112506160922410522",
      "referenceType": "CALL_OFF",
      "documentReferenceId": "C112506050915330402",
      "externalId": "AB-2026-000318",
      "external": false,
      "referencedResolved": true,
      "referencedStatus": "CONFIRMED",
      "referencedDocumentType": "CALL_OFF",
      "referencedExternalId": "AB-2026-000318",
      "referencedDate": "2026-06-05T00:00:00.000Z",
      "referencedChannelType": "API"
    }
  ],
  "signatures": [
    {
      "id": "S112506160922410531",
      "receivingPerson": "Anja Krause",
      "emailAddress": "anja.krause@cathago.de",
      "ipAddress": "203.0.113.45",
      "attachmentOutDto": {
        "id": "A112506160922410532",
        "externalId": "SIG-LS-2026-010233",
        "url": "https://erp.hoffmann-hochbau.de/unterschriften/LS-2026-010233.png",
        "fileName": "unterschrift-LS-2026-010233.png",
        "attachmentType": "SIGNATURE",
        "channel": "API",
        "createdAt": "2026-06-16T09:22:41.050Z"
      },
      "createdAt": "2026-06-16T09:10:12.418Z"
    }
  ],
  "lineItems": [
    {
      "id": "C112506160922410511",
      "title": "Kalksandstein KS XL 240 mm, 2DF",
      "articleNumber": "KS-XL-240-2DF",
      "quantity": 480.0,
      "shipmentQuantity": 480.0,
      "quantityUnit": "Stück",
      "position": "0010",
      "costCentre": "KST-4711",
      "lineItemStatus": "DELIVERED",
      "lineItemType": "DELIVERY",
      "lineItemSource": "DELIVERY_NOTE",
      "productType": "MATERIAL",
      "supplierAccountId": "m2LpK7dV",
      "lineItemChannel": "API",
      "documentId": "C112506160922410502",
      "projectId": "b4TqR9wX",
      "companyAccountId": "<companyAccountId>"
    },
    {
      "id": "C112506160922410512",
      "title": "Mauermörtel MG IIa, 40-kg-Sack",
      "articleNumber": "MOE-MGIIA-40",
      "quantity": 96.0,
      "shipmentQuantity": 90.0,
      "quantityUnit": "Sack",
      "position": "0020",
      "costCentre": "KST-4711",
      "lineItemStatus": "PARTIALLY_DELIVERED",
      "lineItemType": "DELIVERY",
      "lineItemSource": "DELIVERY_NOTE",
      "productType": "MATERIAL",
      "supplierAccountId": "m2LpK7dV",
      "lineItemChannel": "API",
      "documentId": "C112506160922410502",
      "projectId": "b4TqR9wX",
      "companyAccountId": "<companyAccountId>"
    }
  ],
  "createdBy": "sharif.malik@cathago.de",
  "createdAt": "2026-06-16T09:22:41.050Z",
  "lastModifiedAt": "2026-06-16T09:22:41.050Z"
}

Return delivery note

Status: 200 OK

JSON
{
  "id": "C112506181035180602",
  "externalId": "RLS-2026-000147",
  "documentType": "RETURN_DELIVERY_NOTE",
  "sourcingType": "STANDARD",
  "documentStatus": "RECLAIM",
  "customer": {
    "id": "<companyAccountId>",
    "name": "Hoffmann Hochbau GmbH"
  },
  "project": {
    "id": "b4TqR9wX",
    "costCentre": "KST-4711",
    "name": "Neubau Wohnpark Süd-West",
    "address": "Ottostraße 14, 04103 Leipzig",
    "addressDetails": {
      "addressLineOne": "Ottostraße 14",
      "city": "Leipzig",
      "zipcode": "04103",
      "region": "Sachsen",
      "country": "Deutschland"
    }
  },
  "additionalFields": [
    {
      "technicalName": "leistungszeitraum",
      "displayName": "Leistungszeitraum",
      "required": false,
      "showOnTopPdf": true,
      "value": "01.06.2026 - 16.06.2026"
    },
    {
      "technicalName": "erp_beleg_nr",
      "displayName": "ERP-Belegnummer",
      "required": false,
      "value": "BE-2026-004711"
    }
  ],
  "metadata": {
    "id": "C112506181035180604",
    "supplierAccount": {
      "id": "m2LpK7dV",
      "name": "Weber & Sohn GmbH",
      "contactNumber": "+49 341 5559080",
      "creditorNo": "KRED-1042",
      "taxId": "DE812345678"
    },
    "orderId": "C0125051366449370",
    "notes": "20 Steine beim Abladen gebrochen, Rückgabe an Lieferfahrzeug am 18.06.2026.",
    "receiver": {
      "fullName": "Marco Weber",
      "contactNumber": "+49 341 5559086",
      "email": "marco.weber@weber-sohn.de"
    },
    "deliveryInformation": {
      "startTime": "13:00",
      "endTime": "13:40",
      "deliveryType": "STANDARD",
      "deliveryId": "RLF-2026-88407",
      "totalWeight": 500.0,
      "totalWeightUnit": "KG",
      "deliveryDate": "2026-06-18T13:00:00.000Z",
      "deliveryEndDate": "2026-06-18T13:40:00.000Z",
      "eDeliveryNote": true
    }
  },
  "documentReferences": [
    {
      "id": "R112506181035180621",
      "referenceType": "DELIVERY",
      "documentReferenceId": "C112506160922410502",
      "externalId": "LS-2026-010233",
      "external": false,
      "referencedResolved": true,
      "referencedStatus": "PARTIALLY_DELIVERED",
      "referencedDocumentType": "DELIVERY",
      "referencedExternalId": "LS-2026-010233",
      "referencedDate": "2026-06-16T07:30:00.000Z",
      "referencedChannelType": "API"
    }
  ],
  "lineItems": [
    {
      "id": "C112506181035180611",
      "title": "Kalksandstein KS XL 240 mm, 2DF",
      "articleNumber": "KS-XL-240-2DF",
      "quantity": 20.0,
      "shipmentQuantity": 20.0,
      "quantityUnit": "Stück",
      "unitPrice": 3.85,
      "netPrice": 77.0,
      "taxRate": 19.0,
      "tax": 14.63,
      "grossPrice": 91.63,
      "position": "0010",
      "costCentre": "KST-4711",
      "lineItemStatus": "RECLAIM",
      "lineItemType": "RETURN_DELIVERY_NOTE",
      "lineItemSource": "RETURN_DELIVERY_NOTE",
      "productType": "MATERIAL",
      "reclaim": {
        "description": "20 Steine beim Abladen der Teillieferung LS-2026-010233 gebrochen.",
        "reclaimType": "DAMAGED",
        "quantity": 20
      },
      "supplierAccountId": "m2LpK7dV",
      "lineItemChannel": "API",
      "documentId": "C112506181035180602",
      "projectId": "b4TqR9wX",
      "companyAccountId": "<companyAccountId>"
    }
  ],
  "createdBy": "sharif.malik@cathago.de",
  "createdAt": "2026-06-18T10:35:18.060Z",
  "lastModifiedAt": "2026-06-18T10:35:18.060Z"
}

Invoice

Status: 200 OK

JSON
{
  "id": "C112506301407520702",
  "externalId": "RE-2026-051204",
  "documentType": "INVOICE",
  "sourcingType": "STANDARD",
  "documentStatus": "OPEN",
  "customer": {
    "id": "<companyAccountId>",
    "name": "Hoffmann Hochbau GmbH"
  },
  "project": {
    "id": "b4TqR9wX",
    "costCentre": "KST-4711",
    "name": "Neubau Wohnpark Süd-West",
    "address": "Ottostraße 14, 04103 Leipzig",
    "addressDetails": {
      "addressLineOne": "Ottostraße 14",
      "city": "Leipzig",
      "zipcode": "04103",
      "region": "Sachsen",
      "country": "Deutschland"
    }
  },
  "additionalFields": [
    {
      "technicalName": "leistungszeitraum",
      "displayName": "Leistungszeitraum",
      "required": false,
      "showOnTopPdf": true,
      "value": "01.06.2026 - 16.06.2026"
    },
    {
      "technicalName": "erp_beleg_nr",
      "displayName": "ERP-Belegnummer",
      "required": false,
      "value": "BE-2026-004711"
    }
  ],
  "metadata": {
    "id": "C112506301407520704",
    "supplierAccount": {
      "id": "m2LpK7dV",
      "name": "Weber & Sohn GmbH",
      "contactNumber": "+49 341 5559080",
      "creditorNo": "KRED-1042",
      "taxId": "DE812345678"
    },
    "invoiceDate": "2026-06-30T00:00:00.000Z",
    "orderDate": "2026-06-01",
    "orderId": "C0125051366449370",
    "notes": "Rechnung über die Teillieferung LS-2026-010233 vom 16.06.2026: 480 Steine und 90 Sack.",
    "paymentInformation": {
      "currency": "EUR",
      "paymentTime": "30 DAYS",
      "paymentDate": "2026-07-30T00:00:00.000Z",
      "skontoTime": "10 DAYS",
      "skontoPercent": 2.0,
      "earlyPaymentDate": "2026-07-10T00:00:00.000Z",
      "skontoDeadline": "10.07.2026",
      "totalSkontoAmount": 48.66,
      "taxUnit": "PERCENT",
      "taxRate": 19.0,
      "netAmount": 2433.0,
      "taxAmount": 462.27,
      "grossAmount": 2895.27,
      "discount": 0.0,
      "discountPercentage": 0.0
    }
  },
  "attachedFiles": [
    {
      "id": "A112506301407520731",
      "externalId": "ANH-RE-2026-051204",
      "documentId": "C0625063014075207",
      "url": "https://erp.hoffmann-hochbau.de/belege/RE-2026-051204.pdf",
      "fileName": "rechnung-RE-2026-051204.pdf",
      "createdAt": "2026-06-30T14:07:52.070Z"
    }
  ],
  "documentReferences": [
    {
      "id": "R112506301407520721",
      "referenceType": "ORDER",
      "documentReferenceId": "C112506010841072202",
      "externalId": "BE-2026-004822",
      "external": false,
      "referencedResolved": true,
      "referencedStatus": "REQUESTED",
      "referencedDocumentType": "ORDER",
      "referencedExternalId": "BE-2026-004822",
      "referencedDate": "2026-06-01T00:00:00.000Z",
      "referencedChannelType": "API"
    },
    {
      "id": "R112506301407520722",
      "referenceType": "DELIVERY",
      "documentReferenceId": "C112506160922410502",
      "externalId": "LS-2026-010233",
      "external": false,
      "referencedResolved": true,
      "referencedStatus": "PARTIALLY_DELIVERED",
      "referencedDocumentType": "DELIVERY",
      "referencedExternalId": "LS-2026-010233",
      "referencedDate": "2026-06-16T07:30:00.000Z",
      "referencedChannelType": "API"
    }
  ],
  "lineItems": [
    {
      "id": "C112506301407520711",
      "title": "Kalksandstein KS XL 240 mm, 2DF",
      "articleNumber": "KS-XL-240-2DF",
      "quantity": 480.0,
      "quantityUnit": "Stück",
      "unitPrice": 3.85,
      "netPrice": 1848.0,
      "taxCode": "VAT19",
      "taxRate": 19.0,
      "tax": 351.12,
      "grossPrice": 2199.12,
      "position": "0010",
      "costCentre": "KST-4711",
      "lineItemStatus": "OPEN",
      "lineItemType": "INVOICE",
      "lineItemSource": "INVOICE",
      "productType": "MATERIAL",
      "supplierAccountId": "m2LpK7dV",
      "lineItemChannel": "API",
      "documentId": "C112506301407520702",
      "projectId": "b4TqR9wX",
      "companyAccountId": "<companyAccountId>"
    },
    {
      "id": "C112506301407520712",
      "title": "Mauermörtel MG IIa, 40-kg-Sack",
      "articleNumber": "MOE-MGIIA-40",
      "quantity": 90.0,
      "quantityUnit": "Sack",
      "unitPrice": 6.5,
      "netPrice": 585.0,
      "taxCode": "VAT19",
      "taxRate": 19.0,
      "tax": 111.15,
      "grossPrice": 696.15,
      "position": "0020",
      "costCentre": "KST-4711",
      "lineItemStatus": "OPEN",
      "lineItemType": "INVOICE",
      "lineItemSource": "INVOICE",
      "productType": "MATERIAL",
      "supplierAccountId": "m2LpK7dV",
      "lineItemChannel": "API",
      "documentId": "C112506301407520702",
      "projectId": "b4TqR9wX",
      "companyAccountId": "<companyAccountId>"
    }
  ],
  "createdBy": "sharif.malik@cathago.de",
  "createdAt": "2026-06-30T14:07:52.070Z",
  "lastModifiedAt": "2026-06-30T14:07:52.070Z"
}

Credit note

Status: 200 OK

JSON
{
  "id": "C112507060948260802",
  "externalId": "GS-2026-000412",
  "documentType": "CREDIT_NOTE",
  "sourcingType": "STANDARD",
  "documentStatus": "OPEN",
  "customer": {
    "id": "<companyAccountId>",
    "name": "Hoffmann Hochbau GmbH"
  },
  "project": {
    "id": "b4TqR9wX",
    "costCentre": "KST-4711",
    "name": "Neubau Wohnpark Süd-West",
    "address": "Ottostraße 14, 04103 Leipzig",
    "addressDetails": {
      "addressLineOne": "Ottostraße 14",
      "city": "Leipzig",
      "zipcode": "04103",
      "region": "Sachsen",
      "country": "Deutschland"
    }
  },
  "additionalFields": [
    {
      "technicalName": "leistungszeitraum",
      "displayName": "Leistungszeitraum",
      "required": false,
      "showOnTopPdf": true,
      "value": "01.06.2026 - 16.06.2026"
    },
    {
      "technicalName": "erp_beleg_nr",
      "displayName": "ERP-Belegnummer",
      "required": false,
      "value": "BE-2026-004711"
    }
  ],
  "metadata": {
    "id": "C112507060948260804",
    "supplierAccount": {
      "id": "m2LpK7dV",
      "name": "Weber & Sohn GmbH",
      "contactNumber": "+49 341 5559080",
      "creditorNo": "KRED-1042",
      "taxId": "DE812345678"
    },
    "invoiceDate": "2026-07-06T00:00:00.000Z",
    "orderId": "C0125051366449370",
    "notes": "Gutschrift für die 20 gebrochenen Steine aus Retoure RLS-2026-000147 zur Rechnung RE-2026-051204.",
    "paymentInformation": {
      "currency": "EUR",
      "taxRate": 19.0,
      "netAmount": -77.0,
      "taxAmount": -14.63,
      "grossAmount": -91.63
    }
  },
  "documentReferences": [
    {
      "id": "R112507060948260821",
      "referenceType": "INVOICE",
      "documentReferenceId": "C112506301407520702",
      "externalId": "RE-2026-051204",
      "external": false,
      "referencedResolved": true,
      "referencedStatus": "OPEN",
      "referencedDocumentType": "INVOICE",
      "referencedExternalId": "RE-2026-051204",
      "referencedDate": "2026-06-30T00:00:00.000Z",
      "referencedChannelType": "API"
    },
    {
      "id": "R112507060948260822",
      "referenceType": "RETURN_DELIVERY_NOTE",
      "documentReferenceId": "C112506181035180602",
      "externalId": "RLS-2026-000147",
      "external": false,
      "referencedResolved": true,
      "referencedStatus": "RECLAIM",
      "referencedDocumentType": "RETURN_DELIVERY_NOTE",
      "referencedExternalId": "RLS-2026-000147",
      "referencedDate": "2026-06-18T13:00:00.000Z",
      "referencedChannelType": "API"
    }
  ],
  "lineItems": [
    {
      "id": "C112507060948260811",
      "title": "Kalksandstein KS XL 240 mm, 2DF",
      "articleNumber": "KS-XL-240-2DF",
      "quantity": -20.0,
      "quantityUnit": "Stück",
      "unitPrice": 3.85,
      "netPrice": -77.0,
      "taxCode": "VAT19",
      "taxRate": 19.0,
      "tax": -14.63,
      "grossPrice": -91.63,
      "position": "0010",
      "costCentre": "KST-4711",
      "lineItemStatus": "OPEN",
      "lineItemType": "CREDIT_NOTE",
      "lineItemSource": "CREDIT_NOTE",
      "productType": "MATERIAL",
      "reclaim": {
        "description": "20 Steine beim Abladen gebrochen, zurückgegeben mit RLS-2026-000147.",
        "reclaimType": "DAMAGED",
        "quantity": 20
      },
      "supplierAccountId": "m2LpK7dV",
      "lineItemChannel": "API",
      "documentId": "C112507060948260802",
      "projectId": "b4TqR9wX",
      "companyAccountId": "<companyAccountId>"
    }
  ],
  "createdBy": "sharif.malik@cathago.de",
  "createdAt": "2026-07-06T09:48:26.080Z",
  "lastModifiedAt": "2026-07-06T09:48:26.080Z"
}