CreateServiceContractRequest (object)
| Field | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| account_user_id | integer | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| address_line_1 | string | First line of the address (Street and House number) | ||||||||||||||||||||||||||||||||||||||||||||||||
| address_line_2 | string | Second line of the address | ||||||||||||||||||||||||||||||||||||||||||||||||
| adjustments | object[] | Optional. Omit or send null for none. array Elements
| ||||||||||||||||||||||||||||||||||||||||||||||||
| automatic_generation* | boolean | When true, scheduled/manual processing may create documents for this contract. | ||||||||||||||||||||||||||||||||||||||||||||||||
| buyer_email | string | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| buyer_reference | string | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| cash_discount_days | integer | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| cash_discount_rate | number | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| city | string | City of the address. | ||||||||||||||||||||||||||||||||||||||||||||||||
| contact_id* | integer | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| cost_center_id | integer | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| country_code | string | ISO country code of the address. | ||||||||||||||||||||||||||||||||||||||||||||||||
| currency_code* | string | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| delivery_terms | string | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| email_bcc | string (email)[] | array Elements string (email) | ||||||||||||||||||||||||||||||||||||||||||||||||
| email_cc | string (email)[] | array Elements string (email) | ||||||||||||||||||||||||||||||||||||||||||||||||
| email_copy_to_self | boolean | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| email_message | string | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| email_subject | string | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| email_to | string (email)[] | array Elements string (email) | ||||||||||||||||||||||||||||||||||||||||||||||||
| end_date | string (date) | End of last billing period (End-Datum) | ||||||||||||||||||||||||||||||||||||||||||||||||
| first_period_start* | string (date) | Start of first billing period (Datum erste Periode) | ||||||||||||||||||||||||||||||||||||||||||||||||
| formatted_number | string | Display number; omit to generate from account service number format | ||||||||||||||||||||||||||||||||||||||||||||||||
| interval_amount* | integer | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| interval_unit* | string | string
| ||||||||||||||||||||||||||||||||||||||||||||||||
| invoice_anchor | string | When in billing period to create invoice (first, middle, or last day). string
| ||||||||||||||||||||||||||||||||||||||||||||||||
| invoice_mode* | string | Required; for service_order contracts use automatic_draft as a placeholder (automation follows recurring_document_type). string
| ||||||||||||||||||||||||||||||||||||||||||||||||
| last_created_period_start | string (date) | Start date of the last billing period for which a document was created; used for scheduling. Optional on create. | ||||||||||||||||||||||||||||||||||||||||||||||||
| name_line_1 | string | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| name_line_2 | string | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| name_line_3 | string | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| number | integer | Sequential number; omit to assign next free number | ||||||||||||||||||||||||||||||||||||||||||||||||
| payment_method_code | string | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| payment_term_days | integer | Zahlungsziel in Tagen für erstellte Rechnungen. | ||||||||||||||||||||||||||||||||||||||||||||||||
| payment_terms | string | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| positions | object[] | Optional. Omit or send null for none. array Elements
| ||||||||||||||||||||||||||||||||||||||||||||||||
| positions_price_input_mode | string | Whether position unit prices were entered as net or gross (display preference; price_unit is always stored net). string
| ||||||||||||||||||||||||||||||||||||||||||||||||
| print_background_id | integer | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| print_layout_id | integer | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| print_options | object |
| ||||||||||||||||||||||||||||||||||||||||||||||||
| project_id | integer | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| recurring_document_type* | string | Whether this contract generates invoices or service orders (mutually exclusive). string
| ||||||||||||||||||||||||||||||||||||||||||||||||
| reference | string | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| service_object_ids | integer[] | array Elements integer | ||||||||||||||||||||||||||||||||||||||||||||||||
| service_order_assignee_account_user_id | integer | Default field assignee (Bearbeiter) for service orders created from this contract. | ||||||||||||||||||||||||||||||||||||||||||||||||
| state | string | State or region of the address. | ||||||||||||||||||||||||||||||||||||||||||||||||
| status* | string | string
| ||||||||||||||||||||||||||||||||||||||||||||||||
| subject | string | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| text_bottom | string | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| text_top | string | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| vat_rule_code | string | — | ||||||||||||||||||||||||||||||||||||||||||||||||
| zip | string | ZIP or postal code. |
Example (JSON)
{
"number": 0,
"formatted_number": "string",
"contact_id": 0,
"cost_center_id": 0,
"project_id": 0,
"account_user_id": 0,
"first_period_start": "2026-01-15",
"interval_amount": 0,
"interval_unit": "day",
"currency_code": "string",
"recurring_document_type": "invoice",
"automatic_generation": true,
"invoice_mode": "automatic_draft",
"status": "active"
}