What this call does
Changes one business document that already exists, an order, delivery note, invoice or credit note, named by its CATHAGO ID in the address.
Last updated: 15.05.2026
What you need first
- A valid API key in the
API-Keyheader, and yourcompanyAccountId. - The
documentId, theidfield from Search business documents. - The
supplierAccountIdand thedocumentType: both are required on an update too. - For every line item you want to change or remove: its CATHAGO
id, from the same search call.
Parameters
Parameter | Required | Default | Meaning |
|---|---|---|---|
| Yes | none | In the path after |
| Yes | none | Your company ID, in the address line. It is used to look up the supplier and the project, so a wrong one changes what the document points at. |
What an update leaves alone, and what it adds to
This is not a replace:
What you send | What happens |
|---|---|
A field with a value | Overwrites the stored value. |
A field left out entirely | Left untouched. |
| Added to the files already there. Nothing is removed. |
| Added, with no duplicate check, send the same one twice and it is stored twice. |
| Added; an identical link is not stored twice, and a link to this same document is dropped. |
| Merged according to |
| Each entry acts on its own |
To remove a file, use Remove files from a business document. A signature or a reference cannot be removed through this call.
The fields
The data packet is a single business document object, not a list.
Field | Type | Required | Default | Meaning |
|---|---|---|---|---|
| text | No | (none) | CATHAGO ID. The ID in the address is what decides which document is changed. |
| text | No | (none) | Your own number. Overwrites what is stored. |
| text | No | (none) | The construction site. A different one moves the document, tenant company included. An unknown one makes the call return nothing at all. |
| text | Yes | none | The supplier account, already connected to your company. Missing → |
| choice | Yes | none |
|
| choice | No | derived from |
|
| object | No | (none) | Dates, payment, delivery, buyer, receiver, notes. |
| list | No |
| Your own extra fields. |
| choice | No |
|
|
| list | No |
| Files, added to those already there. |
| list | No |
| Links to other documents, added. |
| list | No |
| Who signed, added. |
| list | No |
| The line items. |
The blocks inside the document object hold exactly the fields they hold in Create or update business documents (bulk), where each one is explained in full. Everything in them is optional:
metadatanoneorderDate(YYYY-MM-DD),orderConfirmationDate,invoiceDate,notes,orderId,signatureDetected,buyerandreceiver(eachid,fullName,contactNumber,email),paymentInformation,deliveryInformation. Never sendsupplierAccountorcompany, CATHAGO overwrites both.metadata.paymentInformationnonecurrency,paymentTime,taxUnit,skontoTime,skontoDeadline(text, never read as a date),paymentDate(the due date),earlyPaymentDate,taxAmount,discount,netAmount,grossAmount,totalSkontoAmount,skontoPercent,discountPercentage, andtaxRatenonea percentage, not a fraction:19means 19 %, and it defaults to19.0.metadata.deliveryInformationnonedeliveryDate,deliveryEndDate,startTimeandendTime(exactlyHH:mm),deliveryType(free text; CATHAGO knowsSTANDARD,EXPRESS,IMMEDIATE,APPOINTMENT,CLICK_AND_COLLECT,CUSTOM),trackingId,deliveryId,totalWeight,totalWeightUnit,eDeliveryNote,deliveryLocations(id,title, andaddressDetails:addressLineOne,addressLineTwo,city,country,zipcode,mapLink,region,comments).additionalFieldsnonetechnicalName(the key; a blank one is skipped without a word),displayName,required,value.additionalFieldsMode:ADD(default) keeps the stored entry and ignores yours,UPDATEoverwrites it,DELETEremoves it,REPLACEdiscards the whole stored list.attachmentsnonedocumentUrl(fetchable without a login) orfileInBytes(Base64), plusdocumentName,documentFormat(PDF,DOC,DOCX,JPEG,JPG,PNG,CSV,XLSX,XLS,XML,JSON,DAT,WDA) andexternalId. Both →fileInByteswins; neither → the entry is dropped in silence.documentReferencesnonereferenceType(ORDER,CALL_OFF,DELIVERY,RETURN_DELIVERY_NOTE,INVOICE,CREDIT_NOTE,PRICELIST,CONTRACT,OTHER),documentReferenceId,externalId,customType,external(defaultfalse). The answer addsreferencedStatus,referencedDate,referencedChannelType,referencedExternalId,referencedDocumentType,referencedResolvedandreferencedSigned.signaturesnonereceivingPerson,emailAddress,ipAddress,attachmentInDto(externalId,documentId,source,url,fileName,attachmentType,extractedData,referenceIncomingFileId).lineItemsnoneupdateMode(defaultADD;UPDATEandDELETEneed the line'sidfrom the search call,REPLACEfails with500),position,taxRate(a percentage),lineItemStatus(default: the document's status,OPEN,MATCHED,VERIFICATION_FAILED,VERIFIED,REJECTED,DELAYED,PARTIALLY_DELIVERED,DELIVERED,RECLAIM,DRAFT,IN_APPROVAL,REQUESTED,ASKED_FOR_CHANGE,CONFIRMED,PROCESS_VERIFICATION,PROCESSING_VERIFICATION,DECLINED,APPROVED),lineItemType(always overwritten withdocumentType, do not send it),lineItemChannel(defaultAPI;APP,EMAIL,EDI,API,NEVARIS,IN_APP),lineItemSource(ORDER,ORDER_CONFIRMATION,DELIVERY_NOTE,SIGNED_DELIVERY_NOTE,RETURN_DELIVERY_NOTE,RECEIVED_GOODS,INVOICE,CREDIT_NOTE),productType(MATERIAL,SERVICE,DEPOSIT_GOODS),depositGoodType(PALLETS,BOXES,LOOPS,BAGS,OTHERS),automationStatus(PROCESS_VERIFICATION,VERIFIED,VERIFICATION_FAILED,MATCHED),reclaim(description,reclaimType,quantity), and the plain fieldstitle,articleNumber,ean,description,type,productId,taxCode,notes,comment,costCentre,documentUrl,imageUrl,quantityUnit,billingQuantityUnit,billingPriceUnit,quantity,billingQuantity,shipmentQuantity,unitPrice,productNetPrice,netPrice,billingPrice,grossPrice,tax,additionalCharges,additionalChargesInPercent,discountGrossAmount,discountPercent,productAttributes,itemAttributes. Prices are stored exactly as you send them; nothing is recalculated.
Dates and times. orderConfirmationDate, invoiceDate, paymentDate, earlyPaymentDate, deliveryDate and deliveryEndDate accept six shapes: 2026-05-11T07:30:00.000Z · 2026-05-11T07:30:00 · 2026-05-11 07:30:00 · 2026-05-11T07:30 · 2026-05-11 · 11.05.2026. orderDate takes YYYY-MM-DD; startTime and endTime take HH:mm. A date CATHAGO cannot read becomes empty rather than an error, so check the answer for the date you sent.
What you get back
200 OK with the saved document, in the same shape as one entry of data in Search business documents: id, externalId, documentType, documentStatus, customer, project, metadata, additionalFields, attachedFiles, documentReferences, lineItems, signatures, connectedDocuments, createdBy, createdAt, lastModifiedAt. Anything empty is left out.
lineItems shows the lines as they now stand, each with its CATHAGO id. A line removed with updateMode: "DELETE" is no longer in the list.
businessDocumentStatus different from the stored one tells the rest of CATHAGO that the document has moved on. Setting the same one again sends nothing.sourcingType, how the document was sourced
Every document that comes back carries sourcingType beside documentType.
Value | Meaning |
|---|---|
| An ordinary document |
| Drawn down against a call-off agreement |
| 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 |
|---|---|
| The key. This is what you match on. |
| The label a person sees, frozen onto this document |
| Stored, never enforced |
|
|
| The value, always text |
technicalName and ignore what you do not recognise; never assume position.null, so a document with no additional fields simply has no additionalFields key.Common mistakes
What you see | Why | What to do |
|---|---|---|
| The | Fetch it with Search business documents. |
|
| It is required on updates too. |
|
| Required on updates too. A misspelt value counts as left out. |
A line item was duplicated instead of changed, or was not removed |
|
|
Files piled up |
| They are added, never replaced. Send them once. |
A field you sent is missing from the answer | The name is misspelt, and unknown names are dropped without a word | Copy the names from the tables above. |
|
| Send |
Tax is a hundred times too small |
| It is a percentage: send |
Adresse
PUT https://api.cathago.de/v3/api/gateways/integration/documents/:documentId?companyAccountId=<companyAccountId>Beispielaufruf
curl -X PUT 'https://api.cathago.de/v3/api/gateways/integration/documents/:documentId?companyAccountId=<companyAccountId>' \
-H 'API-Key: <Ihr API-Schlüssel>' \
-H 'Content-Type: application/json' \
-d '{
"externalId": "RE-2026-018223",
"projectId": "b4TqR9wX",
"supplierAccountId": "m2LpK7dV",
"documentType": "INVOICE",
"contractIds": [],
"businessDocumentStatus": "IN_APPROVAL",
"metadata": {
"orderDate": "2026-05-04",
"orderConfirmationDate": "2026-05-05 09:15:00",
"invoiceDate": "12.05.2026",
"notes": "Korrigierte Rechnung: Position 0020 storniert, Menge Position 0010 auf 26 m³ erhöht.",
"orderId": "C0125051366449370",
"signatureDetected": true,
"buyer": {
"id": "u9XmT3bF",
"fullName": "Sharif Malik",
"contactNumber": "+49 341 5551020",
"email": "sharif.malik@cathago.de"
},
"receiver": {
"id": "u2FbQ8rM",
"fullName": "Anja Krause",
"contactNumber": "+49 341 5551044",
"email": "anja.krause@cathago.de"
},
"paymentInformation": {
"paymentTime": "30 DAYS",
"currency": "EUR",
"taxUnit": "PERCENT",
"skontoTime": "10 DAYS",
"skontoDeadline": "2026-05-22",
"paymentDate": "2026-06-11 00:00:00",
"earlyPaymentDate": "2026-05-22 00:00:00",
"skontoPercent": 2,
"taxRate": 19,
"taxAmount": 585.39,
"discount": 0,
"netAmount": 3081,
"grossAmount": 3666.39,
"totalSkontoAmount": 61.62,
"discountPercentage": 0
},
"deliveryInformation": {
"startTime": "07:00",
"endTime": "11:00",
"trackingId": "SPED-2026-88231",
"deliveryId": "LF-2026-88231",
"deliveryType": "STANDARD",
"totalWeightUnit": "KG",
"totalWeight": 62400,
"deliveryDate": "2026-05-11 07:30:00",
"deliveryEndDate": "2026-05-11 11:00:00",
"eDeliveryNote": true,
"deliveryLocations": [
{
"id": "L4kR8vTz",
"title": "Hauptlager Tor 3",
"addressDetails": {
"addressLineOne": "Ottostraße 14",
"addressLineTwo": "Tor 3",
"city": "Leipzig",
"country": "Deutschland",
"zipcode": "04103",
"mapLink": "https://maps.example.com/?q=Ottostrasse+14+Leipzig",
"region": "Sachsen",
"comments": "Zufahrt nur über die Ottostraße."
}
}
]
}
},
"additionalFields": [
{
"technicalName": "standard__customer_number",
"displayName": "Kundennummer",
"required": true,
"value": "K-90231"
},
{
"technicalName": "pruefvermerk",
"displayName": "Prüfvermerk",
"required": false,
"value": "sachlich richtig, A. Krause, 13.05.2026"
}
],
"additionalFieldsMode": "UPDATE",
"attachments": [
{
"externalId": "ANH-2026-018223-1",
"documentUrl": "https://erp.weber-bau.de/belege/RE-2026-018223.pdf",
"documentName": "rechnung-RE-2026-018223.pdf",
"documentFormat": "PDF"
}
],
"documentReferences": [
{
"referenceType": "ORDER",
"documentReferenceId": "C112505041037112202",
"externalId": "BE-2026-004711",
"customType": "Bestellung aus dem ERP",
"external": false
}
],
"signatures": [
{
"receivingPerson": "Anja Krause",
"emailAddress": "anja.krause@cathago.de",
"ipAddress": "203.0.113.45",
"attachmentInDto": {
"externalId": "SIG-2026-018223-1",
"documentId": "C0625051306691163",
"source": "site-tablet",
"url": "https://erp.weber-bau.de/unterschriften/LS-2026-009914.png",
"fileName": "unterschrift-LS-2026-009914.png",
"attachmentType": "SIGNATURE",
"extractedData": "Anja Krause, 11.05.2026 07:45",
"referenceIncomingFileId": "IF-2026-77120"
}
}
],
"lineItems": [
{
"updateMode": "UPDATE",
"id": "C092501271727426247",
"title": "Transportbeton C25/30 XC1 F3",
"articleNumber": "TB-C2530-XC1-F3",
"ean": "4048962011234",
"description": "Transportbeton C25/30, Expositionsklasse XC1, Konsistenz F3, Größtkorn 16 mm.",
"type": "MATERIAL",
"productId": "P3nQ7wLc",
"productAttributes": {
"hersteller": "Heidelberg Materials",
"festigkeitsklasse": "C25/30"
},
"itemAttributes": {
"einbauort": "Bodenplatte Haus B"
},
"quantity": 26,
"billingQuantity": 26,
"shipmentQuantity": 26,
"quantityUnit": "m³",
"billingQuantityUnit": "m³",
"billingPriceUnit": "m³",
"unitPrice": 118.5,
"productNetPrice": 118.5,
"netPrice": 3081,
"billingPrice": 3081,
"grossPrice": 3666.39,
"additionalCharges": 0,
"additionalChargesInPercent": 0,
"discountGrossAmount": 0,
"discountPercent": 0,
"taxCode": "VAT19",
"taxRate": 19,
"tax": 585.39,
"position": "0010",
"notes": "Menge nach Aufmaß korrigiert.",
"comment": "Freigabe Bauleitung 13.05.2026.",
"documentUrl": "https://erp.weber-bau.de/datenblaetter/TB-C2530.pdf",
"imageUrl": "https://erp.weber-bau.de/bilder/TB-C2530.jpg",
"costCentre": "KST-4711",
"lineItemStatus": "DELIVERED",
"lineItemSource": "ORDER",
"lineItemChannel": "API",
"productType": "MATERIAL",
"depositGoodType": "PALLETS",
"automationStatus": "VERIFIED",
"reclaim": {
"description": "Erste Fuhre 30 Minuten zu spät, keine Mängel an der Ware.",
"reclaimType": "LATE_DELIVERY",
"quantity": 1
}
},
{
"updateMode": "DELETE",
"id": "C092501271727426301"
}
]
}'Beispiel für den Body
{
"externalId": "RE-2026-018223", // Optional. Your own invoice number. Overwrites what is stored
"projectId": "b4TqR9wX", // Optional. A different one moves the document, tenant company included
"supplierAccountId": "m2LpK7dV", // Required on an update too. Missing -> 400 BUSINESS_DOCUMENT_1005
"documentType": "INVOICE", // Required on an update too. ORDER, CALL_OFF, DELIVERY, RETURN_DELIVERY_NOTE, INVOICE or CREDIT_NOTE,
"contractIds": [], // Optional. Deliberately empty: an ordinary order draws on no framework contract
"businessDocumentStatus": "IN_APPROVAL", // Optional. A different value raises a status-change notification inside Cathago
"metadata": { // Optional. Only the parts you send are overwritten
"orderDate": "2026-05-04", // Optional. Date only, format YYYY-MM-DD
"orderConfirmationDate": "2026-05-05 09:15:00", // Optional. Order confirmation
"invoiceDate": "12.05.2026", // Optional. Invoice date. The German shape DD.MM.YYYY is accepted
"notes": "Korrigierte Rechnung: Position 0020 storniert, Menge Position 0010 auf 26 m³ erhöht.", // Optional. Free note
"orderId": "C0125051366449370", // Optional. The related order
"signatureDetected": true, // Optional. Whether a signature was found on the document
"buyer": { // Optional. Who ordered
"id": "u9XmT3bF", // Optional. Cathago ID of the member
"fullName": "Sharif Malik", // Optional. What the buyerNames search filter matches
"contactNumber": "+49 341 5551020", // Optional. Phone number
"email": "sharif.malik@cathago.de" // Optional. Email address
},
"receiver": { // Optional. Who took delivery. Same four fields as buyer
"id": "u2FbQ8rM", // Optional. Cathago ID of the member
"fullName": "Anja Krause", // Optional. First and last name
"contactNumber": "+49 341 5551044", // Optional. Phone number
"email": "anja.krause@cathago.de" // Optional. Email address
},
"paymentInformation": { // Optional. Payment terms and totals
"paymentTime": "30 DAYS", // Optional. Free text payment term
"currency": "EUR", // Optional. Free text currency
"taxUnit": "PERCENT", // Optional. Free text tax key
"skontoTime": "10 DAYS", // Optional. Free text early-payment period
"skontoDeadline": "2026-05-22", // Optional. Free TEXT, never read as a date
"paymentDate": "2026-06-11 00:00:00", // Optional. The due date, read by the dueFromDate / dueToDate filters
"earlyPaymentDate": "2026-05-22 00:00:00", // Optional. Last day the discount applies
"skontoPercent": 2.00, // Optional. Early-payment discount as a percentage
"taxRate": 19.0, // Optional, default 19.0. A PERCENTAGE, not a fraction: 19 means 19 %
"taxAmount": 585.39, // Optional. Tax in euros
"discount": 0.00, // Optional. Discount in euros
"netAmount": 3081.00, // Optional. Net total
"grossAmount": 3666.39, // Optional. Gross total
"totalSkontoAmount": 61.62, // Optional. Early-payment discount in euros
"discountPercentage": 0.00 // Optional. Discount as a percentage
},
"deliveryInformation": { // Optional. When and where the goods arrived
"startTime": "07:00", // Optional. Start of the delivery window. Exactly HH:mm
"endTime": "11:00", // Optional. End of the delivery window. Exactly HH:mm
"trackingId": "SPED-2026-88231", // Optional. The carrier's tracking number
"deliveryId": "LF-2026-88231", // Optional. The carrier's own delivery number
"deliveryType": "STANDARD", // Optional. FREE TEXT. STANDARD, EXPRESS, IMMEDIATE, APPOINTMENT, CLICK_AND_COLLECT, CUSTOM are the known values
"totalWeightUnit": "KG", // Optional. Unit for totalWeight
"totalWeight": 62400.00, // Optional. Total weight in that unit
"deliveryDate": "2026-05-11 07:30:00", // Optional. Read by the deliveryFromDate / deliveryToDate filters
"deliveryEndDate": "2026-05-11 11:00:00", // Optional. End of a window that runs over several days
"eDeliveryNote": true, // Optional. true marks an electronic delivery note
"deliveryLocations": [ // Optional. Where on the site the goods went
{
"id": "L4kR8vTz", // Optional. Cathago ID of the storage location
"title": "Hauptlager Tor 3", // Optional. Name of the delivery point
"addressDetails": { // Optional. Postal address of the delivery point
"addressLineOne": "Ottostraße 14", // Optional. Street and number
"addressLineTwo": "Tor 3", // Optional. Gate, building, floor
"city": "Leipzig", // Optional. Town
"country": "Deutschland", // Optional. Country
"zipcode": "04103", // Optional. Postal code, as text
"mapLink": "https://maps.example.com/?q=Ottostrasse+14+Leipzig", // Optional. Link to a map
"region": "Sachsen", // Optional. State or region
"comments": "Zufahrt nur über die Ottostraße." // Optional. Note about access
}
}
]
}
},
"additionalFields": [ // Optional. Merged with what is stored, according to additionalFieldsMode
{
"technicalName": "standard__customer_number", // The key. A blank one is skipped without a word
"displayName": "Kundennummer", // Optional. The label a person sees, frozen onto the document
"required": true, // Optional. Stored, not enforced by Cathago
"value": "K-90231" // Optional. The value
},
{ // Second entry - same fields as above
"technicalName": "pruefvermerk",
"displayName": "Prüfvermerk",
"required": false,
"value": "sachlich richtig, A. Krause, 13.05.2026"
}
],
"additionalFieldsMode": "UPDATE", // Optional, default ADD. The default ADD would keep the stored entry and ignore your value
"attachments": [ // Optional. ADDED to the files already there. Nothing is replaced or removed
{
"externalId": "ANH-2026-018223-1", // Optional. Your own number for the file
"documentUrl": "https://erp.weber-bau.de/belege/RE-2026-018223.pdf", // Send this OR fileInBytes. Must be reachable without logging in
"documentName": "rechnung-RE-2026-018223.pdf", // Optional. File name with extension
"documentFormat": "PDF" // Optional. PDF, DOC, DOCX, JPEG, JPG, PNG, CSV, XLSX, XLS, XML, JSON, DAT, WDA
}
],
"documentReferences": [ // Optional. ADDED to the links already there; an identical link is not stored twice
{
"referenceType": "ORDER", // Optional. ORDER, CALL_OFF, DELIVERY, RETURN_DELIVERY_NOTE, INVOICE, CREDIT_NOTE, PRICELIST, CONTRACT, OTHER
"documentReferenceId": "C112505041037112202", // Optional. Cathago ID of the order this invoice belongs to
"externalId": "BE-2026-004711", // Optional. The order's external number
"customType": "Bestellung aus dem ERP", // Optional. The label to show when referenceType is OTHER
"external": false // Optional, default false. false = a link inside Cathago, true = a number printed on paper
}
],
"signatures": [ // Optional. ADDED with no duplicate check - send the same one twice and it is stored twice
{
"receivingPerson": "Anja Krause", // Optional. Name of the person who signed
"emailAddress": "anja.krause@cathago.de", // Optional. Email address of the signer
"ipAddress": "203.0.113.45", // Optional. Where the signature was captured
"attachmentInDto": { // Optional. The signature file, already stored in Cathago
"externalId": "SIG-2026-018223-1", // Optional. Your own number for the signature file
"documentId": "C0625051306691163", // Optional. ID of the file in Cathago's file store
"source": "site-tablet", // Optional. Free text: where the file came from
"url": "https://erp.weber-bau.de/unterschriften/LS-2026-009914.png", // Optional. Where the image can be reached
"fileName": "unterschrift-LS-2026-009914.png", // Optional. File name with extension
"attachmentType": "SIGNATURE", // Optional. Free text label for the file
"extractedData": "Anja Krause, 11.05.2026 07:45", // Optional. Free text read out of the image
"referenceIncomingFileId": "IF-2026-77120" // Optional. Link back to the incoming file
}
}
],
"lineItems": [ // Optional. Lines you do not mention here are left untouched
{
"updateMode": "UPDATE", // Required for a change. Left out, ADD applies and you get a duplicate line
"id": "C092501271727426247", // Required for UPDATE and DELETE. Cathago ID of the line, from the search call
"title": "Transportbeton C25/30 XC1 F3", // Optional. Short name of the article
"articleNumber": "TB-C2530-XC1-F3", // Optional. The supplier's article number
"ean": "4048962011234", // Optional. EAN barcode number
"description": "Transportbeton C25/30, Expositionsklasse XC1, Konsistenz F3, Größtkorn 16 mm.", // Optional. Full description
"type": "MATERIAL", // Optional. FREE TEXT, not a fixed list
"productId": "P3nQ7wLc", // Optional. Cathago ID of the article in the price list
"productAttributes": { // Optional. Free text pairs about the article; you choose the keys
"hersteller": "Heidelberg Materials", // A key you invent, stored unchanged
"festigkeitsklasse": "C25/30" // Another key you invent
},
"itemAttributes": { // Optional. Free text pairs about this line; you choose the keys
"einbauort": "Bodenplatte Haus B" // A key you invent, stored unchanged
},
"quantity": 26.00, // Optional. Corrected quantity
"billingQuantity": 26.00, // Optional. Quantity to be invoiced
"shipmentQuantity": 26.00, // Optional. Quantity actually delivered
"quantityUnit": "m³", // Optional. Free text unit
"billingQuantityUnit": "m³", // Optional. Free text unit on the invoice
"billingPriceUnit": "m³", // Optional. Free text price unit on the invoice
"unitPrice": 118.50, // Optional. Net price for one unit
"productNetPrice": 118.50, // Optional. The article's own net price
"netPrice": 3081.00, // Optional. Net amount of the line. Stored exactly as sent
"billingPrice": 3081.00, // Optional. Amount to be invoiced
"grossPrice": 3666.39, // Optional. Gross amount of the line
"additionalCharges": 0.00, // Optional. Surcharge in euros
"additionalChargesInPercent": 0.00, // Optional. Surcharge as a percentage
"discountGrossAmount": 0.00, // Optional. Discount in euros
"discountPercent": 0.00, // Optional. Discount as a percentage
"taxCode": "VAT19", // Optional. Free text tax key
"taxRate": 19.0, // Optional. A PERCENTAGE, not a fraction: 19 means 19 %
"tax": 585.39, // Optional. Tax on the line, in euros
"position": "0010", // Optional. The number printed on the paper document
"notes": "Menge nach Aufmaß korrigiert.", // Optional. Note on the line
"comment": "Freigabe Bauleitung 13.05.2026.", // Optional. A second, separate free-text field
"documentUrl": "https://erp.weber-bau.de/datenblaetter/TB-C2530.pdf", // Optional. Link to a data sheet
"imageUrl": "https://erp.weber-bau.de/bilder/TB-C2530.jpg", // Optional. Link to a picture of the article
"costCentre": "KST-4711", // Optional. Cost centre
"lineItemStatus": "DELIVERED", // Optional. Left out on a new line, the document's own status is copied down
"lineItemSource": "ORDER", // Optional. ORDER, ORDER_CONFIRMATION, DELIVERY_NOTE, SIGNED_DELIVERY_NOTE, RETURN_DELIVERY_NOTE, RECEIVED_GOODS, INVOICE, CREDIT_NOTE
"lineItemChannel": "API", // Optional, default API. APP, EMAIL, EDI, API, NEVARIS, IN_APP
"productType": "MATERIAL", // Optional. MATERIAL, SERVICE or DEPOSIT_GOODS
"depositGoodType": "PALLETS", // Optional. PALLETS, BOXES, LOOPS, BAGS or OTHERS. Only meaningful with productType DEPOSIT_GOODS
"automationStatus": "VERIFIED", // Optional. PROCESS_VERIFICATION, VERIFIED, VERIFICATION_FAILED or MATCHED
"reclaim": { // Optional. A complaint on this line
"description": "Erste Fuhre 30 Minuten zu spät, keine Mängel an der Ware.", // Optional. What is being complained about
"reclaimType": "LATE_DELIVERY", // Optional. FREE TEXT, not a fixed list
"quantity": 1 // Optional. How many units are affected. A whole number
}
},
{ // Second entry - a DELETE needs only these two fields
"updateMode": "DELETE",
"id": "C092501271727426301"
}
]
}