For the complete documentation index, see llms.txt. This page is also available as Markdown.

Contract Additional Functions

Update contract due dates in VARIO Cloud via API, including current and next due dates, with validation hints and updated document data.

Additional Contract Functions

Update DueDates

put
Path parameters
contractIdinteger · int64Required
Body

Due dates to change in a contract.

dueDatestring · dateRequired

Current due date.

nextDueDatestring · dateOptional

Next due date.

Responses
200

OK

*/*
put/erp/documents/contract-additional-functions/{contractId}/update-due-dates
PUT /erp/documents/contract-additional-functions/{contractId}/update-due-dates HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 51

{
  "dueDate": "2026-01-01",
  "nextDueDate": "2026-01-01"
}
200

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",
    "externalPaymentReference": "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,
      "valueNode": true,
      "container": true,
      "integralNumber": true,
      "binary": true,
      "nodeType": "ARRAY",
      "string": true,
      "pojo": true,
      "short": true,
      "int": true,
      "long": true,
      "double": true,
      "bigDecimal": true,
      "bigInteger": true,
      "boolean": true,
      "floatingPointNumber": true,
      "number": true,
      "embeddedValue": true
    },
    "stackProcessingType": "NO_PICKING",
    "stackProcessingPriority": 1,
    "maxDeliveries": 1,
    "taxPerformanceLocation": "DOMESTIC",
    "mainSupplyType": "GOODS",
    "mainSupplyTypeOrigin": "AUTOMATIC",
    "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",
      "withdrawalFromClosing": false
    },
    "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,
        "valueNode": true,
        "container": true,
        "integralNumber": true,
        "binary": true,
        "nodeType": "ARRAY",
        "string": true,
        "pojo": true,
        "short": true,
        "int": true,
        "long": true,
        "double": true,
        "bigDecimal": true,
        "bigInteger": true,
        "boolean": true,
        "floatingPointNumber": 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
  }
}

Last updated

Was this helpful?