Document
Manage ERP documents, including creation, updates, state transitions, line items, validation, printing, locking, picking, shipments, and workflows.
the Document API
transition id
Ggf. die ID der Ziel-Belegart
OK
POST /erp/documents HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 2222
{
"transitionId": "text",
"targetTypeId": 1,
"parameters": [],
"document": {
"accountId": "text",
"salesChannelId": "text",
"externalId": "text",
"externalNumber": "text",
"billingType": "GROSS",
"calculationMode": "HORIZONTAL",
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"supplierAccountId": 1,
"lines": [],
"targetDocumentType": {
"version": "text",
"info": {},
"id": "text",
"labels": [],
"category": "CUSTOMER_OFFER",
"showForManualDocumentCreation": true,
"defaultTypeOfCategory": false,
"active": true,
"shelfDocumentTypeRef": {
"id": "text"
},
"sequencerConfiguration": {
"version": "text",
"info": {},
"id": "text",
"configurationDetail": {
"type": "NON_POOLED_SEQUENCES",
"assignmentMode": "MANUAL",
"length": 1,
"padChar": "text",
"expression": "text",
"postExpression": "text",
"initialValue": 1,
"numberUnique": true
},
"alternativeConfiguration": {
"id": "text"
},
"active": true
},
"requiresBusinessRelationship": true,
"publishingPolicy": "AUTOMATIC",
"sortOrder": 1
},
"incomingGoodsPickTrolleyId": 1,
"incomingGoodsStorageBinId": 1,
"priceModifiers": [],
"posRegisterId": 1,
"cashDrawerId": 1,
"depositPaymentAmount": 1,
"contractDetail": {
"version": "text",
"info": {},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {},
"id": "text",
"posRegisterRef": {
"id": "text"
},
"cashDrawerRef": {
"id": "text"
},
"cashJournalRef": {
"id": "text"
},
"fiscalizationBackendRef": {
"id": "text"
},
"tssSignature": {},
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"posPayments": [],
"texts": [],
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"einvoice": true
}
}OK
{
"document": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"number": "text",
"accountNumber": "text",
"customerNumber": "text",
"ourCustomerNumber": "text",
"supplierNumber": "text",
"salesAgentNumber": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"published": false,
"frozen": false,
"qualifier": "SALE",
"accountId": "text",
"billingAccountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salesChannelRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"taxIdVerificationState": "NOT_YET_VERIFIED",
"valitoolValidationState": "NOT_VALIDATED",
"billingType": "GROSS",
"documentType": "text",
"documentTypeId": 1,
"documentTypeCategory": "CUSTOMER_OFFER",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text",
"description": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"totalBeforeModifier": 1,
"totalPriceModifier": 1,
"totalLinePriceModifier": 1,
"totalDocumentPriceModifier": 1,
"totalNetPrice": 1,
"totalVat": 1,
"totalGrossPrice": 1,
"roundingAmount": 1,
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true,
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"depositPaymentAmount": 1,
"depositPaymentDate": "2026-01-01",
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"dropShippingInvoiceApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"shippingCostSum": 1,
"priceModifiers": [],
"taxes": [],
"defaultAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"billingAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"deliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defaultStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"locationRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDiscountableTotalGrossPrice": 1,
"contractDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"posRegisterRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDrawerRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashJournalRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"fiscalizationBackendRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"tssSignature": {
"status": "FINISHED",
"responseData": "text",
"externalReference": "text",
"revision": 1
},
"externalReference": "text",
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"importType": "NOT_IMPORTED",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"processedByWorkflow": true,
"referencedOrderNumber": "text",
"additionalInfo": {
"calculationModeOrigin": "FROM_BILLING_ADDRESS",
"roundingMode": "NONE",
"en16931Origin": "FROM_BILLING_ADDRESS",
"buyerReferenceOrigin": "FROM_BILLING_ADDRESS",
"previousDecisions": "text",
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false,
"dropShipping": true,
"totalGrossVolumeInCubicMeters": 1
},
"hints": {
"details": []
},
"viewOptions": {
"revenueCalculation": {
"productPurchasePrice": 1,
"salesValue": 1,
"revenue": 1,
"revenueInPercent": 1
},
"loanValue": {
"accountId": 1,
"maximalLoan": 1,
"currentLoan": 1,
"nonInvoicedDocumentLoan": 1,
"receivableLoan": 1,
"payablesSum": 1,
"currentDocumentLoan": 1,
"remainingLoan": 1,
"exceededLoan": 1,
"unconsideredAmount": 1
},
"considerForCreditLimit": true,
"financeJournalAccountingInformation": {
"accountingStatus": "PROCESSING",
"financeBookingRunRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"accountingStatusUpdatedDate": "2026-01-01T00:00:00.000Z",
"runState": "PROCESSING"
},
"possiblePredecessorTypes": [
"text"
],
"sumAmountOfProgressInvoices": 1,
"sumAmountOfDepositInvoices": 1,
"sumAmountOfPartialInvoices": 1,
"sumAmountOfDeliveryInvoices": 1,
"depositInvoiceRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumOpenAmountForProgressInvoices": 1,
"totalAmountDependingFromBillingType": 1,
"orderRefs": [],
"picklistRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"autoPrintPaperReceipt": true
}
}OK
PUT /erp/documents HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 6813
{
"document": {
"version": "text",
"info": {},
"id": "text",
"number": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"accountId": "text",
"billingAccountRef": {
"id": "text"
},
"salesChannelRef": {
"id": "text"
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"billingType": "GROSS",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text"
},
"paymentTermRef": {
"id": "text",
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text"
},
"depositPaymentAmount": 1,
"deliveryTermRef": {
"id": "text"
},
"deliveryMethodRef": {
"id": "text"
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text"
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"priceModifiers": [],
"defaultAddress": {
"version": "text",
"info": {},
"id": "text",
"accountRef": {
"id": "text"
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text"
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text"
},
"paymentMethodRef": {
"id": "text"
},
"deliveryTermRef": {
"id": "text"
},
"deliveryMethodRef": {
"id": "text"
}
},
"billingAddress": {
"version": "text",
"info": {},
"id": "text",
"accountRef": {
"id": "text"
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text"
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text"
},
"paymentMethodRef": {
"id": "text"
},
"deliveryTermRef": {
"id": "text"
},
"deliveryMethodRef": {
"id": "text"
}
},
"deliveryAddress": {
"version": "text",
"info": {},
"id": "text",
"accountRef": {
"id": "text"
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text"
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text"
},
"paymentMethodRef": {
"id": "text"
},
"deliveryTermRef": {
"id": "text"
},
"deliveryMethodRef": {
"id": "text"
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {},
"id": "text",
"accountRef": {
"id": "text"
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text"
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text"
},
"paymentMethodRef": {
"id": "text"
},
"deliveryTermRef": {
"id": "text"
},
"deliveryMethodRef": {
"id": "text"
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text"
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text"
},
"defaultStorageRef": {
"id": "text"
},
"locationRef": {
"id": "text"
},
"contractDetail": {
"version": "text",
"info": {},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {},
"id": "text",
"posRegisterRef": {
"id": "text"
},
"cashDrawerRef": {
"id": "text"
},
"cashJournalRef": {
"id": "text"
},
"fiscalizationBackendRef": {
"id": "text"
},
"tssSignature": {},
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text"
},
"workbenchStorageRef": {
"id": "text"
},
"workbenchStorageBinRef": {
"id": "text"
},
"qualityAssuranceStorageRef": {
"id": "text"
},
"qualityAssuranceStorageBinRef": {
"id": "text"
},
"defectiveStorageRef": {
"id": "text"
},
"defectiveStorageBinRef": {
"id": "text"
},
"targetStorageRef": {
"id": "text"
},
"targetStorageBinRef": {
"id": "text"
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"additionalInfo": {
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false
},
"parameters": []
}OK
{
"document": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"number": "text",
"accountNumber": "text",
"customerNumber": "text",
"ourCustomerNumber": "text",
"supplierNumber": "text",
"salesAgentNumber": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"published": false,
"frozen": false,
"qualifier": "SALE",
"accountId": "text",
"billingAccountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salesChannelRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"taxIdVerificationState": "NOT_YET_VERIFIED",
"valitoolValidationState": "NOT_VALIDATED",
"billingType": "GROSS",
"documentType": "text",
"documentTypeId": 1,
"documentTypeCategory": "CUSTOMER_OFFER",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text",
"description": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"totalBeforeModifier": 1,
"totalPriceModifier": 1,
"totalLinePriceModifier": 1,
"totalDocumentPriceModifier": 1,
"totalNetPrice": 1,
"totalVat": 1,
"totalGrossPrice": 1,
"roundingAmount": 1,
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true,
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"depositPaymentAmount": 1,
"depositPaymentDate": "2026-01-01",
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"dropShippingInvoiceApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"shippingCostSum": 1,
"priceModifiers": [],
"taxes": [],
"defaultAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"billingAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"deliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defaultStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"locationRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDiscountableTotalGrossPrice": 1,
"contractDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"posRegisterRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDrawerRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashJournalRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"fiscalizationBackendRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"tssSignature": {
"status": "FINISHED",
"responseData": "text",
"externalReference": "text",
"revision": 1
},
"externalReference": "text",
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"importType": "NOT_IMPORTED",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"processedByWorkflow": true,
"referencedOrderNumber": "text",
"additionalInfo": {
"calculationModeOrigin": "FROM_BILLING_ADDRESS",
"roundingMode": "NONE",
"en16931Origin": "FROM_BILLING_ADDRESS",
"buyerReferenceOrigin": "FROM_BILLING_ADDRESS",
"previousDecisions": "text",
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false,
"dropShipping": true,
"totalGrossVolumeInCubicMeters": 1
},
"hints": {
"details": []
},
"viewOptions": {
"revenueCalculation": {
"productPurchasePrice": 1,
"salesValue": 1,
"revenue": 1,
"revenueInPercent": 1
},
"loanValue": {
"accountId": 1,
"maximalLoan": 1,
"currentLoan": 1,
"nonInvoicedDocumentLoan": 1,
"receivableLoan": 1,
"payablesSum": 1,
"currentDocumentLoan": 1,
"remainingLoan": 1,
"exceededLoan": 1,
"unconsideredAmount": 1
},
"considerForCreditLimit": true,
"financeJournalAccountingInformation": {
"accountingStatus": "PROCESSING",
"financeBookingRunRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"accountingStatusUpdatedDate": "2026-01-01T00:00:00.000Z",
"runState": "PROCESSING"
},
"possiblePredecessorTypes": [
"text"
],
"sumAmountOfProgressInvoices": 1,
"sumAmountOfDepositInvoices": 1,
"sumAmountOfPartialInvoices": 1,
"sumAmountOfDeliveryInvoices": 1,
"depositInvoiceRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumOpenAmountForProgressInvoices": 1,
"totalAmountDependingFromBillingType": 1,
"orderRefs": [],
"picklistRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"autoPrintPaperReceipt": true
}
}document identifier
OK
das gleiche wie transition id für das UI
transition id
label of this transition
state definition of the target state
Dokumenttypen
document-type-id des ziels
document-type-key des ziels
type-label
document-type ist Default für die Kategorie
Der Ziel-Status der Transition
Sortier-Reihenfolge
GET /erp/documents/{id}/states?languageCode=text HTTP/1.1
Host: api.example.com
Accept: */*
OK
[]document identifier
transition id
OK
PUT /erp/documents/{id}/states HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 2205
{
"transitionId": "text",
"parameters": [],
"document": {
"accountId": "text",
"salesChannelId": "text",
"externalId": "text",
"externalNumber": "text",
"billingType": "GROSS",
"calculationMode": "HORIZONTAL",
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"supplierAccountId": 1,
"lines": [],
"targetDocumentType": {
"version": "text",
"info": {},
"id": "text",
"labels": [],
"category": "CUSTOMER_OFFER",
"showForManualDocumentCreation": true,
"defaultTypeOfCategory": false,
"active": true,
"shelfDocumentTypeRef": {
"id": "text"
},
"sequencerConfiguration": {
"version": "text",
"info": {},
"id": "text",
"configurationDetail": {
"type": "NON_POOLED_SEQUENCES",
"assignmentMode": "MANUAL",
"length": 1,
"padChar": "text",
"expression": "text",
"postExpression": "text",
"initialValue": 1,
"numberUnique": true
},
"alternativeConfiguration": {
"id": "text"
},
"active": true
},
"requiresBusinessRelationship": true,
"publishingPolicy": "AUTOMATIC",
"sortOrder": 1
},
"incomingGoodsPickTrolleyId": 1,
"incomingGoodsStorageBinId": 1,
"priceModifiers": [],
"posRegisterId": 1,
"cashDrawerId": 1,
"depositPaymentAmount": 1,
"contractDetail": {
"version": "text",
"info": {},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {},
"id": "text",
"posRegisterRef": {
"id": "text"
},
"cashDrawerRef": {
"id": "text"
},
"cashJournalRef": {
"id": "text"
},
"fiscalizationBackendRef": {
"id": "text"
},
"tssSignature": {},
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"posPayments": [],
"texts": [],
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"einvoice": true
}
}OK
{
"document": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"number": "text",
"accountNumber": "text",
"customerNumber": "text",
"ourCustomerNumber": "text",
"supplierNumber": "text",
"salesAgentNumber": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"published": false,
"frozen": false,
"qualifier": "SALE",
"accountId": "text",
"billingAccountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salesChannelRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"taxIdVerificationState": "NOT_YET_VERIFIED",
"valitoolValidationState": "NOT_VALIDATED",
"billingType": "GROSS",
"documentType": "text",
"documentTypeId": 1,
"documentTypeCategory": "CUSTOMER_OFFER",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text",
"description": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"totalBeforeModifier": 1,
"totalPriceModifier": 1,
"totalLinePriceModifier": 1,
"totalDocumentPriceModifier": 1,
"totalNetPrice": 1,
"totalVat": 1,
"totalGrossPrice": 1,
"roundingAmount": 1,
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true,
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"depositPaymentAmount": 1,
"depositPaymentDate": "2026-01-01",
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"dropShippingInvoiceApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"shippingCostSum": 1,
"priceModifiers": [],
"taxes": [],
"defaultAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"billingAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"deliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defaultStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"locationRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDiscountableTotalGrossPrice": 1,
"contractDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"posRegisterRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDrawerRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashJournalRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"fiscalizationBackendRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"tssSignature": {
"status": "FINISHED",
"responseData": "text",
"externalReference": "text",
"revision": 1
},
"externalReference": "text",
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"importType": "NOT_IMPORTED",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"processedByWorkflow": true,
"referencedOrderNumber": "text",
"additionalInfo": {
"calculationModeOrigin": "FROM_BILLING_ADDRESS",
"roundingMode": "NONE",
"en16931Origin": "FROM_BILLING_ADDRESS",
"buyerReferenceOrigin": "FROM_BILLING_ADDRESS",
"previousDecisions": "text",
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false,
"dropShipping": true,
"totalGrossVolumeInCubicMeters": 1
},
"hints": {
"details": []
},
"viewOptions": {
"revenueCalculation": {
"productPurchasePrice": 1,
"salesValue": 1,
"revenue": 1,
"revenueInPercent": 1
},
"loanValue": {
"accountId": 1,
"maximalLoan": 1,
"currentLoan": 1,
"nonInvoicedDocumentLoan": 1,
"receivableLoan": 1,
"payablesSum": 1,
"currentDocumentLoan": 1,
"remainingLoan": 1,
"exceededLoan": 1,
"unconsideredAmount": 1
},
"considerForCreditLimit": true,
"financeJournalAccountingInformation": {
"accountingStatus": "PROCESSING",
"financeBookingRunRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"accountingStatusUpdatedDate": "2026-01-01T00:00:00.000Z",
"runState": "PROCESSING"
},
"possiblePredecessorTypes": [
"text"
],
"sumAmountOfProgressInvoices": 1,
"sumAmountOfDepositInvoices": 1,
"sumAmountOfPartialInvoices": 1,
"sumAmountOfDeliveryInvoices": 1,
"depositInvoiceRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumOpenAmountForProgressInvoices": 1,
"totalAmountDependingFromBillingType": 1,
"orderRefs": [],
"picklistRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"autoPrintPaperReceipt": true
}
}ID des Belegs
ID des Eintrags im Belegprotokoll
Request zur Anlage eines manuellen Eintrags ins Belegprotokoll
Text für das Belegprotokoll
OK
Belegprotokoll
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Typ des Dokuments zu diesem Protokolleintrag
Nummer des Dokuments zu diesem Protokolleintrag
Eintragsarten im DocumentProtocol
Text dieses Protokolleintrags
Benutzer von dem der Eintrag angelegt wurde
Zeitstempel dieses Protokolleintrags
PUT /erp/documents/{id}/protocol/{protocolId} HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"customMessage": "text"
}OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"documentTypeId": 1,
"documentTypeLabels": [],
"documentNumber": "text",
"type": "MANUAL",
"customMessage": "text",
"localizeableMessage": {
"messageCode": "text",
"messageParameters": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"formattedMessage": "text"
},
"userName": "text",
"timestamp": "2026-01-01T00:00:00.000Z"
}document identifier
OK
GET /erp/documents/{id}/print HTTP/1.1
Host: api.example.com
Accept: */*
OK
{}document identifier
output-format für mail/file-export
filename (ohne extension) bei einem file-export
outputType
OutputReportGroup Identifier (optional), sonst Default-Group des Moduls
sollen nur bereits veröffentlichte Dokumente beachtet werden?
falsesuccessful operation
printing not allowed for the current document state
PUT /erp/documents/{id}/print HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 129
{
"exportFormat": "PDF",
"exportFilename": "text",
"mailRecipients": [],
"outputType": "text",
"groupIdentifier": "text",
"published": false
}{}ID der gesperrten Resource
Token der zu verlängernden Sperre
Optionale Lease-Dauer in Sekunden
OK
Unique identifier of the Object
1PUT /erp/documents/{id}/leasable-lock/{lockToken}?leasePeriod=1 HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"key": "text",
"token": 1,
"userId": 1,
"lockedBySystem": true,
"validUntil": "2026-01-01T00:00:00.000Z",
"id": "1"
}ID der gesperrten Resource
Token der freizugebenden Sperre
OK
No content
DELETE /erp/documents/{id}/leasable-lock/{lockToken} HTTP/1.1
Host: api.example.com
Accept: */*
OK
No content
Pakete zu Belegen
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Position des Pakets
Gewicht des Pakets
Länge
Breite
Höhe
Trackingnummer
OK
Pakete zu Belegen
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Position des Pakets
Gewicht des Pakets
Länge
Breite
Höhe
Trackingnummer
PUT /erp/documents/{documentId}/parcel/{parcelId} HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 347
{
"version": "text",
"info": {},
"id": "text",
"documentRef": {
"id": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text"
},
"position": 1,
"weight": 1,
"weightUnitTypeRef": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"length": 1,
"width": 1,
"height": 1,
"sizeUnitTypeRef": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"lines": []
}OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"documentRef": {
"id": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text"
},
"position": 1,
"weight": 1,
"weightUnitTypeRef": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"length": 1,
"width": 1,
"height": 1,
"sizeUnitTypeRef": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"trackingNumber": "text",
"lines": []
}OK
PUT /erp/documents/document/{documentId}/line/{lineId} HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 5466
{
"documentLine": {
"version": "text",
"info": {},
"id": "text",
"articleId": "text",
"lineType": "ARTICLE_LINE",
"productType": "WITH_STOCK",
"number": "text",
"name": "text",
"description": "text",
"unitType": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"price": 1,
"priceUnit": 1,
"priceSelectionCriteria": {
"qualifier": "SALES",
"articleIds": [
1
],
"selectOnlyDefaultPrice": false,
"accountIds": [
1
],
"productGroupId": 1,
"priceGroupId": 1,
"date": "2026-01-01",
"quantity": 1,
"noteSpecialOfferPrice": true
},
"quantity": 1,
"taxSchemaRef": {
"id": "text"
},
"taxes": [],
"priceModifiers": [],
"texts": [],
"shippingCostDetail": {
"manualCosts": false,
"freeShipping": false,
"purchasePrice": 1
},
"deliveryTermRef": {
"id": "text"
},
"deliveryMethodRef": {
"id": "text"
},
"country": {
"id": 1,
"isoAlpha2": "text",
"isoAlpha3": "text"
},
"countryRegion": {
"id": "text"
},
"customsTariffNumber": "text",
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryText": "text",
"packageOptions": "text",
"externalReferenceVds": "text",
"netWeight": 1,
"totalNetWeight": 1,
"netWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"grossWeight": 1,
"totalGrossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"capacity": 1,
"capacityUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"baseCapacity": 1,
"baseCapacityUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"sourceLineRef": {
"id": 1,
"documentId": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text",
"articleNumber": "text",
"position": 1,
"name": "text",
"quantity": 1,
"price": 1,
"displayName": "text"
},
"baseLineId": 1,
"mainArticleLineRef": {
"id": "text"
},
"settledOpenItemRef": {
"id": "text"
},
"settledOpenItemBalance": 1,
"settledOpenItemPaymentDueDate": "2026-01-01",
"settledOpenItemDiscountAmount": 1,
"settledOpenItemComment": "text",
"customerOrderLineRef": {
"id": 1,
"documentId": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text",
"articleNumber": "text",
"position": 1,
"name": "text",
"quantity": 1,
"price": 1,
"displayName": "text"
},
"supplierOrderLineIds": [
1
],
"storage": {
"id": "text"
},
"components": [],
"fabricationComponents": [],
"bookings": [],
"commissions": [],
"previousDecisions": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"calculationData": "text",
"revenueCalculation": {},
"commissionOrigin": "NOT_COMMISSIONABLE",
"cashDiscountable": true,
"discountable": true,
"commissionable": false,
"warrantyInMonths": 1,
"contractDetail": {
"version": "text",
"info": {},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {},
"id": "text",
"posLineType": "CASH_PAYMENT",
"depositExpenseTypeId": 1,
"paymentMethodId": 1,
"externalPaymentId": "text",
"externalPaymentStatus": "PENDING",
"externalPaymentErrorMessage": "text",
"paymentOperation": "PAYMENT",
"cancelledExternalPaymentId": "text"
},
"fabricationDetail": {
"version": "text",
"info": {},
"id": "text",
"serialNumbers": [],
"quantityCommitted": 1,
"quantityInQA": 1,
"quantityDefective": 1,
"quantityFinished": 1,
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"returnDetail": {
"version": "text",
"info": {},
"id": "text",
"returnCategory": "MONETARY_COMPENSATION_ITEM_STAYS_WITH_CUSTOMER",
"goodsExchangeArticleRef": {
"id": "text"
},
"waitForReturnBeforeExchange": true,
"repairRequested": true,
"warrantyExchange": true,
"deliveryTermRef": {
"id": "text"
},
"deliveryMethodRef": {
"id": "text"
},
"replacementDeliveryTermRef": {
"id": "text"
},
"replacementDeliveryMethodRef": {
"id": "text"
},
"returnCauseRef": {
"id": "text"
},
"customerShareOnSurcharge": 1,
"customerShareOnReduction": 1
},
"financeBooking": {
"version": "text",
"info": {},
"id": "text",
"documentLineId": 1,
"ledgerNumber": "text",
"transactionKey": "text",
"costCenter1": "text",
"comment": "text",
"description": "text"
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"performanceDate": "2026-01-01",
"basePrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalLinePrice": 1,
"baseSalesValueNet": 1,
"progressInvoice": false,
"dropShippingPolicy": "ANY",
"unitGrossVolumeInCubicMeters": 1,
"convertedIntoBundleArticleRef": {
"id": "text"
},
"insertTerm": "MANUAL",
"hasAccessories": false,
"recalcLinePriceViaComponents": false,
"doPrintLabel": false,
"storageInfo": "text"
},
"additionalParameters": []
}OK
{
"document": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"number": "text",
"accountNumber": "text",
"customerNumber": "text",
"ourCustomerNumber": "text",
"supplierNumber": "text",
"salesAgentNumber": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"published": false,
"frozen": false,
"qualifier": "SALE",
"accountId": "text",
"billingAccountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salesChannelRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"taxIdVerificationState": "NOT_YET_VERIFIED",
"valitoolValidationState": "NOT_VALIDATED",
"billingType": "GROSS",
"documentType": "text",
"documentTypeId": 1,
"documentTypeCategory": "CUSTOMER_OFFER",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text",
"description": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"totalBeforeModifier": 1,
"totalPriceModifier": 1,
"totalLinePriceModifier": 1,
"totalDocumentPriceModifier": 1,
"totalNetPrice": 1,
"totalVat": 1,
"totalGrossPrice": 1,
"roundingAmount": 1,
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true,
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"depositPaymentAmount": 1,
"depositPaymentDate": "2026-01-01",
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"dropShippingInvoiceApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"shippingCostSum": 1,
"priceModifiers": [],
"taxes": [],
"defaultAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"billingAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"deliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defaultStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"locationRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDiscountableTotalGrossPrice": 1,
"contractDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"posRegisterRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDrawerRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashJournalRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"fiscalizationBackendRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"tssSignature": {
"status": "FINISHED",
"responseData": "text",
"externalReference": "text",
"revision": 1
},
"externalReference": "text",
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"importType": "NOT_IMPORTED",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"processedByWorkflow": true,
"referencedOrderNumber": "text",
"additionalInfo": {
"calculationModeOrigin": "FROM_BILLING_ADDRESS",
"roundingMode": "NONE",
"en16931Origin": "FROM_BILLING_ADDRESS",
"buyerReferenceOrigin": "FROM_BILLING_ADDRESS",
"previousDecisions": "text",
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false,
"dropShipping": true,
"totalGrossVolumeInCubicMeters": 1
},
"hints": {
"details": []
},
"viewOptions": {
"revenueCalculation": {
"productPurchasePrice": 1,
"salesValue": 1,
"revenue": 1,
"revenueInPercent": 1
},
"loanValue": {
"accountId": 1,
"maximalLoan": 1,
"currentLoan": 1,
"nonInvoicedDocumentLoan": 1,
"receivableLoan": 1,
"payablesSum": 1,
"currentDocumentLoan": 1,
"remainingLoan": 1,
"exceededLoan": 1,
"unconsideredAmount": 1
},
"considerForCreditLimit": true,
"financeJournalAccountingInformation": {
"accountingStatus": "PROCESSING",
"financeBookingRunRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"accountingStatusUpdatedDate": "2026-01-01T00:00:00.000Z",
"runState": "PROCESSING"
},
"possiblePredecessorTypes": [
"text"
],
"sumAmountOfProgressInvoices": 1,
"sumAmountOfDepositInvoices": 1,
"sumAmountOfPartialInvoices": 1,
"sumAmountOfDeliveryInvoices": 1,
"depositInvoiceRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumOpenAmountForProgressInvoices": 1,
"totalAmountDependingFromBillingType": 1,
"orderRefs": [],
"picklistRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"autoPrintPaperReceipt": true
}
}OK
DELETE /erp/documents/document/{documentId}/line/{lineId} HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"document": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"number": "text",
"accountNumber": "text",
"customerNumber": "text",
"ourCustomerNumber": "text",
"supplierNumber": "text",
"salesAgentNumber": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"published": false,
"frozen": false,
"qualifier": "SALE",
"accountId": "text",
"billingAccountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salesChannelRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"taxIdVerificationState": "NOT_YET_VERIFIED",
"valitoolValidationState": "NOT_VALIDATED",
"billingType": "GROSS",
"documentType": "text",
"documentTypeId": 1,
"documentTypeCategory": "CUSTOMER_OFFER",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text",
"description": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"totalBeforeModifier": 1,
"totalPriceModifier": 1,
"totalLinePriceModifier": 1,
"totalDocumentPriceModifier": 1,
"totalNetPrice": 1,
"totalVat": 1,
"totalGrossPrice": 1,
"roundingAmount": 1,
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true,
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"depositPaymentAmount": 1,
"depositPaymentDate": "2026-01-01",
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"dropShippingInvoiceApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"shippingCostSum": 1,
"priceModifiers": [],
"taxes": [],
"defaultAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"billingAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"deliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defaultStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"locationRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDiscountableTotalGrossPrice": 1,
"contractDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"posRegisterRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDrawerRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashJournalRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"fiscalizationBackendRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"tssSignature": {
"status": "FINISHED",
"responseData": "text",
"externalReference": "text",
"revision": 1
},
"externalReference": "text",
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"importType": "NOT_IMPORTED",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"processedByWorkflow": true,
"referencedOrderNumber": "text",
"additionalInfo": {
"calculationModeOrigin": "FROM_BILLING_ADDRESS",
"roundingMode": "NONE",
"en16931Origin": "FROM_BILLING_ADDRESS",
"buyerReferenceOrigin": "FROM_BILLING_ADDRESS",
"previousDecisions": "text",
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false,
"dropShipping": true,
"totalGrossVolumeInCubicMeters": 1
},
"hints": {
"details": []
},
"viewOptions": {
"revenueCalculation": {
"productPurchasePrice": 1,
"salesValue": 1,
"revenue": 1,
"revenueInPercent": 1
},
"loanValue": {
"accountId": 1,
"maximalLoan": 1,
"currentLoan": 1,
"nonInvoicedDocumentLoan": 1,
"receivableLoan": 1,
"payablesSum": 1,
"currentDocumentLoan": 1,
"remainingLoan": 1,
"exceededLoan": 1,
"unconsideredAmount": 1
},
"considerForCreditLimit": true,
"financeJournalAccountingInformation": {
"accountingStatus": "PROCESSING",
"financeBookingRunRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"accountingStatusUpdatedDate": "2026-01-01T00:00:00.000Z",
"runState": "PROCESSING"
},
"possiblePredecessorTypes": [
"text"
],
"sumAmountOfProgressInvoices": 1,
"sumAmountOfDepositInvoices": 1,
"sumAmountOfPartialInvoices": 1,
"sumAmountOfDeliveryInvoices": 1,
"depositInvoiceRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumOpenAmountForProgressInvoices": 1,
"totalAmountDependingFromBillingType": 1,
"orderRefs": [],
"picklistRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"autoPrintPaperReceipt": true
}
}OK
PATCH /erp/documents/document/{documentId}/line/{lineId} HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 5448
{
"line": {
"version": "text",
"info": {},
"id": "text",
"articleId": "text",
"lineType": "ARTICLE_LINE",
"productType": "WITH_STOCK",
"number": "text",
"name": "text",
"description": "text",
"unitType": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"price": 1,
"priceUnit": 1,
"priceSelectionCriteria": {
"qualifier": "SALES",
"articleIds": [
1
],
"selectOnlyDefaultPrice": false,
"accountIds": [
1
],
"productGroupId": 1,
"priceGroupId": 1,
"date": "2026-01-01",
"quantity": 1,
"noteSpecialOfferPrice": true
},
"quantity": 1,
"taxSchemaRef": {
"id": "text"
},
"taxes": [],
"priceModifiers": [],
"texts": [],
"shippingCostDetail": {
"manualCosts": false,
"freeShipping": false,
"purchasePrice": 1
},
"deliveryTermRef": {
"id": "text"
},
"deliveryMethodRef": {
"id": "text"
},
"country": {
"id": 1,
"isoAlpha2": "text",
"isoAlpha3": "text"
},
"countryRegion": {
"id": "text"
},
"customsTariffNumber": "text",
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryText": "text",
"packageOptions": "text",
"externalReferenceVds": "text",
"netWeight": 1,
"totalNetWeight": 1,
"netWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"grossWeight": 1,
"totalGrossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"capacity": 1,
"capacityUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"baseCapacity": 1,
"baseCapacityUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"sourceLineRef": {
"id": 1,
"documentId": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text",
"articleNumber": "text",
"position": 1,
"name": "text",
"quantity": 1,
"price": 1,
"displayName": "text"
},
"baseLineId": 1,
"mainArticleLineRef": {
"id": "text"
},
"settledOpenItemRef": {
"id": "text"
},
"settledOpenItemBalance": 1,
"settledOpenItemPaymentDueDate": "2026-01-01",
"settledOpenItemDiscountAmount": 1,
"settledOpenItemComment": "text",
"customerOrderLineRef": {
"id": 1,
"documentId": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text",
"articleNumber": "text",
"position": 1,
"name": "text",
"quantity": 1,
"price": 1,
"displayName": "text"
},
"supplierOrderLineIds": [
1
],
"storage": {
"id": "text"
},
"components": [],
"fabricationComponents": [],
"bookings": [],
"commissions": [],
"previousDecisions": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"calculationData": "text",
"revenueCalculation": {},
"commissionOrigin": "NOT_COMMISSIONABLE",
"cashDiscountable": true,
"discountable": true,
"commissionable": false,
"warrantyInMonths": 1,
"contractDetail": {
"version": "text",
"info": {},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {},
"id": "text",
"posLineType": "CASH_PAYMENT",
"depositExpenseTypeId": 1,
"paymentMethodId": 1,
"externalPaymentId": "text",
"externalPaymentStatus": "PENDING",
"externalPaymentErrorMessage": "text",
"paymentOperation": "PAYMENT",
"cancelledExternalPaymentId": "text"
},
"fabricationDetail": {
"version": "text",
"info": {},
"id": "text",
"serialNumbers": [],
"quantityCommitted": 1,
"quantityInQA": 1,
"quantityDefective": 1,
"quantityFinished": 1,
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"returnDetail": {
"version": "text",
"info": {},
"id": "text",
"returnCategory": "MONETARY_COMPENSATION_ITEM_STAYS_WITH_CUSTOMER",
"goodsExchangeArticleRef": {
"id": "text"
},
"waitForReturnBeforeExchange": true,
"repairRequested": true,
"warrantyExchange": true,
"deliveryTermRef": {
"id": "text"
},
"deliveryMethodRef": {
"id": "text"
},
"replacementDeliveryTermRef": {
"id": "text"
},
"replacementDeliveryMethodRef": {
"id": "text"
},
"returnCauseRef": {
"id": "text"
},
"customerShareOnSurcharge": 1,
"customerShareOnReduction": 1
},
"financeBooking": {
"version": "text",
"info": {},
"id": "text",
"documentLineId": 1,
"ledgerNumber": "text",
"transactionKey": "text",
"costCenter1": "text",
"comment": "text",
"description": "text"
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"performanceDate": "2026-01-01",
"basePrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalLinePrice": 1,
"baseSalesValueNet": 1,
"progressInvoice": false,
"dropShippingPolicy": "ANY",
"unitGrossVolumeInCubicMeters": 1,
"convertedIntoBundleArticleRef": {
"id": "text"
},
"insertTerm": "MANUAL",
"hasAccessories": false,
"recalcLinePriceViaComponents": false,
"doPrintLabel": false,
"storageInfo": "text"
},
"parameters": []
}OK
{
"document": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"number": "text",
"accountNumber": "text",
"customerNumber": "text",
"ourCustomerNumber": "text",
"supplierNumber": "text",
"salesAgentNumber": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"published": false,
"frozen": false,
"qualifier": "SALE",
"accountId": "text",
"billingAccountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salesChannelRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"taxIdVerificationState": "NOT_YET_VERIFIED",
"valitoolValidationState": "NOT_VALIDATED",
"billingType": "GROSS",
"documentType": "text",
"documentTypeId": 1,
"documentTypeCategory": "CUSTOMER_OFFER",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text",
"description": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"totalBeforeModifier": 1,
"totalPriceModifier": 1,
"totalLinePriceModifier": 1,
"totalDocumentPriceModifier": 1,
"totalNetPrice": 1,
"totalVat": 1,
"totalGrossPrice": 1,
"roundingAmount": 1,
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true,
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"depositPaymentAmount": 1,
"depositPaymentDate": "2026-01-01",
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"dropShippingInvoiceApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"shippingCostSum": 1,
"priceModifiers": [],
"taxes": [],
"defaultAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"billingAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"deliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defaultStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"locationRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDiscountableTotalGrossPrice": 1,
"contractDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"posRegisterRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDrawerRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashJournalRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"fiscalizationBackendRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"tssSignature": {
"status": "FINISHED",
"responseData": "text",
"externalReference": "text",
"revision": 1
},
"externalReference": "text",
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"importType": "NOT_IMPORTED",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"processedByWorkflow": true,
"referencedOrderNumber": "text",
"additionalInfo": {
"calculationModeOrigin": "FROM_BILLING_ADDRESS",
"roundingMode": "NONE",
"en16931Origin": "FROM_BILLING_ADDRESS",
"buyerReferenceOrigin": "FROM_BILLING_ADDRESS",
"previousDecisions": "text",
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false,
"dropShipping": true,
"totalGrossVolumeInCubicMeters": 1
},
"hints": {
"details": []
},
"viewOptions": {
"revenueCalculation": {
"productPurchasePrice": 1,
"salesValue": 1,
"revenue": 1,
"revenueInPercent": 1
},
"loanValue": {
"accountId": 1,
"maximalLoan": 1,
"currentLoan": 1,
"nonInvoicedDocumentLoan": 1,
"receivableLoan": 1,
"payablesSum": 1,
"currentDocumentLoan": 1,
"remainingLoan": 1,
"exceededLoan": 1,
"unconsideredAmount": 1
},
"considerForCreditLimit": true,
"financeJournalAccountingInformation": {
"accountingStatus": "PROCESSING",
"financeBookingRunRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"accountingStatusUpdatedDate": "2026-01-01T00:00:00.000Z",
"runState": "PROCESSING"
},
"possiblePredecessorTypes": [
"text"
],
"sumAmountOfProgressInvoices": 1,
"sumAmountOfDepositInvoices": 1,
"sumAmountOfPartialInvoices": 1,
"sumAmountOfDeliveryInvoices": 1,
"depositInvoiceRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumOpenAmountForProgressInvoices": 1,
"totalAmountDependingFromBillingType": 1,
"orderRefs": [],
"picklistRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"autoPrintPaperReceipt": true
}
}OK
PUT /erp/documents/document/{documentId}/line/{lineId}/move/{position} HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"document": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"number": "text",
"accountNumber": "text",
"customerNumber": "text",
"ourCustomerNumber": "text",
"supplierNumber": "text",
"salesAgentNumber": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"published": false,
"frozen": false,
"qualifier": "SALE",
"accountId": "text",
"billingAccountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salesChannelRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"taxIdVerificationState": "NOT_YET_VERIFIED",
"valitoolValidationState": "NOT_VALIDATED",
"billingType": "GROSS",
"documentType": "text",
"documentTypeId": 1,
"documentTypeCategory": "CUSTOMER_OFFER",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text",
"description": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"totalBeforeModifier": 1,
"totalPriceModifier": 1,
"totalLinePriceModifier": 1,
"totalDocumentPriceModifier": 1,
"totalNetPrice": 1,
"totalVat": 1,
"totalGrossPrice": 1,
"roundingAmount": 1,
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true,
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"depositPaymentAmount": 1,
"depositPaymentDate": "2026-01-01",
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"dropShippingInvoiceApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"shippingCostSum": 1,
"priceModifiers": [],
"taxes": [],
"defaultAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"billingAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"deliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defaultStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"locationRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDiscountableTotalGrossPrice": 1,
"contractDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"posRegisterRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDrawerRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashJournalRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"fiscalizationBackendRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"tssSignature": {
"status": "FINISHED",
"responseData": "text",
"externalReference": "text",
"revision": 1
},
"externalReference": "text",
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"importType": "NOT_IMPORTED",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"processedByWorkflow": true,
"referencedOrderNumber": "text",
"additionalInfo": {
"calculationModeOrigin": "FROM_BILLING_ADDRESS",
"roundingMode": "NONE",
"en16931Origin": "FROM_BILLING_ADDRESS",
"buyerReferenceOrigin": "FROM_BILLING_ADDRESS",
"previousDecisions": "text",
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false,
"dropShipping": true,
"totalGrossVolumeInCubicMeters": 1
},
"hints": {
"details": []
},
"viewOptions": {
"revenueCalculation": {
"productPurchasePrice": 1,
"salesValue": 1,
"revenue": 1,
"revenueInPercent": 1
},
"loanValue": {
"accountId": 1,
"maximalLoan": 1,
"currentLoan": 1,
"nonInvoicedDocumentLoan": 1,
"receivableLoan": 1,
"payablesSum": 1,
"currentDocumentLoan": 1,
"remainingLoan": 1,
"exceededLoan": 1,
"unconsideredAmount": 1
},
"considerForCreditLimit": true,
"financeJournalAccountingInformation": {
"accountingStatus": "PROCESSING",
"financeBookingRunRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"accountingStatusUpdatedDate": "2026-01-01T00:00:00.000Z",
"runState": "PROCESSING"
},
"possiblePredecessorTypes": [
"text"
],
"sumAmountOfProgressInvoices": 1,
"sumAmountOfDepositInvoices": 1,
"sumAmountOfPartialInvoices": 1,
"sumAmountOfDeliveryInvoices": 1,
"depositInvoiceRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumOpenAmountForProgressInvoices": 1,
"totalAmountDependingFromBillingType": 1,
"orderRefs": [],
"picklistRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"autoPrintPaperReceipt": true
}
}OK
FiBu-Buchung
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Id der Dokumentzeile
FiBu-Kontonummer
Buchungsschlüssel
Kostenstelle
Kommentar
Buchungstext
GET /erp/documents/document/{documentId}/line/{lineId}/financebooking HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"documentLineId": 1,
"ledgerNumber": "text",
"transactionKey": "text",
"costCenter1": "text",
"comment": "text",
"description": "text"
}FiBu-Buchung
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Id der Dokumentzeile
FiBu-Kontonummer
Buchungsschlüssel
Kostenstelle
Kommentar
Buchungstext
OK
FiBu-Buchung
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Id der Dokumentzeile
FiBu-Kontonummer
Buchungsschlüssel
Kostenstelle
Kommentar
Buchungstext
PUT /erp/documents/document/{documentId}/line/{lineId}/financebooking HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 164
{
"version": "text",
"info": {},
"id": "text",
"documentLineId": 1,
"ledgerNumber": "text",
"transactionKey": "text",
"costCenter1": "text",
"comment": "text",
"description": "text"
}OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"documentLineId": 1,
"ledgerNumber": "text",
"transactionKey": "text",
"costCenter1": "text",
"comment": "text",
"description": "text"
}OK
No content
DELETE /erp/documents/document/{documentId}/line/{lineId}/financebooking HTTP/1.1
Host: api.example.com
Accept: */*
OK
No content
document identifier
OK
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Geprüfte Ust-ID
Gültigkeit einer Ust-ID
Geprüfter Firmenname
Ergebnis der Detail-Prüfung einer Ust-ID
Geprüfter Ort
Ergebnis der Detail-Prüfung einer Ust-ID
Geprüfte PLZ
Ergebnis der Detail-Prüfung einer Ust-ID
Geprüfte Straße
Ergebnis der Detail-Prüfung einer Ust-ID
USt-ID Prüfverfahren
Ergebnis-Code der Prüfung
Ergebnis-Meldung der Prüfung (falls vorhanden
POST /erp/documents/{id}/verifyTaxId HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountAddressRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"documentAddressRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"taxIdentificationNumber": "text",
"validity": "NOT_YET_VALIDATED",
"validatedCompanyName": "text",
"companyNameValidationResult": "VALID",
"validatedCity": "text",
"cityValidationResult": "VALID",
"validatedPostalCode": "text",
"postalCodeValidationResult": "VALID",
"validatedStreet": "text",
"streetValidationResult": "VALID",
"usedApi": "NONE",
"apiResultCode": "text",
"apiResultMessage": "text"
}document identifier
OK
das gleiche wie transition id für das UI
transition id
label of this transition
state definition of the target state
Dokumenttypen
document-type-id des ziels
document-type-key des ziels
type-label
document-type ist Default für die Kategorie
Der Ziel-Status der Transition
Sortier-Reihenfolge
GET /erp/documents/{id}/types?languageCode=text HTTP/1.1
Host: api.example.com
Accept: */*
OK
[]the document identifier used as spec for the new document
transition id
Ggf. die ID der Ziel-Belegart
OK
POST /erp/documents/{id}/types HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 2222
{
"transitionId": "text",
"targetTypeId": 1,
"parameters": [],
"document": {
"accountId": "text",
"salesChannelId": "text",
"externalId": "text",
"externalNumber": "text",
"billingType": "GROSS",
"calculationMode": "HORIZONTAL",
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"supplierAccountId": 1,
"lines": [],
"targetDocumentType": {
"version": "text",
"info": {},
"id": "text",
"labels": [],
"category": "CUSTOMER_OFFER",
"showForManualDocumentCreation": true,
"defaultTypeOfCategory": false,
"active": true,
"shelfDocumentTypeRef": {
"id": "text"
},
"sequencerConfiguration": {
"version": "text",
"info": {},
"id": "text",
"configurationDetail": {
"type": "NON_POOLED_SEQUENCES",
"assignmentMode": "MANUAL",
"length": 1,
"padChar": "text",
"expression": "text",
"postExpression": "text",
"initialValue": 1,
"numberUnique": true
},
"alternativeConfiguration": {
"id": "text"
},
"active": true
},
"requiresBusinessRelationship": true,
"publishingPolicy": "AUTOMATIC",
"sortOrder": 1
},
"incomingGoodsPickTrolleyId": 1,
"incomingGoodsStorageBinId": 1,
"priceModifiers": [],
"posRegisterId": 1,
"cashDrawerId": 1,
"depositPaymentAmount": 1,
"contractDetail": {
"version": "text",
"info": {},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {},
"id": "text",
"posRegisterRef": {
"id": "text"
},
"cashDrawerRef": {
"id": "text"
},
"cashJournalRef": {
"id": "text"
},
"fiscalizationBackendRef": {
"id": "text"
},
"tssSignature": {},
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"posPayments": [],
"texts": [],
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"einvoice": true
}
}OK
{
"document": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"number": "text",
"accountNumber": "text",
"customerNumber": "text",
"ourCustomerNumber": "text",
"supplierNumber": "text",
"salesAgentNumber": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"published": false,
"frozen": false,
"qualifier": "SALE",
"accountId": "text",
"billingAccountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salesChannelRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"taxIdVerificationState": "NOT_YET_VERIFIED",
"valitoolValidationState": "NOT_VALIDATED",
"billingType": "GROSS",
"documentType": "text",
"documentTypeId": 1,
"documentTypeCategory": "CUSTOMER_OFFER",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text",
"description": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"totalBeforeModifier": 1,
"totalPriceModifier": 1,
"totalLinePriceModifier": 1,
"totalDocumentPriceModifier": 1,
"totalNetPrice": 1,
"totalVat": 1,
"totalGrossPrice": 1,
"roundingAmount": 1,
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true,
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"depositPaymentAmount": 1,
"depositPaymentDate": "2026-01-01",
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"dropShippingInvoiceApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"shippingCostSum": 1,
"priceModifiers": [],
"taxes": [],
"defaultAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"billingAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"deliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defaultStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"locationRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDiscountableTotalGrossPrice": 1,
"contractDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"posRegisterRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDrawerRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashJournalRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"fiscalizationBackendRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"tssSignature": {
"status": "FINISHED",
"responseData": "text",
"externalReference": "text",
"revision": 1
},
"externalReference": "text",
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"importType": "NOT_IMPORTED",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"processedByWorkflow": true,
"referencedOrderNumber": "text",
"additionalInfo": {
"calculationModeOrigin": "FROM_BILLING_ADDRESS",
"roundingMode": "NONE",
"en16931Origin": "FROM_BILLING_ADDRESS",
"buyerReferenceOrigin": "FROM_BILLING_ADDRESS",
"previousDecisions": "text",
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false,
"dropShipping": true,
"totalGrossVolumeInCubicMeters": 1
},
"hints": {
"details": []
},
"viewOptions": {
"revenueCalculation": {
"productPurchasePrice": 1,
"salesValue": 1,
"revenue": 1,
"revenueInPercent": 1
},
"loanValue": {
"accountId": 1,
"maximalLoan": 1,
"currentLoan": 1,
"nonInvoicedDocumentLoan": 1,
"receivableLoan": 1,
"payablesSum": 1,
"currentDocumentLoan": 1,
"remainingLoan": 1,
"exceededLoan": 1,
"unconsideredAmount": 1
},
"considerForCreditLimit": true,
"financeJournalAccountingInformation": {
"accountingStatus": "PROCESSING",
"financeBookingRunRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"accountingStatusUpdatedDate": "2026-01-01T00:00:00.000Z",
"runState": "PROCESSING"
},
"possiblePredecessorTypes": [
"text"
],
"sumAmountOfProgressInvoices": 1,
"sumAmountOfDepositInvoices": 1,
"sumAmountOfPartialInvoices": 1,
"sumAmountOfDeliveryInvoices": 1,
"depositInvoiceRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumOpenAmountForProgressInvoices": 1,
"totalAmountDependingFromBillingType": 1,
"orderRefs": [],
"picklistRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"autoPrintPaperReceipt": true
}
}document identifier
OK
description/delivery Text of this order (internal vds description)
POST /erp/documents/{id}/shipment HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"shipmentId": 1
}document identifier
OK
Belegprotokoll
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Typ des Dokuments zu diesem Protokolleintrag
Nummer des Dokuments zu diesem Protokolleintrag
Eintragsarten im DocumentProtocol
Text dieses Protokolleintrags
Benutzer von dem der Eintrag angelegt wurde
Zeitstempel dieses Protokolleintrags
GET /erp/documents/{id}/protocol HTTP/1.1
Host: api.example.com
Accept: */*
OK
[]ID des Belegs
Request zur Anlage eines manuellen Eintrags ins Belegprotokoll
Text für das Belegprotokoll
OK
Belegprotokoll
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Typ des Dokuments zu diesem Protokolleintrag
Nummer des Dokuments zu diesem Protokolleintrag
Eintragsarten im DocumentProtocol
Text dieses Protokolleintrags
Benutzer von dem der Eintrag angelegt wurde
Zeitstempel dieses Protokolleintrags
POST /erp/documents/{id}/protocol HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"customMessage": "text"
}OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"documentTypeId": 1,
"documentTypeLabels": [],
"documentNumber": "text",
"type": "MANUAL",
"customMessage": "text",
"localizeableMessage": {
"messageCode": "text",
"messageParameters": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"formattedMessage": "text"
},
"userName": "text",
"timestamp": "2026-01-01T00:00:00.000Z"
}ID einer Resource
OK
Unique identifier of the Object
1GET /erp/documents/{id}/leasable-lock HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"key": "text",
"token": 1,
"userId": 1,
"lockedBySystem": true,
"validUntil": "2026-01-01T00:00:00.000Z",
"id": "1"
}ID der zu sperrenden Resource
Optionale Lease-Dauer in Sekunden
OK
Unique identifier of the Object
1POST /erp/documents/{id}/leasable-lock HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"key": "text",
"token": 1,
"userId": 1,
"lockedBySystem": true,
"validUntil": "2026-01-01T00:00:00.000Z",
"id": "1"
}OK
No content
POST /erp/documents/{documentId}/try-transfer-into-picking/{picklistTemplateId} HTTP/1.1
Host: api.example.com
Accept: */*
OK
No content
Request zur Eingabeverarbeitung zu Belegen
Benutzereingabe/Scan
Die letzte verarbeitete Position
Die letzte verarbeitete Buchung
Liste von Eingaben, die nacheinander ausgeführt werden
OK
Response zur Eingabeverarbeitung zu Belegen
Die letzte verarbeitete Position
Die letzte verarbeitete Buchung
POST /erp/documents/{documentId}/process-input HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 92
{
"inputData": "text",
"lastProcessedLineId": 1,
"lastProcessedBookingId": 1,
"inputList": [
"text"
]
}OK
{
"message": {
"messageCode": "text",
"messageParameters": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"formattedMessage": "text"
},
"document": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"number": "text",
"accountNumber": "text",
"customerNumber": "text",
"ourCustomerNumber": "text",
"supplierNumber": "text",
"salesAgentNumber": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"published": false,
"frozen": false,
"qualifier": "SALE",
"accountId": "text",
"billingAccountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salesChannelRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"taxIdVerificationState": "NOT_YET_VERIFIED",
"valitoolValidationState": "NOT_VALIDATED",
"billingType": "GROSS",
"documentType": "text",
"documentTypeId": 1,
"documentTypeCategory": "CUSTOMER_OFFER",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text",
"description": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"totalBeforeModifier": 1,
"totalPriceModifier": 1,
"totalLinePriceModifier": 1,
"totalDocumentPriceModifier": 1,
"totalNetPrice": 1,
"totalVat": 1,
"totalGrossPrice": 1,
"roundingAmount": 1,
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true,
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"depositPaymentAmount": 1,
"depositPaymentDate": "2026-01-01",
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"dropShippingInvoiceApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"shippingCostSum": 1,
"priceModifiers": [],
"taxes": [],
"defaultAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"billingAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"deliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defaultStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"locationRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDiscountableTotalGrossPrice": 1,
"contractDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"posRegisterRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDrawerRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashJournalRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"fiscalizationBackendRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"tssSignature": {
"status": "FINISHED",
"responseData": "text",
"externalReference": "text",
"revision": 1
},
"externalReference": "text",
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"importType": "NOT_IMPORTED",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"processedByWorkflow": true,
"referencedOrderNumber": "text",
"additionalInfo": {
"calculationModeOrigin": "FROM_BILLING_ADDRESS",
"roundingMode": "NONE",
"en16931Origin": "FROM_BILLING_ADDRESS",
"buyerReferenceOrigin": "FROM_BILLING_ADDRESS",
"previousDecisions": "text",
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false,
"dropShipping": true,
"totalGrossVolumeInCubicMeters": 1
},
"lastProcessedLineId": 1,
"lastProcessedBookingId": 1,
"validationHints": {
"details": []
}
}OK
Pakete zu Belegen
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Position des Pakets
Gewicht des Pakets
Länge
Breite
Höhe
Trackingnummer
GET /erp/documents/{documentId}/parcels HTTP/1.1
Host: api.example.com
Accept: */*
OK
[]Pakete zu Belegen
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Position des Pakets
Gewicht des Pakets
Länge
Breite
Höhe
Trackingnummer
OK
Pakete zu Belegen
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Position des Pakets
Gewicht des Pakets
Länge
Breite
Höhe
Trackingnummer
POST /erp/documents/{documentId}/parcels HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 347
{
"version": "text",
"info": {},
"id": "text",
"documentRef": {
"id": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text"
},
"position": 1,
"weight": 1,
"weightUnitTypeRef": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"length": 1,
"width": 1,
"height": 1,
"sizeUnitTypeRef": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"lines": []
}OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"documentRef": {
"id": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text"
},
"position": 1,
"weight": 1,
"weightUnitTypeRef": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"length": 1,
"width": 1,
"height": 1,
"sizeUnitTypeRef": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"trackingNumber": "text",
"lines": []
}Request zur Erstellung des Jobs für Abrechnungen der Verträge
Ignore ID-List
Use ID-List
Abweichendes Belegdatum
Abweichendes Lieferdatum
Abrechnungszeitraum hinzufügen?
trueNotiz
Drucken?
falseOK
message context
message
POST /erp/documents/perform-contract-evaluation HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 337
{
"blackList": [
1
],
"whiteList": [
1
],
"variableSubstitutionList": {
"variableSubstitutions": []
},
"queryPredicate": {
"type": "JUNCTION",
"operator": "AND",
"children": [],
"property": "text",
"values": [
"text"
],
"visible": true,
"functions": [
"text"
]
},
"documentDate": "2026-01-01",
"deliveryDate": "2026-01-01",
"addBillingPeriod": true,
"note": "text",
"print": false
}OK
{
"context": "text",
"messageValue": "text"
}OK
POST /erp/documents/document/{documentId}/validate HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"xmlDetails": {
"valid": true,
"hasWarnings": true,
"validSchema": true,
"validNamespaces": true,
"validEncoding": true,
"validCodelists": true,
"validFormat": true,
"validVat": true,
"validBusinessRules": true,
"validProfile": [],
"warnings": [
"text"
],
"information": [
"text"
],
"errors": [
"text"
]
},
"pdfDetails": {
"valid": true,
"foundFlavour": "text",
"warnings": [
"text"
],
"information": [
"text"
],
"errors": [
"text"
]
},
"embeddingDetails": {
"validFileEmbedding": true,
"validFilename": true,
"validXMP": true,
"canExtractXML": true,
"versionFromXML": "text",
"documentTypeFromXML": "text",
"guidelineFromXML": "text",
"variantFromXML": "text",
"warnings": [
"text"
],
"information": [
"text"
],
"errors": [
"text"
]
},
"systemError": "text",
"shelfDocumentId": 1
}ID vom Pickwagen für den Wareneingang (wenn incomingGoodsStorageBinId = null)
ID vom Lagerplatz für den Wareneingang (wenn incomingGoodsPickTrolleyId = null)
OK
POST /erp/documents/document/{documentId}/multiple_lines HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 107
{
"documentLines": [],
"incomingGoodsPickTrolleyId": 1,
"incomingGoodsStorageBinId": 1,
"additionalParameters": []
}OK
{
"document": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"number": "text",
"accountNumber": "text",
"customerNumber": "text",
"ourCustomerNumber": "text",
"supplierNumber": "text",
"salesAgentNumber": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"published": false,
"frozen": false,
"qualifier": "SALE",
"accountId": "text",
"billingAccountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salesChannelRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"taxIdVerificationState": "NOT_YET_VERIFIED",
"valitoolValidationState": "NOT_VALIDATED",
"billingType": "GROSS",
"documentType": "text",
"documentTypeId": 1,
"documentTypeCategory": "CUSTOMER_OFFER",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text",
"description": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"totalBeforeModifier": 1,
"totalPriceModifier": 1,
"totalLinePriceModifier": 1,
"totalDocumentPriceModifier": 1,
"totalNetPrice": 1,
"totalVat": 1,
"totalGrossPrice": 1,
"roundingAmount": 1,
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true,
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"depositPaymentAmount": 1,
"depositPaymentDate": "2026-01-01",
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"dropShippingInvoiceApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"shippingCostSum": 1,
"priceModifiers": [],
"taxes": [],
"defaultAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"billingAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"deliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defaultStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"locationRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDiscountableTotalGrossPrice": 1,
"contractDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"posRegisterRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDrawerRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashJournalRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"fiscalizationBackendRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"tssSignature": {
"status": "FINISHED",
"responseData": "text",
"externalReference": "text",
"revision": 1
},
"externalReference": "text",
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"importType": "NOT_IMPORTED",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"processedByWorkflow": true,
"referencedOrderNumber": "text",
"additionalInfo": {
"calculationModeOrigin": "FROM_BILLING_ADDRESS",
"roundingMode": "NONE",
"en16931Origin": "FROM_BILLING_ADDRESS",
"buyerReferenceOrigin": "FROM_BILLING_ADDRESS",
"previousDecisions": "text",
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false,
"dropShipping": true,
"totalGrossVolumeInCubicMeters": 1
},
"hints": {
"details": []
},
"viewOptions": {
"revenueCalculation": {
"productPurchasePrice": 1,
"salesValue": 1,
"revenue": 1,
"revenueInPercent": 1
},
"loanValue": {
"accountId": 1,
"maximalLoan": 1,
"currentLoan": 1,
"nonInvoicedDocumentLoan": 1,
"receivableLoan": 1,
"payablesSum": 1,
"currentDocumentLoan": 1,
"remainingLoan": 1,
"exceededLoan": 1,
"unconsideredAmount": 1
},
"considerForCreditLimit": true,
"financeJournalAccountingInformation": {
"accountingStatus": "PROCESSING",
"financeBookingRunRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"accountingStatusUpdatedDate": "2026-01-01T00:00:00.000Z",
"runState": "PROCESSING"
},
"possiblePredecessorTypes": [
"text"
],
"sumAmountOfProgressInvoices": 1,
"sumAmountOfDepositInvoices": 1,
"sumAmountOfPartialInvoices": 1,
"sumAmountOfDeliveryInvoices": 1,
"depositInvoiceRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumOpenAmountForProgressInvoices": 1,
"totalAmountDependingFromBillingType": 1,
"orderRefs": [],
"picklistRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"autoPrintPaperReceipt": true
}
}OK
POST /erp/documents/document/{documentId}/line HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 5466
{
"documentLine": {
"version": "text",
"info": {},
"id": "text",
"articleId": "text",
"lineType": "ARTICLE_LINE",
"productType": "WITH_STOCK",
"number": "text",
"name": "text",
"description": "text",
"unitType": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"price": 1,
"priceUnit": 1,
"priceSelectionCriteria": {
"qualifier": "SALES",
"articleIds": [
1
],
"selectOnlyDefaultPrice": false,
"accountIds": [
1
],
"productGroupId": 1,
"priceGroupId": 1,
"date": "2026-01-01",
"quantity": 1,
"noteSpecialOfferPrice": true
},
"quantity": 1,
"taxSchemaRef": {
"id": "text"
},
"taxes": [],
"priceModifiers": [],
"texts": [],
"shippingCostDetail": {
"manualCosts": false,
"freeShipping": false,
"purchasePrice": 1
},
"deliveryTermRef": {
"id": "text"
},
"deliveryMethodRef": {
"id": "text"
},
"country": {
"id": 1,
"isoAlpha2": "text",
"isoAlpha3": "text"
},
"countryRegion": {
"id": "text"
},
"customsTariffNumber": "text",
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryText": "text",
"packageOptions": "text",
"externalReferenceVds": "text",
"netWeight": 1,
"totalNetWeight": 1,
"netWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"grossWeight": 1,
"totalGrossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"capacity": 1,
"capacityUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"baseCapacity": 1,
"baseCapacityUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"sourceLineRef": {
"id": 1,
"documentId": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text",
"articleNumber": "text",
"position": 1,
"name": "text",
"quantity": 1,
"price": 1,
"displayName": "text"
},
"baseLineId": 1,
"mainArticleLineRef": {
"id": "text"
},
"settledOpenItemRef": {
"id": "text"
},
"settledOpenItemBalance": 1,
"settledOpenItemPaymentDueDate": "2026-01-01",
"settledOpenItemDiscountAmount": 1,
"settledOpenItemComment": "text",
"customerOrderLineRef": {
"id": 1,
"documentId": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text",
"articleNumber": "text",
"position": 1,
"name": "text",
"quantity": 1,
"price": 1,
"displayName": "text"
},
"supplierOrderLineIds": [
1
],
"storage": {
"id": "text"
},
"components": [],
"fabricationComponents": [],
"bookings": [],
"commissions": [],
"previousDecisions": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"calculationData": "text",
"revenueCalculation": {},
"commissionOrigin": "NOT_COMMISSIONABLE",
"cashDiscountable": true,
"discountable": true,
"commissionable": false,
"warrantyInMonths": 1,
"contractDetail": {
"version": "text",
"info": {},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {},
"id": "text",
"posLineType": "CASH_PAYMENT",
"depositExpenseTypeId": 1,
"paymentMethodId": 1,
"externalPaymentId": "text",
"externalPaymentStatus": "PENDING",
"externalPaymentErrorMessage": "text",
"paymentOperation": "PAYMENT",
"cancelledExternalPaymentId": "text"
},
"fabricationDetail": {
"version": "text",
"info": {},
"id": "text",
"serialNumbers": [],
"quantityCommitted": 1,
"quantityInQA": 1,
"quantityDefective": 1,
"quantityFinished": 1,
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"returnDetail": {
"version": "text",
"info": {},
"id": "text",
"returnCategory": "MONETARY_COMPENSATION_ITEM_STAYS_WITH_CUSTOMER",
"goodsExchangeArticleRef": {
"id": "text"
},
"waitForReturnBeforeExchange": true,
"repairRequested": true,
"warrantyExchange": true,
"deliveryTermRef": {
"id": "text"
},
"deliveryMethodRef": {
"id": "text"
},
"replacementDeliveryTermRef": {
"id": "text"
},
"replacementDeliveryMethodRef": {
"id": "text"
},
"returnCauseRef": {
"id": "text"
},
"customerShareOnSurcharge": 1,
"customerShareOnReduction": 1
},
"financeBooking": {
"version": "text",
"info": {},
"id": "text",
"documentLineId": 1,
"ledgerNumber": "text",
"transactionKey": "text",
"costCenter1": "text",
"comment": "text",
"description": "text"
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"performanceDate": "2026-01-01",
"basePrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalLinePrice": 1,
"baseSalesValueNet": 1,
"progressInvoice": false,
"dropShippingPolicy": "ANY",
"unitGrossVolumeInCubicMeters": 1,
"convertedIntoBundleArticleRef": {
"id": "text"
},
"insertTerm": "MANUAL",
"hasAccessories": false,
"recalcLinePriceViaComponents": false,
"doPrintLabel": false,
"storageInfo": "text"
},
"additionalParameters": []
}OK
{
"document": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"number": "text",
"accountNumber": "text",
"customerNumber": "text",
"ourCustomerNumber": "text",
"supplierNumber": "text",
"salesAgentNumber": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"published": false,
"frozen": false,
"qualifier": "SALE",
"accountId": "text",
"billingAccountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salesChannelRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"taxIdVerificationState": "NOT_YET_VERIFIED",
"valitoolValidationState": "NOT_VALIDATED",
"billingType": "GROSS",
"documentType": "text",
"documentTypeId": 1,
"documentTypeCategory": "CUSTOMER_OFFER",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text",
"description": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"totalBeforeModifier": 1,
"totalPriceModifier": 1,
"totalLinePriceModifier": 1,
"totalDocumentPriceModifier": 1,
"totalNetPrice": 1,
"totalVat": 1,
"totalGrossPrice": 1,
"roundingAmount": 1,
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true,
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"depositPaymentAmount": 1,
"depositPaymentDate": "2026-01-01",
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"dropShippingInvoiceApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"shippingCostSum": 1,
"priceModifiers": [],
"taxes": [],
"defaultAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"billingAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"deliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defaultStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"locationRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDiscountableTotalGrossPrice": 1,
"contractDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"posRegisterRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDrawerRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashJournalRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"fiscalizationBackendRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"tssSignature": {
"status": "FINISHED",
"responseData": "text",
"externalReference": "text",
"revision": 1
},
"externalReference": "text",
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"importType": "NOT_IMPORTED",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"processedByWorkflow": true,
"referencedOrderNumber": "text",
"additionalInfo": {
"calculationModeOrigin": "FROM_BILLING_ADDRESS",
"roundingMode": "NONE",
"en16931Origin": "FROM_BILLING_ADDRESS",
"buyerReferenceOrigin": "FROM_BILLING_ADDRESS",
"previousDecisions": "text",
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false,
"dropShipping": true,
"totalGrossVolumeInCubicMeters": 1
},
"hints": {
"details": []
},
"viewOptions": {
"revenueCalculation": {
"productPurchasePrice": 1,
"salesValue": 1,
"revenue": 1,
"revenueInPercent": 1
},
"loanValue": {
"accountId": 1,
"maximalLoan": 1,
"currentLoan": 1,
"nonInvoicedDocumentLoan": 1,
"receivableLoan": 1,
"payablesSum": 1,
"currentDocumentLoan": 1,
"remainingLoan": 1,
"exceededLoan": 1,
"unconsideredAmount": 1
},
"considerForCreditLimit": true,
"financeJournalAccountingInformation": {
"accountingStatus": "PROCESSING",
"financeBookingRunRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"accountingStatusUpdatedDate": "2026-01-01T00:00:00.000Z",
"runState": "PROCESSING"
},
"possiblePredecessorTypes": [
"text"
],
"sumAmountOfProgressInvoices": 1,
"sumAmountOfDepositInvoices": 1,
"sumAmountOfPartialInvoices": 1,
"sumAmountOfDeliveryInvoices": 1,
"depositInvoiceRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumOpenAmountForProgressInvoices": 1,
"totalAmountDependingFromBillingType": 1,
"orderRefs": [],
"picklistRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"autoPrintPaperReceipt": true
}
}ID eines Vertrags
ID einer Vertragsposition
OK
POST /erp/documents/contract/{contractId}/deactivate-line/{contractLineId} HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"document": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"number": "text",
"accountNumber": "text",
"customerNumber": "text",
"ourCustomerNumber": "text",
"supplierNumber": "text",
"salesAgentNumber": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"published": false,
"frozen": false,
"qualifier": "SALE",
"accountId": "text",
"billingAccountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salesChannelRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"taxIdVerificationState": "NOT_YET_VERIFIED",
"valitoolValidationState": "NOT_VALIDATED",
"billingType": "GROSS",
"documentType": "text",
"documentTypeId": 1,
"documentTypeCategory": "CUSTOMER_OFFER",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text",
"description": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"totalBeforeModifier": 1,
"totalPriceModifier": 1,
"totalLinePriceModifier": 1,
"totalDocumentPriceModifier": 1,
"totalNetPrice": 1,
"totalVat": 1,
"totalGrossPrice": 1,
"roundingAmount": 1,
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true,
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"depositPaymentAmount": 1,
"depositPaymentDate": "2026-01-01",
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"dropShippingInvoiceApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"shippingCostSum": 1,
"priceModifiers": [],
"taxes": [],
"defaultAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"billingAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"deliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defaultStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"locationRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDiscountableTotalGrossPrice": 1,
"contractDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"posRegisterRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDrawerRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashJournalRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"fiscalizationBackendRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"tssSignature": {
"status": "FINISHED",
"responseData": "text",
"externalReference": "text",
"revision": 1
},
"externalReference": "text",
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"importType": "NOT_IMPORTED",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"processedByWorkflow": true,
"referencedOrderNumber": "text",
"additionalInfo": {
"calculationModeOrigin": "FROM_BILLING_ADDRESS",
"roundingMode": "NONE",
"en16931Origin": "FROM_BILLING_ADDRESS",
"buyerReferenceOrigin": "FROM_BILLING_ADDRESS",
"previousDecisions": "text",
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false,
"dropShipping": true,
"totalGrossVolumeInCubicMeters": 1
},
"hints": {
"details": []
},
"viewOptions": {
"revenueCalculation": {
"productPurchasePrice": 1,
"salesValue": 1,
"revenue": 1,
"revenueInPercent": 1
},
"loanValue": {
"accountId": 1,
"maximalLoan": 1,
"currentLoan": 1,
"nonInvoicedDocumentLoan": 1,
"receivableLoan": 1,
"payablesSum": 1,
"currentDocumentLoan": 1,
"remainingLoan": 1,
"exceededLoan": 1,
"unconsideredAmount": 1
},
"considerForCreditLimit": true,
"financeJournalAccountingInformation": {
"accountingStatus": "PROCESSING",
"financeBookingRunRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"accountingStatusUpdatedDate": "2026-01-01T00:00:00.000Z",
"runState": "PROCESSING"
},
"possiblePredecessorTypes": [
"text"
],
"sumAmountOfProgressInvoices": 1,
"sumAmountOfDepositInvoices": 1,
"sumAmountOfPartialInvoices": 1,
"sumAmountOfDeliveryInvoices": 1,
"depositInvoiceRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumOpenAmountForProgressInvoices": 1,
"totalAmountDependingFromBillingType": 1,
"orderRefs": [],
"picklistRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"autoPrintPaperReceipt": true
}
}ID eines Vertrags
ID einer Vertragsposition
OK
POST /erp/documents/contract/{contractId}/activate-line/{contractLineId} HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"document": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"number": "text",
"accountNumber": "text",
"customerNumber": "text",
"ourCustomerNumber": "text",
"supplierNumber": "text",
"salesAgentNumber": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"published": false,
"frozen": false,
"qualifier": "SALE",
"accountId": "text",
"billingAccountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salesChannelRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"taxIdVerificationState": "NOT_YET_VERIFIED",
"valitoolValidationState": "NOT_VALIDATED",
"billingType": "GROSS",
"documentType": "text",
"documentTypeId": 1,
"documentTypeCategory": "CUSTOMER_OFFER",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text",
"description": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"totalBeforeModifier": 1,
"totalPriceModifier": 1,
"totalLinePriceModifier": 1,
"totalDocumentPriceModifier": 1,
"totalNetPrice": 1,
"totalVat": 1,
"totalGrossPrice": 1,
"roundingAmount": 1,
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true,
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"depositPaymentAmount": 1,
"depositPaymentDate": "2026-01-01",
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"dropShippingInvoiceApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"shippingCostSum": 1,
"priceModifiers": [],
"taxes": [],
"defaultAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"billingAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"deliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defaultStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"locationRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDiscountableTotalGrossPrice": 1,
"contractDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"posRegisterRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDrawerRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashJournalRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"fiscalizationBackendRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"tssSignature": {
"status": "FINISHED",
"responseData": "text",
"externalReference": "text",
"revision": 1
},
"externalReference": "text",
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"importType": "NOT_IMPORTED",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"processedByWorkflow": true,
"referencedOrderNumber": "text",
"additionalInfo": {
"calculationModeOrigin": "FROM_BILLING_ADDRESS",
"roundingMode": "NONE",
"en16931Origin": "FROM_BILLING_ADDRESS",
"buyerReferenceOrigin": "FROM_BILLING_ADDRESS",
"previousDecisions": "text",
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false,
"dropShipping": true,
"totalGrossVolumeInCubicMeters": 1
},
"hints": {
"details": []
},
"viewOptions": {
"revenueCalculation": {
"productPurchasePrice": 1,
"salesValue": 1,
"revenue": 1,
"revenueInPercent": 1
},
"loanValue": {
"accountId": 1,
"maximalLoan": 1,
"currentLoan": 1,
"nonInvoicedDocumentLoan": 1,
"receivableLoan": 1,
"payablesSum": 1,
"currentDocumentLoan": 1,
"remainingLoan": 1,
"exceededLoan": 1,
"unconsideredAmount": 1
},
"considerForCreditLimit": true,
"financeJournalAccountingInformation": {
"accountingStatus": "PROCESSING",
"financeBookingRunRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"accountingStatusUpdatedDate": "2026-01-01T00:00:00.000Z",
"runState": "PROCESSING"
},
"possiblePredecessorTypes": [
"text"
],
"sumAmountOfProgressInvoices": 1,
"sumAmountOfDepositInvoices": 1,
"sumAmountOfPartialInvoices": 1,
"sumAmountOfDeliveryInvoices": 1,
"depositInvoiceRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumOpenAmountForProgressInvoices": 1,
"totalAmountDependingFromBillingType": 1,
"orderRefs": [],
"picklistRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"autoPrintPaperReceipt": true
}
}an identifier
successful operation
Resource with given ID was not found
GET /erp/documents/{id} HTTP/1.1
Host: api.example.com
Accept: */*
{
"document": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"number": "text",
"accountNumber": "text",
"customerNumber": "text",
"ourCustomerNumber": "text",
"supplierNumber": "text",
"salesAgentNumber": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"published": false,
"frozen": false,
"qualifier": "SALE",
"accountId": "text",
"billingAccountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salesChannelRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"taxIdVerificationState": "NOT_YET_VERIFIED",
"valitoolValidationState": "NOT_VALIDATED",
"billingType": "GROSS",
"documentType": "text",
"documentTypeId": 1,
"documentTypeCategory": "CUSTOMER_OFFER",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text",
"description": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"totalBeforeModifier": 1,
"totalPriceModifier": 1,
"totalLinePriceModifier": 1,
"totalDocumentPriceModifier": 1,
"totalNetPrice": 1,
"totalVat": 1,
"totalGrossPrice": 1,
"roundingAmount": 1,
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true,
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"depositPaymentAmount": 1,
"depositPaymentDate": "2026-01-01",
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"dropShippingInvoiceApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"shippingCostSum": 1,
"priceModifiers": [],
"taxes": [],
"defaultAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"billingAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"deliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defaultStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"locationRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDiscountableTotalGrossPrice": 1,
"contractDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"posRegisterRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDrawerRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashJournalRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"fiscalizationBackendRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"tssSignature": {
"status": "FINISHED",
"responseData": "text",
"externalReference": "text",
"revision": 1
},
"externalReference": "text",
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"importType": "NOT_IMPORTED",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"processedByWorkflow": true,
"referencedOrderNumber": "text",
"additionalInfo": {
"calculationModeOrigin": "FROM_BILLING_ADDRESS",
"roundingMode": "NONE",
"en16931Origin": "FROM_BILLING_ADDRESS",
"buyerReferenceOrigin": "FROM_BILLING_ADDRESS",
"previousDecisions": "text",
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false,
"dropShipping": true,
"totalGrossVolumeInCubicMeters": 1
},
"hints": {
"details": []
},
"viewOptions": {
"revenueCalculation": {
"productPurchasePrice": 1,
"salesValue": 1,
"revenue": 1,
"revenueInPercent": 1
},
"loanValue": {
"accountId": 1,
"maximalLoan": 1,
"currentLoan": 1,
"nonInvoicedDocumentLoan": 1,
"receivableLoan": 1,
"payablesSum": 1,
"currentDocumentLoan": 1,
"remainingLoan": 1,
"exceededLoan": 1,
"unconsideredAmount": 1
},
"considerForCreditLimit": true,
"financeJournalAccountingInformation": {
"accountingStatus": "PROCESSING",
"financeBookingRunRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"accountingStatusUpdatedDate": "2026-01-01T00:00:00.000Z",
"runState": "PROCESSING"
},
"possiblePredecessorTypes": [
"text"
],
"sumAmountOfProgressInvoices": 1,
"sumAmountOfDepositInvoices": 1,
"sumAmountOfPartialInvoices": 1,
"sumAmountOfDeliveryInvoices": 1,
"depositInvoiceRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumOpenAmountForProgressInvoices": 1,
"totalAmountDependingFromBillingType": 1,
"orderRefs": [],
"picklistRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"autoPrintPaperReceipt": true
}
}successful operation
Resource with given ID was not found
PATCH /erp/documents/{id} HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 6813
{
"document": {
"version": "text",
"info": {},
"id": "text",
"number": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"accountId": "text",
"billingAccountRef": {
"id": "text"
},
"salesChannelRef": {
"id": "text"
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"billingType": "GROSS",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text"
},
"paymentTermRef": {
"id": "text",
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text"
},
"depositPaymentAmount": 1,
"deliveryTermRef": {
"id": "text"
},
"deliveryMethodRef": {
"id": "text"
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text"
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"priceModifiers": [],
"defaultAddress": {
"version": "text",
"info": {},
"id": "text",
"accountRef": {
"id": "text"
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text"
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text"
},
"paymentMethodRef": {
"id": "text"
},
"deliveryTermRef": {
"id": "text"
},
"deliveryMethodRef": {
"id": "text"
}
},
"billingAddress": {
"version": "text",
"info": {},
"id": "text",
"accountRef": {
"id": "text"
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text"
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text"
},
"paymentMethodRef": {
"id": "text"
},
"deliveryTermRef": {
"id": "text"
},
"deliveryMethodRef": {
"id": "text"
}
},
"deliveryAddress": {
"version": "text",
"info": {},
"id": "text",
"accountRef": {
"id": "text"
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text"
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text"
},
"paymentMethodRef": {
"id": "text"
},
"deliveryTermRef": {
"id": "text"
},
"deliveryMethodRef": {
"id": "text"
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {},
"id": "text",
"accountRef": {
"id": "text"
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text"
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text"
},
"paymentMethodRef": {
"id": "text"
},
"deliveryTermRef": {
"id": "text"
},
"deliveryMethodRef": {
"id": "text"
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text"
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text"
},
"defaultStorageRef": {
"id": "text"
},
"locationRef": {
"id": "text"
},
"contractDetail": {
"version": "text",
"info": {},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {},
"id": "text",
"posRegisterRef": {
"id": "text"
},
"cashDrawerRef": {
"id": "text"
},
"cashJournalRef": {
"id": "text"
},
"fiscalizationBackendRef": {
"id": "text"
},
"tssSignature": {},
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text"
},
"workbenchStorageRef": {
"id": "text"
},
"workbenchStorageBinRef": {
"id": "text"
},
"qualityAssuranceStorageRef": {
"id": "text"
},
"qualityAssuranceStorageBinRef": {
"id": "text"
},
"defectiveStorageRef": {
"id": "text"
},
"defectiveStorageBinRef": {
"id": "text"
},
"targetStorageRef": {
"id": "text"
},
"targetStorageBinRef": {
"id": "text"
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"additionalInfo": {
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false
},
"parameters": []
}{
"document": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"number": "text",
"accountNumber": "text",
"customerNumber": "text",
"ourCustomerNumber": "text",
"supplierNumber": "text",
"salesAgentNumber": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"published": false,
"frozen": false,
"qualifier": "SALE",
"accountId": "text",
"billingAccountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salesChannelRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"taxIdVerificationState": "NOT_YET_VERIFIED",
"valitoolValidationState": "NOT_VALIDATED",
"billingType": "GROSS",
"documentType": "text",
"documentTypeId": 1,
"documentTypeCategory": "CUSTOMER_OFFER",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text",
"description": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"totalBeforeModifier": 1,
"totalPriceModifier": 1,
"totalLinePriceModifier": 1,
"totalDocumentPriceModifier": 1,
"totalNetPrice": 1,
"totalVat": 1,
"totalGrossPrice": 1,
"roundingAmount": 1,
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true,
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"depositPaymentAmount": 1,
"depositPaymentDate": "2026-01-01",
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"dropShippingInvoiceApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"shippingCostSum": 1,
"priceModifiers": [],
"taxes": [],
"defaultAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"billingAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"deliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defaultStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"locationRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDiscountableTotalGrossPrice": 1,
"contractDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"posRegisterRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDrawerRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashJournalRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"fiscalizationBackendRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"tssSignature": {
"status": "FINISHED",
"responseData": "text",
"externalReference": "text",
"revision": 1
},
"externalReference": "text",
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"importType": "NOT_IMPORTED",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"processedByWorkflow": true,
"referencedOrderNumber": "text",
"additionalInfo": {
"calculationModeOrigin": "FROM_BILLING_ADDRESS",
"roundingMode": "NONE",
"en16931Origin": "FROM_BILLING_ADDRESS",
"buyerReferenceOrigin": "FROM_BILLING_ADDRESS",
"previousDecisions": "text",
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false,
"dropShipping": true,
"totalGrossVolumeInCubicMeters": 1
},
"hints": {
"details": []
},
"viewOptions": {
"revenueCalculation": {
"productPurchasePrice": 1,
"salesValue": 1,
"revenue": 1,
"revenueInPercent": 1
},
"loanValue": {
"accountId": 1,
"maximalLoan": 1,
"currentLoan": 1,
"nonInvoicedDocumentLoan": 1,
"receivableLoan": 1,
"payablesSum": 1,
"currentDocumentLoan": 1,
"remainingLoan": 1,
"exceededLoan": 1,
"unconsideredAmount": 1
},
"considerForCreditLimit": true,
"financeJournalAccountingInformation": {
"accountingStatus": "PROCESSING",
"financeBookingRunRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"accountingStatusUpdatedDate": "2026-01-01T00:00:00.000Z",
"runState": "PROCESSING"
},
"possiblePredecessorTypes": [
"text"
],
"sumAmountOfProgressInvoices": 1,
"sumAmountOfDepositInvoices": 1,
"sumAmountOfPartialInvoices": 1,
"sumAmountOfDeliveryInvoices": 1,
"depositInvoiceRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumOpenAmountForProgressInvoices": 1,
"totalAmountDependingFromBillingType": 1,
"orderRefs": [],
"picklistRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"autoPrintPaperReceipt": true
}
}Workflow-Instanz gefunden
Status einer Workflow-Instanz
Es existiert noch keine Workflow-Instanz
GET /erp/documents/{refId}/workflow-state HTTP/1.1
Host: api.example.com
Accept: */*
CREATEDWorkflow-Instanz gefunden
Adhoc Preset
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Was kann mit diesem Preset abgebildet werden QUERY oder STATEMENT
QUERYPossible values: template dem dieser filter zugeordnet worden ist.
templateGroupKey dem dieser filter zugeordnet worden ist.
label für diesen filter
bei mode == STATEMENT, das vql-query
für Workflows vorgesehen
falseIdentifier einer OutputReportGroup (moduleKey=cunit), die als Druckvorlage für dieses Preset verwendet wird
GET /erp/documents/{refId}/workflow-instances-preset HTTP/1.1
Host: api.example.com
Accept: */*
Workflow-Instanz gefunden
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"mode": "QUERY",
"templateId": "text",
"templateGroupKey": "text",
"label": "text",
"uiPayload": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"variables": [],
"queryStatement": "text",
"queryPredicate": {
"type": "JUNCTION",
"operator": "AND",
"children": [],
"property": "text",
"values": [
"text"
],
"visible": true,
"functions": [
"text"
]
},
"results": [],
"sortAndOrders": [],
"pageable": {
"limit": 1
},
"option": {
"distinctResult": true
},
"transformations": [],
"arithmeticQueryTerms": [],
"definition": [
{
"_type": "text",
"definition": "[Circular Reference]",
"value": "[Circular Reference]"
}
],
"permissionAggregation": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"userPermissions": [],
"groupPermissions": [],
"operationForAllUsers": "READ_ONLY"
},
"forWorkflow": false,
"outputReportGroupIdentifier": "text",
"userOptions": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"pinned": false
}
}Workflow-Instanz gefunden
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Status einer Workflow-Instanz
Es existiert noch keine Workflow-Instanz
GET /erp/documents/{refId}/latest-workflow-instance HTTP/1.1
Host: api.example.com
Accept: */*
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"state": "CREATED",
"workflowRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workItems": [],
"logEntries": []
}document identifier
OK
UI-Hints, die sich auf den Dokumenttypen und den Account beziehen
GET /erp/documents/{id}/ui-hints HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"documentHints": [
"text"
],
"positionHints": []
}document identifier
article identifier
OK
GET /erp/documents/{id}/ui-hints/article/{articleId} HTTP/1.1
Host: api.example.com
Accept: */*
OK
[
"text"
]document identifier
account identifier
OK
GET /erp/documents/{id}/ui-hints/account/{accountId} HTTP/1.1
Host: api.example.com
Accept: */*
OK
[
"text"
]document identifier
OK
the id of the document
the number of the document
documentDate
gross total price (GROSS)
net total price (NET)
type of this document
typeId of this document
state of this document
category of this document
indicates that this document was requested
falseBelegketten-Id
GET /erp/documents/{id}/types/history HTTP/1.1
Host: api.example.com
Accept: */*
OK
[]OK
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Bezeichnung des Bausteins
Verwendungszweck des Templates
AUTOMATICPossible values: account für den diese Templates gelten
article für den diese Templates gelten
Erzeugte DocumentTexts beim Übergang in Folgebelege übernehmen?
nullWird eine eigene DocumentLine für den Baustein angelegt?
nullPosition für den erzeugten DocumentText
ist dieser Baustein aktiv?
trueSoll der Inhalt des Textbausteins erst bei Belegübernahme gezogen werden?
falseGET /erp/documents/{id}/text-templates?textPosition=HEADER_TEXT HTTP/1.1
Host: api.example.com
Accept: */*
OK
[]ID of successor document
OK
Belegpositionen für die Vorbelegszuordnung
GET /erp/documents/{id}/successor-document-assignable-lines HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"unassignedLines": [],
"uncompletedLines": [],
"completedLines": []
}ID of predecessor document
OK
Liste der Belegpositionen
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Positions-Nummer
Positionsnummer über alle Artikelpositionen hinweg
Artikel
Positionstyp
Artikelarten
Serientyp eines Artikels
Artikelnummer
Name des Artikels
Beschreibung des Artikels
Preis pro Menge [Brutto, Netto]
Preiseinheit
Preisherkunft
Menge
verarbeitete Menge
Menge in Pick-Vorgang
vorgeorderte Menge in Pickvorgang
ist diese Position komplett verarbeitet?
falseSumme Positionspreisänderungen [Brutto, Netto]
Summe Dokumentpreisänderungen [Brutto, Netto]
Netto-Gesamtpreis (nach Preisänderungen)
Steuerbetrag
Positionssumme [Brutto, Netto], also Preis*Menge ./. Positionsrabatte
Zolltarifnummer
Lieferdatum
vorr. Ende des Lieferzeitraums (nur notwendig für Lieferzeiträume, wenn Lieferdatum gesetzt)
bestätigtes Lieferdatum
bestätigtes Ende des Lieferzeitraums (nur notwendig für Lieferrzeiträume, wenn Lieferdatum gesetzt)
Versanddatum
Liefertext
Versenderspezifische Informationen
Externe Referenz zum VDS-Paket
Externe Artikelnummer
Externer Artikelname
Externe Artikelbeschreibung
Nettogewicht
Gesamtnettogewicht
Bruttogewicht
Gesamtbruttogewicht
Inhalt der Maßeinheit
Inhalt der Grundeinheit
Referenz zur Basiszeile
Offener Restbetrag des auszugleichenden Offenen Postens (nur in der Response)
Fälligkeitsdatum des auszugleichenden Offenen Postens (nur in der Response)
Zum Belegdatum anwendbares Skonto des auszugleichenden Offenen Postens (nur in der Response)
Bemerkung zur OP-Position - wird beim Abschluss in den Kommentar des Offenen Postens übernommen
Referenz zur Lieferantenbestellungszeile
Vorgabe §13b UStG Artikel
falsewird §13b UStG angewendet?
falseVorgabewert für die Preiskalkulation
Kalkulationsstruktur
Provisionsursprung
skontierbare Position?
truerabattierbare Position?
trueprovisionierbare Position?
falseGarantie in Monaten
Leistungsdatum
Preis pro Einheit in Basiswährung
Preisanpassungen - Position Basiswährung
Preisanpassungen - anteilig durch Beleg Basiswährung
Gesamtpreis Position in Basiswährung
Nettoverkaufswert der Position in Basiswährung
Abschlagsposition?
falseDefiniert, ob und wie ein Artikel per Streckengeschäft verkauft werden darf
unit gross Volume in cubic meters
unit gross Volume in cubic meters
Zubehör Einfügeart
Hat der Artikel Zubehör?
falseSoll die DocumentLine über die Komponenten neu berechnet werden?
falseSoll zu der Position Etiketten gedruckt werden.
falsepicking hint
GET /erp/documents/{id}/predecessor-document-assignable-lines HTTP/1.1
Host: api.example.com
Accept: */*
OK
[]document id
document line id
OK
storage option for a document-line
reserved quantity (from customer-orders)
already ordered quantity (from supplier-orders)
the current stock amount
the current available stock amount
GET /erp/documents/{id}/lines/{lineId}/storages HTTP/1.1
Host: api.example.com
Accept: */*
OK
[]document id
ID of the document line
OK
Preisermittlungskriterien
ein qualifier
Liste von Artikel-IDs
soll nur der Standardpreis selektiert werden?
falseListe von Account-IDs
Die Warengruppe
Die Preisgruppe
Ein Datum
Eine Menge
Aktionspreis beachten?
GET /erp/documents/{id}/lines/{lineId}/show-price-origin HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"qualifier": "SALES",
"articleIds": [
1
],
"selectOnlyDefaultPrice": false,
"accountIds": [
1
],
"productGroupId": 1,
"priceGroupId": 1,
"date": "2026-01-01",
"quantity": 1,
"noteSpecialOfferPrice": true
}document id
ID of the document line
OK
Preisstatistiken (DEK und letzter EK)
Durchschnitts-Einkaufspreis
Wertstellungsdatum Durchschnitts-Einkaufspreis
Preiseinheit Durchschnitts-Einkaufspreis
letzter Einkaufspreis
Preiseinheit letzter Einkaufspreis
Erfassungszeitpunkt letzter Einkaufspreis
Wertstellungsdatum letzter Einkaufspreis
GET /erp/documents/{id}/lines/{lineId}/purchase-price-statistic HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"averagePrice": 1,
"averagePriceBookedAt": "2026-01-01",
"priceUnitAveragePrice": 1,
"lastPrice": 1,
"priceUnitLastPrice": 1,
"lastPriceUpdatedAt": "2026-01-01T00:00:00.000Z",
"lastPriceBookedAt": "2026-01-01",
"mainSupplierAccount": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"mainSupplierProductPrice": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"netPrice": 1,
"grossPrice": 1,
"priceBase": "NET_PRICE",
"usedTaxRate": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"typeRef": {
"id": "text",
"label": "text",
"description": "text"
},
"active": true,
"countryCode": "text",
"rate": 19,
"validFrom": "2026-01-01"
},
"qualifier": "SALES",
"purchasePriceSource": "NONE",
"modifierValueType": "PERCENT",
"modifierValue": 1,
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"articleRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"accessoryMainArticleRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"productGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"priceGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"currencyRef": {
"id": 1,
"isoAlpha3": "text",
"label": "text",
"symbol": "text"
},
"fromQuantity": 1,
"validFrom": "2026-01-01",
"validUntil": "2026-01-01",
"specialOfferPrice": false,
"salesChannelRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"customerGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"supplierGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"manufacturerRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
}
}document id
OK
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Bezeichnung des Bausteins
Verwendungszweck des Templates
AUTOMATICPossible values: account für den diese Templates gelten
article für den diese Templates gelten
Erzeugte DocumentTexts beim Übergang in Folgebelege übernehmen?
nullWird eine eigene DocumentLine für den Baustein angelegt?
nullPosition für den erzeugten DocumentText
ist dieser Baustein aktiv?
trueSoll der Inhalt des Textbausteins erst bei Belegübernahme gezogen werden?
falseGET /erp/documents/{id}/lines/text-templates HTTP/1.1
Host: api.example.com
Accept: */*
OK
[]document identifier
OK
Bestellbare Positionen für Übernahme in Bestellung
Id der DocumentLine
Positionsnummer
Artikelnummer
Artikelbezeichnung
Artikelnummer
Menge
Bestellen?
trueVerfügbare Menge
Bestellte Menge
Definiert, ob und wie ein Artikel per Streckengeschäft verkauft werden darf
GET /erp/documents/{id}/lines-to-transfer-to-supplier-order HTTP/1.1
Host: api.example.com
Accept: */*
OK
[]ID of supplier order
OK
In Lieferschein übernehmbare Positionen mit Belegnummern
externe Belegnummer
Belegnummer
Wunsch-Lieferdatum
Wunsch-Lieferdatum bis
Bestätigtes Lieferdatum
Bestätigtes Lieferdatum bis
GET /erp/documents/{id}/lines-to-transfer-to-supplier-delivery HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"deliveryTransferableLines": [],
"externalDocumentNumber": "text",
"documentNumber": "text",
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01"
}ID of customer order
OK
In Lieferschein übernehmbare Positionen mit Belegnummern
externe Belegnummer
Belegnummer
Wunsch-Lieferdatum
Wunsch-Lieferdatum bis
Bestätigtes Lieferdatum
Bestätigtes Lieferdatum bis
GET /erp/documents/{id}/lines-to-transfer-to-picklist HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"deliveryTransferableLines": [],
"externalDocumentNumber": "text",
"documentNumber": "text",
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01"
}ID of customer order
OK
In Lieferschein übernehmbare Positionen mit Belegnummern
externe Belegnummer
Belegnummer
Wunsch-Lieferdatum
Wunsch-Lieferdatum bis
Bestätigtes Lieferdatum
Bestätigtes Lieferdatum bis
GET /erp/documents/{id}/lines-to-transfer-to-customer-delivery HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"deliveryTransferableLines": [],
"externalDocumentNumber": "text",
"documentNumber": "text",
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01"
}OK
document to update
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Belegnummer
Kontonummer der zugehörigen Organisationseinheit
Kundennummer
Kundennummer beim Lieferanten
Lieferantennummer
Vertreternummer
Externe Kennung
Externe Belegnummer
Ist der Beleg veröffentlicht (gedruckt, per Mail versendet)?
falseIst der Beleg festgeschrieben?
falseArt des Belegs
ID der Organisationseinheit
Belegdatum
Leistungsdatum
Valutadatum
Steuerpflichtig oder steuerfrei
trueUmsatzsteuer-Identifikationsnummer
Überprüfungsstatus der Steueridentifikationsnummer
Validierungsstatus bei elektronischen Rechnungen
Abrechnungstyp
Belegtyp (intern)
ID des Belegtyps
Dokumenttypen
Währung (ISO-Code, Alpha-3)
Wechselkurs
Ursprung für Währungskursermittlung
AUTOMATICPossible values: Gesamtpreis vor Rabatt [BRUTTO, NETTO]
Rabatt gesamt [BRUTTO, NETTO]
Positionsrabatt gesamt [BRUTTO, NETTO]
Belegrabatt gesamt [BRUTTO, NETTO]
Gesamtpreis netto
Gesamte Mehrwertsteuer
Gesamtpreis brutto
Endbetragsrundung: Differenz zwischen gerundetem Brutto und (Netto + MwSt)
Vereinbarter Anzahlungsbetrag
Vereinbartes Anzahlungsdatum
Voraussichtliches Lieferdatum
Voraussichtliches Lieferende (nur wenn Lieferdatum gesetzt)
Bestätigtes Lieferdatum
Bestätigtes Lieferende (nur wenn bestätigtes Lieferdatum gesetzt)
Versanddatum
Voraussichtliche Paketanzahl (nur Info)
Zusätzlicher Liefertext
Ist der Beleg zur Lieferung freigegeben?
trueIst der Streckengeschäfts-Beleg zur Rechnung freigegeben?
Bestelldatum
Name der bestellenden Person
Reverse-Charge-Verfahren nach §13b UStG?
falseSammelrechnung?
falseSumme der Versandkosten (netto/brutto)
Stapelverarbeitungsinformationen für Aufträge
Priorität in der Stapelverarbeitung
Maximal mögliche Lieferungen
Ort der steuerlichen Leistungserbringung
Länderkennzeichen Leistungsland (ISO Alpha-3)
Länderkennzeichen Ursprungsland (ISO Alpha-3)
Gesamtbruttogewicht
Gesamtgewicht wurde manuell gesetzt
falseSkontofähiger Bruttogesamtbetrag
Leitweg-ID
EN16931-Profil für elektronische Rechnungen
Importmodus des Belegs
Zahlungsplan vorhanden?
falseBerechnungsmodus
Wird vom Workflow verarbeitet?
Bestellnummer aus Vorbeleg
Sprache
Basiswährung des Belegs
Gesamtpreis - Netto Basiswährung
Preisanpassungen - Belegpositionssumme Basiswährung
Preisanpassungen - Beleg Basiswährung
Gesamtpreis - Brutto Basiswährung
Vorkassebetrag Basiswährung
skontierbarer Rechnungsbetrag Basiswährung
E-Mail an Versender übergeben
falseTelefon an Versender übergeben
falseQuittung: Summe Zahlbetrag
Quittung: Saldo positiver Wert: Betrag der noch zu zahlen ist negativer Wert: überzahlter Betrag / Rückgeld
Rückgeld
Ist die Quittung ausbalanciert, also bezahlt und kein Rückgeld true wenn die Quittung ausbalanciert ist
falseIst die Quittung bezahlt true wenn die Quittung bezahlt ist
falseStreckengeschäft
total gross Volume in cubic meters
GET /erp/documents/{id}/flat HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"number": "text",
"accountNumber": "text",
"customerNumber": "text",
"ourCustomerNumber": "text",
"supplierNumber": "text",
"salesAgentNumber": "text",
"externalIdentifier": "text",
"externalNumber": "text",
"published": false,
"frozen": false,
"qualifier": "SALE",
"accountId": "text",
"billingAccountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salesChannelRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"documentDate": "2026-01-01",
"performanceDate": "2026-01-01",
"valueDate": "2026-01-01",
"taxable": true,
"taxIdentificationNumber": "text",
"taxIdVerificationState": "NOT_YET_VERIFIED",
"valitoolValidationState": "NOT_VALIDATED",
"billingType": "GROSS",
"documentType": "text",
"documentTypeId": 1,
"documentTypeCategory": "CUSTOMER_OFFER",
"documentState": {
"label": "text",
"key": "text",
"definition": "SELECTABLE_TYPES"
},
"cancellationReasonRef": {
"id": "text",
"label": "text",
"description": "text"
},
"currencyCode": "text",
"exchangeRate": 1,
"exchangeRateOrigin": "AUTOMATIC",
"responsibleUserRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"totalBeforeModifier": 1,
"totalPriceModifier": 1,
"totalLinePriceModifier": 1,
"totalDocumentPriceModifier": 1,
"totalNetPrice": 1,
"totalVat": 1,
"totalGrossPrice": 1,
"roundingAmount": 1,
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true,
"paymentType": "PREPAYMENT"
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"depositPaymentAmount": 1,
"depositPaymentDate": "2026-01-01",
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryDate": "2026-01-01",
"deliveryDateEnd": "2026-01-01",
"confirmedDeliveryDate": "2026-01-01",
"confirmedDeliveryDateEnd": "2026-01-01",
"shippingDate": "2026-01-01",
"deliveryQuantityPackages": 1,
"deliveryText": "text",
"deliveryApproved": true,
"dropShippingInvoiceApproved": true,
"orderedOn": "2026-01-01",
"orderedByPersonRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"orderedBy": "text",
"taxLiabilityReversed": false,
"collectiveInvoice": false,
"texts": [],
"lines": [],
"shippingCosts": [],
"posPayments": [],
"shippingCostSum": 1,
"priceModifiers": [],
"taxes": [],
"defaultAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"billingAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"deliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"returnDeliveryAddress": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"accountRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"salutation": "text",
"title": "text",
"name1": "text",
"name2": "text",
"name3": "text",
"globalLocationNumber": "text",
"street": "text",
"streetAddressNumber": "text",
"additionalAddressLine1": "text",
"additionalAddressLine2": "text",
"city": "text",
"regionRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"postcode": "text",
"postOfficeBox": "text",
"countryCode": "text",
"phoneContact": "text",
"mailContact": "text",
"languageCode": "text",
"paymentTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"paymentMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryTermRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"deliveryMethodRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
},
"stackProcessingType": "NO_PICKING",
"stackProcessingPriority": 1,
"maxDeliveries": 1,
"taxPerformanceLocation": "DOMESTIC",
"performanceCountryCode": "text",
"sourceCountryCode": "text",
"afterPickingTargetDocumentTypeRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"grossWeight": 1,
"grossWeightUnit": {
"id": 1,
"name": "text",
"abbreviation": "text"
},
"userDefinedWeight": false,
"tags": [],
"reportGroupRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defaultStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"locationRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDiscountableTotalGrossPrice": 1,
"contractDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"endDate": "2026-01-01",
"runtimeFromDate": "2026-01-01",
"runtimeToDate": "2026-01-01",
"lastCustomerCancellationDate": "2026-01-01",
"lastProviderCancellationDate": "2026-01-01",
"dueDateCalculation": "text",
"dueDate": "2026-01-01",
"nextDueDate": "2026-01-01",
"calculateDirectly": true,
"active": true,
"publishInPortal": false
},
"posDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"posRegisterRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashDrawerRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"cashJournalRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"fiscalizationBackendRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"tssSignature": {
"status": "FINISHED",
"responseData": "text",
"externalReference": "text",
"revision": 1
},
"externalReference": "text",
"timeStart": 1,
"timeEnd": 1,
"clientSerialNumber": "text",
"tssSerialNumber": "text",
"transactionNumber": 1,
"revision": 1,
"signatureCounter": 1,
"signature": "text"
},
"fabricationDetail": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"startDate": "2026-01-01",
"minimumDegreeOfFulfillment": 1,
"note": "text",
"componentsStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"workbenchStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"qualityAssuranceStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"defectiveStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"targetStorageBinRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"nodeType": "ARRAY",
"valueNode": true,
"container": true,
"integralNumber": true,
"floatingPointNumber": true,
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"binary": true,
"number": true,
"embeddedValue": true
}
},
"buyerReference": "text",
"en16931Profile": "ZUGFERD",
"importType": "NOT_IMPORTED",
"paymentPlan": false,
"calculationMode": "HORIZONTAL",
"processedByWorkflow": true,
"referencedOrderNumber": "text",
"additionalInfo": {
"calculationModeOrigin": "FROM_BILLING_ADDRESS",
"roundingMode": "NONE",
"en16931Origin": "FROM_BILLING_ADDRESS",
"buyerReferenceOrigin": "FROM_BILLING_ADDRESS",
"previousDecisions": "text",
"taxSituationOrigin": "UNDEFINED",
"languageCodeOrigin": "FROM_DELIVERY_ADDRESS",
"contextParameters": [],
"incomingGoodsTarget": {
"storageBinId": 1,
"pickTrolleyId": 1
},
"translations": [],
"incomingGoodsTargetsPerLine": []
},
"languageCode": "text",
"baseCurrencyCode": "text",
"baseTotalNetPrice": 1,
"baseTotalLinePriceModifier": 1,
"baseTotalDocumentPriceModifier": 1,
"baseTotalGrossPrice": 1,
"baseDepositPaymentAmount": 1,
"baseCashDiscountableTotalGrossPrice": 1,
"forwardEmailToShipper": false,
"forwardPhoneToShipper": false,
"posReceiptPaymentSum": 1,
"posReceiptBalance": 1,
"posReceiptChangeAmount": 1,
"posReceiptBalanced": false,
"posReceiptPayed": false,
"dropShipping": true,
"totalGrossVolumeInCubicMeters": 1
}OK
Die Menge dieser Kombination
GET /erp/documents/{documentId}/parcels/unassigned-bookings HTTP/1.1
Host: api.example.com
Accept: */*
OK
[]OK
Verfügbarkeitsinformationen zu einem Beleg und seinen Positionen
GET /erp/documents/{documentId}/availability HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"documentAvailabilityInfo": {
"orderAvailability": "FULL_DELIVERABLE",
"orderStackProcessingType": "NO_PICKING",
"maxPossibleDeliveries": 1
},
"lineAvailabilityInfos": {
"ANY_ADDITIONAL_PROPERTY": {
"orderLineAvailability": "FULL_DELIVERABLE",
"availableQuantity": 1,
"maxAvailableQuantity": 1,
"orderedQuantity": 1
}
}
}OK
das gleiche wie transition id für das UI
transition id
label of this transition
state definition of the target state
Dokumenttypen
document-type-id des ziels
document-type-key des ziels
type-label
document-type ist Default für die Kategorie
Der Ziel-Status der Transition
Sortier-Reihenfolge
GET /erp/documents/types?languageCode=text HTTP/1.1
Host: api.example.com
Accept: */*
OK
[]Last updated
Was this helpful?