WSE · Schnittstellen
Abrechnung & Belege
Verbinden Sie WSE mit Ihren Anwendungen. Entdecken Sie Endpunkte, Datenmodelle und Schnittstellen – nach Funktionsbereichen und Add-ons geordnet.
Abrechnung & Belege
ERP API Dokumentation
Return one invoice including all positions and calculated totals.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/invoices/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Invoice found
Optional reference number of the commercial document
{ "invoice_date": "2024-01-01", "service_date": "2024-01-01", "customer_id": "string", "debitor_account_no": 0, "due_date": "2024-01-31", "reference_number": "RE-10042", "salutation": "string", "name": "string", "firstname": "string", "company": "string", "street": "string", "house_number": "string", "house_number_addition": "string", "postcode": "string", "city": "string", "district": "string", "invoice_id": "string", "invoice_no": 0, "invoice_prefix": "string", "status": "draft", "positions": [ { … } ], "net_sum": "100.00", "tax_sum": "100.00", "tax": [ { … } ], "gross_sum": "100.00", "document": { "document_id": "string", "customer_id": "string", "service_id": "string", "document_type_key": "invoice", "source_document_id": "string", "source_document_type_key": "invoice", "has_embedded_xml": true, "embedded_xml_filename": "string", "is_einvoice_conform": true, "template_id": "string", "display_name": "string", "description": "string", "document_date": "2019-08-24", "created_by": "string", "last_change": "2019-08-24T14:15:22Z", "template": { … }, "active_storage_object": { … }, "render_manifest_storage_object": { … }, "render_manifest": {}, "has_active_file": true, "has_xml_file": true, "has_render_manifest": true } }
Update editable invoice header fields. Invoice positions use separate endpoints.
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
--url 'https://your-instance.example.invalid/invoices/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"invoice_date": "2019-08-24",
"service_date": "2019-08-24",
"customer_id": "string",
"debitor_account_no": 0,
"due_date": "2019-08-24",
"reference_number": "string",
"salutation": "string",
"name": "string",
"firstname": "string",
"company": "string",
"street": "string",
"house_number": "string",
"house_number_addition": "string",
"postcode": "string",
"city": "string",
"district": "string"
}'Invoice updated.
Optional reference number of the commercial document
{ "invoice_date": "2024-01-01", "service_date": "2024-01-01", "customer_id": "string", "debitor_account_no": 0, "due_date": "2024-01-31", "reference_number": "RE-10042", "salutation": "string", "name": "string", "firstname": "string", "company": "string", "street": "string", "house_number": "string", "house_number_addition": "string", "postcode": "string", "city": "string", "district": "string", "invoice_id": "string", "invoice_no": 0, "invoice_prefix": "string", "status": "draft", "positions": [ { … } ], "net_sum": "100.00", "tax_sum": "100.00", "tax": [ { … } ], "gross_sum": "100.00", "document": { "document_id": "string", "customer_id": "string", "service_id": "string", "document_type_key": "invoice", "source_document_id": "string", "source_document_type_key": "invoice", "has_embedded_xml": true, "embedded_xml_filename": "string", "is_einvoice_conform": true, "template_id": "string", "display_name": "string", "description": "string", "document_date": "2019-08-24", "created_by": "string", "last_change": "2019-08-24T14:15:22Z", "template": { … }, "active_storage_object": { … }, "render_manifest_storage_object": { … }, "render_manifest": {}, "has_active_file": true, "has_xml_file": true, "has_render_manifest": true } }
Delete an editable invoice.
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
--url 'https://your-instance.example.invalid/invoices/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Return paginated invoices including calculated totals.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/invoices?skip=0&limit=100&sort_by=invoice_no&sort_order=asc&invoice_no=0&invoice_prefix=string&status=draft&customer_id=string&company=string&name=string&firstname=string&city=string&postcode=string&invoice_date_from=2019-08-24&invoice_date_to=2019-08-24&service_date_from=2019-08-24&service_date_to=2019-08-24&due_date_from=2019-08-24&due_date_to=2019-08-24' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Create a new draft invoice.
Optional reference number of the commercial document
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/invoices' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"invoice_date": "2024-01-01",
"service_date": "2024-01-01",
"customer_id": "string",
"debitor_account_no": 0,
"due_date": "2024-01-31",
"reference_number": "RE-10042",
"salutation": "string",
"name": "string",
"firstname": "string",
"company": "string",
"street": "string",
"house_number": "string",
"house_number_addition": "string",
"postcode": "string",
"city": "string",
"district": "string",
"positions": [
{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}
]
}'Create a new draft invoice from an existing invoice.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/invoices/from-invoice' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"invoice_date": "2019-08-24",
"due_date": "2019-08-24",
"service_date": "2019-08-24",
"invoice_id": "string"
}'Create a new draft invoice from an existing order confirmation.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/invoices/from-order-confirmation' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"invoice_date": "2019-08-24",
"due_date": "2019-08-24",
"service_date": "2019-08-24",
"order_confirmation_id": "string"
}'Create a new draft invoice from an existing quotation.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/invoices/from-quotation' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"invoice_date": "2019-08-24",
"due_date": "2019-08-24",
"service_date": "2019-08-24",
"quotation_id": "string"
}'Assign the final invoice number to a draft invoice.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/invoice-commit' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"invoice_id": "string"
}'Update one existing invoice position for an editable invoice.
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
--url 'https://your-instance.example.invalid/invoices/string/positions/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}'Invoice position updated.
Optional drilldown to the originating product
Optional drilldown to the originating service
Optional drilldown to the originating service product
Product number snapshot captured when the position was created
Product group name snapshot captured when the position was created
{ "product_text": "string", "product_description": "string", "net_price": "100.00", "tax_rate": "100.00", "product_count": "100.00", "service_date_from": "2019-08-24", "service_date_to": "2019-08-24", "product_unit": "string", "account": "string", "account_no": "string", "source_product_id": "string", "source_service_id": "string", "source_service_product_id": "string", "product_number_snapshot": 0, "product_group_name_snapshot": "string", "invoice_position_id": "string", "position": 0, "full_price_net": "100.00", "full_price_gross": "100.00", "tax": "100.00" }
Delete one invoice position from an editable invoice.
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
--url 'https://your-instance.example.invalid/invoices/string/positions/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Create one new invoice position for an editable invoice.
Optional drilldown to the originating product
Optional drilldown to the originating service
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/invoices/string/positions' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}'Invoice position created.
Optional drilldown to the originating product
Optional drilldown to the originating service
Optional drilldown to the originating service product
Product number snapshot captured when the position was created
Product group name snapshot captured when the position was created
{ "product_text": "string", "product_description": "string", "net_price": "100.00", "tax_rate": "100.00", "product_count": "100.00", "service_date_from": "2019-08-24", "service_date_to": "2019-08-24", "product_unit": "string", "account": "string", "account_no": "string", "source_product_id": "string", "source_service_id": "string", "source_service_product_id": "string", "product_number_snapshot": 0, "product_group_name_snapshot": "string", "invoice_position_id": "string", "position": 0, "full_price_net": "100.00", "full_price_gross": "100.00", "tax": "100.00" }
Return imported extra invoice positions with customer and product details.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/billing/extra-invoice-positions?skip=0&limit=100&status=pending&customer_id=string&billing_year_from=2000&billing_month_from=1&billing_year_to=2000&billing_month_to=1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Import one CSV file with extra invoice positions for monthly invoice runs.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/billing/extra-invoice-positions/import' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--form-string 'file=string' \
--form-string 'has_header=true' \
--form-string 'encoding=string' \
--form-string 'delimiter=string'Update one pending extra invoice position.
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
--url 'https://your-instance.example.invalid/billing/extra-invoice-positions/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"customer_id": "string",
"product_id": "string",
"billing_month": 1,
"billing_year": 2000,
"quantity": 1,
"unit_net_price": "100.00",
"external_reference": "string",
"description": "string"
}'Successful Response
{ "extra_invoice_position_id": "string", "customer_id": "string", "product_id": "string", "billing_month": 0, "billing_year": 0, "quantity": "100.00", "unit_net_price": "100.00", "external_reference": "string", "description": "string", "status": "pending", "invoice_run_id": "string", "invoice_id": "string", "invoice_position_id": "string", "created_at": "2019-08-24T14:15:22Z", "processed_at": "2019-08-24T14:15:22Z", "customer": { "customer_number": "456789", "debitor_account_no": 1000, "description": "Customer 1", "note": "Preferred contact via email", "invoice_grouping_override": "by_customer", "customer_group_id": "027480d3-e7ca-47e4-b515-eb12c17d5fb2", "billcycle_id": "1f68b834-6655-41ad-9b53-1cec389b9c46", "legal_form_id": "c31d65ec-d386-493e-ad46-773c403dc89d", "payment_target_id": "123e4567-e89b-12d3-a456-426614174000", "business_register": "Handelsregister", "registercode": "HRB", "registerplace": "Berlin", "tax_identification_no": "DE123456789", "customer_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z", "anonymized_at": "2019-08-24T14:15:22Z", "payment_target": { … } }, "product": { "product_number": 1, "product_unit_id": "a47a8dba-6622-40d2-b5cc-89341876f729", "description": "Product 1", "product_description": "Detailed description of Product 1", "account_id": "0b803418-3181-4e81-9916-f73d57f46dbf", "terms_id": "25f780aa-2bf5-4728-b1f1-b08230503b9f", "discountable": true, "pro_rata": true, "cycle_type": "once", "product_group_id": "10cf0055-bb74-4657-bd4c-49a785ddb23e", "product_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "product_unit": { … }, "product_group": { … }, "account": { … }, "terms": { … }, "product_features": [ … ], "current_price": { … } } }
Delete one pending extra invoice position.
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
--url 'https://your-instance.example.invalid/billing/extra-invoice-positions/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Return customers that are billable for the given month and year but do not have an invoice yet.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/not-billed-customers?month=1&year=2000&skip=0&limit=100&customer_groups=string&billcycles=string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Queue the creation of an invoice proposal for all matching customers.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/invoice-proposals' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"month": 1,
"year": 0,
"due_date": "2019-08-24",
"label": "string",
"customer_groups": [
"string"
],
"billcycles": [
"string"
]
}'Return the most recent invoice runs.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/invoice-runs?status=pending&total_customers=0&start_date_from=2019-08-24T14%3A15%3A22Z&start_date_to=2019-08-24T14%3A15%3A22Z&end_date_from=2019-08-24T14%3A15%3A22Z&end_date_to=2019-08-24T14%3A15%3A22Z' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
[ { "invoice_run_id": "string", "start_date": "2019-08-24T14:15:22Z", "end_date": "2019-08-24T14:15:22Z", "heartbeat_at": "2019-08-24T14:15:22Z", "due_date": "2019-08-24", "label": "string", "status": "pending", "month": 0, "year": 0, "customer_groups": [ … ], "billcycles": [ … ], "total_customers": 0, "processed_customers": 0, "failed_customers": 0, "created_invoices": 0, "recurring_billing_timing": "period_start", "invoice_grouping": "by_customer", "comment": "string" } ]
Return paginated corrective invoices including calculated totals.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/corrective-invoices?skip=0&limit=100&sort_by=document_no&sort_order=asc&document_no=0&document_prefix=string&customer_id=string&status=draft&company=string&name=string&firstname=string&city=string&postcode=string&document_date_from=2019-08-24&document_date_to=2019-08-24&service_date_from=2019-08-24&service_date_to=2019-08-24&due_date_from=2019-08-24&due_date_to=2019-08-24' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Create a new corrective invoice.
Corrective invoice date
Optional reference number of the commercial document
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/corrective-invoices' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"service_date": "2024-01-01",
"customer_id": "string",
"debitor_account_no": 0,
"due_date": "2024-01-31",
"reference_number": "RE-10042",
"salutation": "string",
"name": "string",
"firstname": "string",
"company": "string",
"street": "string",
"house_number": "string",
"house_number_addition": "string",
"postcode": "string",
"city": "string",
"district": "string",
"corrective_invoice_date": "2024-01-01",
"positions": [
{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}
]
}'Return one corrective invoice including all positions and calculated totals.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/corrective-invoices/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Corrective invoice found
Corrective invoice date
Shared lifecycle status for editable commercial documents.
Optional reference number of the commercial document
{ "service_date": "2024-01-01", "customer_id": "string", "debitor_account_no": 0, "due_date": "2024-01-31", "reference_number": "RE-10042", "salutation": "string", "name": "string", "firstname": "string", "company": "string", "street": "string", "house_number": "string", "house_number_addition": "string", "postcode": "string", "city": "string", "district": "string", "corrective_invoice_date": "2024-01-01", "corrective_invoice_id": "string", "corrective_invoice_no": 0, "corrective_invoice_prefix": "string", "status": "draft", "positions": [ { … } ], "net_sum": "100.00", "tax_sum": "100.00", "tax": [ { … } ], "gross_sum": "100.00", "document": { "document_id": "string", "customer_id": "string", "service_id": "string", "document_type_key": "invoice", "source_document_id": "string", "source_document_type_key": "invoice", "has_embedded_xml": true, "embedded_xml_filename": "string", "is_einvoice_conform": true, "template_id": "string", "display_name": "string", "description": "string", "document_date": "2019-08-24", "created_by": "string", "last_change": "2019-08-24T14:15:22Z", "template": { … }, "active_storage_object": { … }, "render_manifest_storage_object": { … }, "render_manifest": {}, "has_active_file": true, "has_xml_file": true, "has_render_manifest": true } }
Update editable corrective invoice header fields. Positions use separate endpoints.
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
--url 'https://your-instance.example.invalid/corrective-invoices/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"service_date": "2019-08-24",
"customer_id": "string",
"debitor_account_no": 0,
"due_date": "2019-08-24",
"reference_number": "string",
"salutation": "string",
"name": "string",
"firstname": "string",
"company": "string",
"street": "string",
"house_number": "string",
"house_number_addition": "string",
"postcode": "string",
"city": "string",
"district": "string",
"corrective_invoice_date": "2019-08-24"
}'Corrective invoice updated.
Corrective invoice date
Shared lifecycle status for editable commercial documents.
Optional reference number of the commercial document
{ "service_date": "2024-01-01", "customer_id": "string", "debitor_account_no": 0, "due_date": "2024-01-31", "reference_number": "RE-10042", "salutation": "string", "name": "string", "firstname": "string", "company": "string", "street": "string", "house_number": "string", "house_number_addition": "string", "postcode": "string", "city": "string", "district": "string", "corrective_invoice_date": "2024-01-01", "corrective_invoice_id": "string", "corrective_invoice_no": 0, "corrective_invoice_prefix": "string", "status": "draft", "positions": [ { … } ], "net_sum": "100.00", "tax_sum": "100.00", "tax": [ { … } ], "gross_sum": "100.00", "document": { "document_id": "string", "customer_id": "string", "service_id": "string", "document_type_key": "invoice", "source_document_id": "string", "source_document_type_key": "invoice", "has_embedded_xml": true, "embedded_xml_filename": "string", "is_einvoice_conform": true, "template_id": "string", "display_name": "string", "description": "string", "document_date": "2019-08-24", "created_by": "string", "last_change": "2019-08-24T14:15:22Z", "template": { … }, "active_storage_object": { … }, "render_manifest_storage_object": { … }, "render_manifest": {}, "has_active_file": true, "has_xml_file": true, "has_render_manifest": true } }
Delete an editable corrective invoice.
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
--url 'https://your-instance.example.invalid/corrective-invoices/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Create a new corrective invoice from an existing corrective invoice.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/corrective-invoices/from-corrective-invoice' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"corrective_invoice_id": "string",
"corrective_invoice_date": "2019-08-24",
"due_date": "2019-08-24",
"service_date": "2019-08-24"
}'Create a new corrective invoice from an existing invoice.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/corrective-invoices/from-invoice' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"invoice_id": "string",
"corrective_invoice_date": "2019-08-24",
"due_date": "2019-08-24",
"service_date": "2019-08-24"
}'Update one existing corrective invoice position for an editable document.
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
--url 'https://your-instance.example.invalid/corrective-invoices/string/positions/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}'Corrective invoice position updated.
Optional drilldown to the originating product
Optional drilldown to the originating service
Optional drilldown to the originating service product
Product number snapshot captured when the position was created
Product group name snapshot captured when the position was created
{ "product_text": "string", "product_description": "string", "net_price": "100.00", "tax_rate": "100.00", "product_count": "100.00", "service_date_from": "2019-08-24", "service_date_to": "2019-08-24", "product_unit": "string", "account": "string", "account_no": "string", "source_product_id": "string", "source_service_id": "string", "source_service_product_id": "string", "product_number_snapshot": 0, "product_group_name_snapshot": "string", "corrective_invoice_position_id": "string", "position": 0, "full_price_net": "100.00", "full_price_gross": "100.00", "tax": "100.00" }
Delete one corrective invoice position from an editable document.
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
--url 'https://your-instance.example.invalid/corrective-invoices/string/positions/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Create one new corrective invoice position for an editable document.
Optional drilldown to the originating product
Optional drilldown to the originating service
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/corrective-invoices/string/positions' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}'Corrective invoice position created.
Optional drilldown to the originating product
Optional drilldown to the originating service
Optional drilldown to the originating service product
Product number snapshot captured when the position was created
Product group name snapshot captured when the position was created
{ "product_text": "string", "product_description": "string", "net_price": "100.00", "tax_rate": "100.00", "product_count": "100.00", "service_date_from": "2019-08-24", "service_date_to": "2019-08-24", "product_unit": "string", "account": "string", "account_no": "string", "source_product_id": "string", "source_service_id": "string", "source_service_product_id": "string", "product_number_snapshot": 0, "product_group_name_snapshot": "string", "corrective_invoice_position_id": "string", "position": 0, "full_price_net": "100.00", "full_price_gross": "100.00", "tax": "100.00" }
Return one quotation including all positions and calculated totals.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/quotations/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Quotation found
Shared lifecycle status for editable commercial documents.
Optional reference number of the commercial document
{ "service_date": "2024-01-01", "customer_id": "string", "debitor_account_no": 0, "due_date": "2024-01-31", "reference_number": "RE-10042", "salutation": "string", "name": "string", "firstname": "string", "company": "string", "street": "string", "house_number": "string", "house_number_addition": "string", "postcode": "string", "city": "string", "district": "string", "quotation_date": "2024-01-01", "quotation_id": "string", "quotation_no": 0, "quotation_prefix": "string", "status": "draft", "positions": [ { … } ], "net_sum": "100.00", "tax_sum": "100.00", "tax": [ { … } ], "gross_sum": "100.00", "document": { "document_id": "string", "customer_id": "string", "service_id": "string", "document_type_key": "invoice", "source_document_id": "string", "source_document_type_key": "invoice", "has_embedded_xml": true, "embedded_xml_filename": "string", "is_einvoice_conform": true, "template_id": "string", "display_name": "string", "description": "string", "document_date": "2019-08-24", "created_by": "string", "last_change": "2019-08-24T14:15:22Z", "template": { … }, "active_storage_object": { … }, "render_manifest_storage_object": { … }, "render_manifest": {}, "has_active_file": true, "has_xml_file": true, "has_render_manifest": true } }
Update editable quotation header fields. Positions use separate endpoints.
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
--url 'https://your-instance.example.invalid/quotations/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"service_date": "2019-08-24",
"customer_id": "string",
"debitor_account_no": 0,
"due_date": "2019-08-24",
"reference_number": "string",
"salutation": "string",
"name": "string",
"firstname": "string",
"company": "string",
"street": "string",
"house_number": "string",
"house_number_addition": "string",
"postcode": "string",
"city": "string",
"district": "string",
"quotation_date": "2019-08-24"
}'Quotation updated.
Shared lifecycle status for editable commercial documents.
Optional reference number of the commercial document
{ "service_date": "2024-01-01", "customer_id": "string", "debitor_account_no": 0, "due_date": "2024-01-31", "reference_number": "RE-10042", "salutation": "string", "name": "string", "firstname": "string", "company": "string", "street": "string", "house_number": "string", "house_number_addition": "string", "postcode": "string", "city": "string", "district": "string", "quotation_date": "2024-01-01", "quotation_id": "string", "quotation_no": 0, "quotation_prefix": "string", "status": "draft", "positions": [ { … } ], "net_sum": "100.00", "tax_sum": "100.00", "tax": [ { … } ], "gross_sum": "100.00", "document": { "document_id": "string", "customer_id": "string", "service_id": "string", "document_type_key": "invoice", "source_document_id": "string", "source_document_type_key": "invoice", "has_embedded_xml": true, "embedded_xml_filename": "string", "is_einvoice_conform": true, "template_id": "string", "display_name": "string", "description": "string", "document_date": "2019-08-24", "created_by": "string", "last_change": "2019-08-24T14:15:22Z", "template": { … }, "active_storage_object": { … }, "render_manifest_storage_object": { … }, "render_manifest": {}, "has_active_file": true, "has_xml_file": true, "has_render_manifest": true } }
Delete an editable quotation.
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
--url 'https://your-instance.example.invalid/quotations/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Return paginated quotations including calculated totals.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/quotations?skip=0&limit=100&sort_by=document_no&sort_order=asc&document_no=0&document_prefix=string&customer_id=string&status=draft&company=string&name=string&firstname=string&city=string&postcode=string&document_date_from=2019-08-24&document_date_to=2019-08-24&service_date_from=2019-08-24&service_date_to=2019-08-24&due_date_from=2019-08-24&due_date_to=2019-08-24' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Create a new quotation.
Optional reference number of the commercial document
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/quotations' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"service_date": "2024-01-01",
"customer_id": "string",
"debitor_account_no": 0,
"due_date": "2024-01-31",
"reference_number": "RE-10042",
"salutation": "string",
"name": "string",
"firstname": "string",
"company": "string",
"street": "string",
"house_number": "string",
"house_number_addition": "string",
"postcode": "string",
"city": "string",
"district": "string",
"quotation_date": "2024-01-01",
"positions": [
{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}
]
}'Create a new quotation from an existing quotation.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/quotations/from-quotation' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"quotation_id": "string",
"quotation_date": "2019-08-24",
"due_date": "2019-08-24",
"service_date": "2019-08-24"
}'Update one existing quotation position for an editable document.
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
--url 'https://your-instance.example.invalid/quotations/string/positions/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}'Quotation position updated.
Optional drilldown to the originating product
Optional drilldown to the originating service
Optional drilldown to the originating service product
Product number snapshot captured when the position was created
Product group name snapshot captured when the position was created
{ "product_text": "string", "product_description": "string", "net_price": "100.00", "tax_rate": "100.00", "product_count": "100.00", "service_date_from": "2019-08-24", "service_date_to": "2019-08-24", "product_unit": "string", "account": "string", "account_no": "string", "source_product_id": "string", "source_service_id": "string", "source_service_product_id": "string", "product_number_snapshot": 0, "product_group_name_snapshot": "string", "quotation_position_id": "string", "position": 0, "full_price_net": "100.00", "full_price_gross": "100.00", "tax": "100.00" }
Delete one quotation position from an editable document.
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
--url 'https://your-instance.example.invalid/quotations/string/positions/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Create one new quotation position for an editable document.
Optional drilldown to the originating product
Optional drilldown to the originating service
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/quotations/string/positions' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}'Quotation position created.
Optional drilldown to the originating product
Optional drilldown to the originating service
Optional drilldown to the originating service product
Product number snapshot captured when the position was created
Product group name snapshot captured when the position was created
{ "product_text": "string", "product_description": "string", "net_price": "100.00", "tax_rate": "100.00", "product_count": "100.00", "service_date_from": "2019-08-24", "service_date_to": "2019-08-24", "product_unit": "string", "account": "string", "account_no": "string", "source_product_id": "string", "source_service_id": "string", "source_service_product_id": "string", "product_number_snapshot": 0, "product_group_name_snapshot": "string", "quotation_position_id": "string", "position": 0, "full_price_net": "100.00", "full_price_gross": "100.00", "tax": "100.00" }
Return one order confirmation including all positions and calculated totals.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/order-confirmations/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Order confirmation found
Order confirmation date
Shared lifecycle status for editable commercial documents.
Optional reference number of the commercial document
{ "service_date": "2024-01-01", "customer_id": "string", "debitor_account_no": 0, "due_date": "2024-01-31", "reference_number": "RE-10042", "salutation": "string", "name": "string", "firstname": "string", "company": "string", "street": "string", "house_number": "string", "house_number_addition": "string", "postcode": "string", "city": "string", "district": "string", "order_confirmation_date": "2024-01-01", "order_confirmation_id": "string", "order_confirmation_no": 0, "order_confirmation_prefix": "string", "status": "draft", "positions": [ { … } ], "net_sum": "100.00", "tax_sum": "100.00", "tax": [ { … } ], "gross_sum": "100.00", "document": { "document_id": "string", "customer_id": "string", "service_id": "string", "document_type_key": "invoice", "source_document_id": "string", "source_document_type_key": "invoice", "has_embedded_xml": true, "embedded_xml_filename": "string", "is_einvoice_conform": true, "template_id": "string", "display_name": "string", "description": "string", "document_date": "2019-08-24", "created_by": "string", "last_change": "2019-08-24T14:15:22Z", "template": { … }, "active_storage_object": { … }, "render_manifest_storage_object": { … }, "render_manifest": {}, "has_active_file": true, "has_xml_file": true, "has_render_manifest": true } }
Update editable order confirmation header fields. Positions use separate endpoints.
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
--url 'https://your-instance.example.invalid/order-confirmations/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"service_date": "2019-08-24",
"customer_id": "string",
"debitor_account_no": 0,
"due_date": "2019-08-24",
"reference_number": "string",
"salutation": "string",
"name": "string",
"firstname": "string",
"company": "string",
"street": "string",
"house_number": "string",
"house_number_addition": "string",
"postcode": "string",
"city": "string",
"district": "string",
"order_confirmation_date": "2019-08-24"
}'Order confirmation updated.
Order confirmation date
Shared lifecycle status for editable commercial documents.
Optional reference number of the commercial document
{ "service_date": "2024-01-01", "customer_id": "string", "debitor_account_no": 0, "due_date": "2024-01-31", "reference_number": "RE-10042", "salutation": "string", "name": "string", "firstname": "string", "company": "string", "street": "string", "house_number": "string", "house_number_addition": "string", "postcode": "string", "city": "string", "district": "string", "order_confirmation_date": "2024-01-01", "order_confirmation_id": "string", "order_confirmation_no": 0, "order_confirmation_prefix": "string", "status": "draft", "positions": [ { … } ], "net_sum": "100.00", "tax_sum": "100.00", "tax": [ { … } ], "gross_sum": "100.00", "document": { "document_id": "string", "customer_id": "string", "service_id": "string", "document_type_key": "invoice", "source_document_id": "string", "source_document_type_key": "invoice", "has_embedded_xml": true, "embedded_xml_filename": "string", "is_einvoice_conform": true, "template_id": "string", "display_name": "string", "description": "string", "document_date": "2019-08-24", "created_by": "string", "last_change": "2019-08-24T14:15:22Z", "template": { … }, "active_storage_object": { … }, "render_manifest_storage_object": { … }, "render_manifest": {}, "has_active_file": true, "has_xml_file": true, "has_render_manifest": true } }
Delete an editable order confirmation.
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
--url 'https://your-instance.example.invalid/order-confirmations/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Return paginated order confirmations including calculated totals.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/order-confirmations?skip=0&limit=100&sort_by=document_no&sort_order=asc&document_no=0&document_prefix=string&customer_id=string&status=draft&company=string&name=string&firstname=string&city=string&postcode=string&document_date_from=2019-08-24&document_date_to=2019-08-24&service_date_from=2019-08-24&service_date_to=2019-08-24&due_date_from=2019-08-24&due_date_to=2019-08-24' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Create a new order confirmation.
Order confirmation date
Optional reference number of the commercial document
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/order-confirmations' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"service_date": "2024-01-01",
"customer_id": "string",
"debitor_account_no": 0,
"due_date": "2024-01-31",
"reference_number": "RE-10042",
"salutation": "string",
"name": "string",
"firstname": "string",
"company": "string",
"street": "string",
"house_number": "string",
"house_number_addition": "string",
"postcode": "string",
"city": "string",
"district": "string",
"order_confirmation_date": "2024-01-01",
"positions": [
{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}
]
}'Create a new order confirmation from an existing order confirmation.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/order-confirmations/from-order-confirmation' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"order_confirmation_date": "2019-08-24",
"due_date": "2019-08-24",
"service_date": "2019-08-24",
"order_confirmation_id": "string"
}'Create a new order confirmation from an existing quotation.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/order-confirmations/from-quotation' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"order_confirmation_date": "2019-08-24",
"due_date": "2019-08-24",
"service_date": "2019-08-24",
"quotation_id": "string"
}'Update one existing order confirmation position for an editable document.
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
--url 'https://your-instance.example.invalid/order-confirmations/string/positions/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}'Order confirmation position updated.
Optional drilldown to the originating product
Optional drilldown to the originating service
Optional drilldown to the originating service product
Product number snapshot captured when the position was created
Product group name snapshot captured when the position was created
{ "product_text": "string", "product_description": "string", "net_price": "100.00", "tax_rate": "100.00", "product_count": "100.00", "service_date_from": "2019-08-24", "service_date_to": "2019-08-24", "product_unit": "string", "account": "string", "account_no": "string", "source_product_id": "string", "source_service_id": "string", "source_service_product_id": "string", "product_number_snapshot": 0, "product_group_name_snapshot": "string", "order_confirmation_position_id": "string", "position": 0, "full_price_net": "100.00", "full_price_gross": "100.00", "tax": "100.00" }
Delete one order confirmation position from an editable document.
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
--url 'https://your-instance.example.invalid/order-confirmations/string/positions/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Create one new order confirmation position for an editable document.
Optional drilldown to the originating product
Optional drilldown to the originating service
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/order-confirmations/string/positions' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}'Order confirmation position created.
Optional drilldown to the originating product
Optional drilldown to the originating service
Optional drilldown to the originating service product
Product number snapshot captured when the position was created
Product group name snapshot captured when the position was created
{ "product_text": "string", "product_description": "string", "net_price": "100.00", "tax_rate": "100.00", "product_count": "100.00", "service_date_from": "2019-08-24", "service_date_to": "2019-08-24", "product_unit": "string", "account": "string", "account_no": "string", "source_product_id": "string", "source_service_id": "string", "source_service_product_id": "string", "product_number_snapshot": 0, "product_group_name_snapshot": "string", "order_confirmation_position_id": "string", "position": 0, "full_price_net": "100.00", "full_price_gross": "100.00", "tax": "100.00" }
Return one payment reminder including all positions and calculated totals.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/payment-reminders/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Payment reminder found
Payment reminder date
Shared lifecycle status for editable commercial documents.
Optional reference number of the commercial document
{ "service_date": "2024-01-01", "customer_id": "string", "debitor_account_no": 0, "due_date": "2024-01-31", "reference_number": "RE-10042", "salutation": "string", "name": "string", "firstname": "string", "company": "string", "street": "string", "house_number": "string", "house_number_addition": "string", "postcode": "string", "city": "string", "district": "string", "payment_reminder_date": "2024-01-01", "payment_reminder_id": "string", "payment_reminder_no": 0, "payment_reminder_prefix": "string", "status": "draft", "positions": [ { … } ], "net_sum": "100.00", "tax_sum": "100.00", "tax": [ { … } ], "gross_sum": "100.00", "document": { "document_id": "string", "customer_id": "string", "service_id": "string", "document_type_key": "invoice", "source_document_id": "string", "source_document_type_key": "invoice", "has_embedded_xml": true, "embedded_xml_filename": "string", "is_einvoice_conform": true, "template_id": "string", "display_name": "string", "description": "string", "document_date": "2019-08-24", "created_by": "string", "last_change": "2019-08-24T14:15:22Z", "template": { … }, "active_storage_object": { … }, "render_manifest_storage_object": { … }, "render_manifest": {}, "has_active_file": true, "has_xml_file": true, "has_render_manifest": true } }
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
--url 'https://your-instance.example.invalid/payment-reminders/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"service_date": "2019-08-24",
"customer_id": "string",
"debitor_account_no": 0,
"due_date": "2019-08-24",
"reference_number": "string",
"salutation": "string",
"name": "string",
"firstname": "string",
"company": "string",
"street": "string",
"house_number": "string",
"house_number_addition": "string",
"postcode": "string",
"city": "string",
"district": "string",
"payment_reminder_date": "2019-08-24"
}'Payment reminder updated.
Payment reminder date
Shared lifecycle status for editable commercial documents.
Optional reference number of the commercial document
{ "service_date": "2024-01-01", "customer_id": "string", "debitor_account_no": 0, "due_date": "2024-01-31", "reference_number": "RE-10042", "salutation": "string", "name": "string", "firstname": "string", "company": "string", "street": "string", "house_number": "string", "house_number_addition": "string", "postcode": "string", "city": "string", "district": "string", "payment_reminder_date": "2024-01-01", "payment_reminder_id": "string", "payment_reminder_no": 0, "payment_reminder_prefix": "string", "status": "draft", "positions": [ { … } ], "net_sum": "100.00", "tax_sum": "100.00", "tax": [ { … } ], "gross_sum": "100.00", "document": { "document_id": "string", "customer_id": "string", "service_id": "string", "document_type_key": "invoice", "source_document_id": "string", "source_document_type_key": "invoice", "has_embedded_xml": true, "embedded_xml_filename": "string", "is_einvoice_conform": true, "template_id": "string", "display_name": "string", "description": "string", "document_date": "2019-08-24", "created_by": "string", "last_change": "2019-08-24T14:15:22Z", "template": { … }, "active_storage_object": { … }, "render_manifest_storage_object": { … }, "render_manifest": {}, "has_active_file": true, "has_xml_file": true, "has_render_manifest": true } }
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
--url 'https://your-instance.example.invalid/payment-reminders/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Return paginated payment reminders including calculated totals.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/payment-reminders?skip=0&limit=100&sort_by=document_no&sort_order=asc&document_no=0&document_prefix=string&customer_id=string&status=draft&company=string&name=string&firstname=string&city=string&postcode=string&document_date_from=2019-08-24&document_date_to=2019-08-24&service_date_from=2019-08-24&service_date_to=2019-08-24&due_date_from=2019-08-24&due_date_to=2019-08-24' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Payment reminder date
Optional reference number of the commercial document
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/payment-reminders' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"service_date": "2024-01-01",
"customer_id": "string",
"debitor_account_no": 0,
"due_date": "2024-01-31",
"reference_number": "RE-10042",
"salutation": "string",
"name": "string",
"firstname": "string",
"company": "string",
"street": "string",
"house_number": "string",
"house_number_addition": "string",
"postcode": "string",
"city": "string",
"district": "string",
"payment_reminder_date": "2024-01-01",
"positions": [
{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}
]
}'Create a new payment reminder from an existing invoice.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/payment-reminders/from-invoice' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"payment_reminder_date": "2019-08-24",
"due_date": "2019-08-24",
"service_date": "2019-08-24",
"invoice_id": "string"
}'Create a new payment reminder from an existing payment reminder.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/payment-reminders/from-payment-reminder' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"payment_reminder_date": "2019-08-24",
"due_date": "2019-08-24",
"service_date": "2019-08-24",
"payment_reminder_id": "string"
}'# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
--url 'https://your-instance.example.invalid/payment-reminders/string/positions/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}'Payment reminder position updated.
Optional drilldown to the originating product
Optional drilldown to the originating service
Optional drilldown to the originating service product
Product number snapshot captured when the position was created
Product group name snapshot captured when the position was created
{ "product_text": "string", "product_description": "string", "net_price": "100.00", "tax_rate": "100.00", "product_count": "100.00", "service_date_from": "2019-08-24", "service_date_to": "2019-08-24", "product_unit": "string", "account": "string", "account_no": "string", "source_product_id": "string", "source_service_id": "string", "source_service_product_id": "string", "product_number_snapshot": 0, "product_group_name_snapshot": "string", "payment_reminder_position_id": "string", "position": 0, "full_price_net": "100.00", "full_price_gross": "100.00", "tax": "100.00" }
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
--url 'https://your-instance.example.invalid/payment-reminders/string/positions/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Optional drilldown to the originating product
Optional drilldown to the originating service
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/payment-reminders/string/positions' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}'Payment reminder position created.
Optional drilldown to the originating product
Optional drilldown to the originating service
Optional drilldown to the originating service product
Product number snapshot captured when the position was created
Product group name snapshot captured when the position was created
{ "product_text": "string", "product_description": "string", "net_price": "100.00", "tax_rate": "100.00", "product_count": "100.00", "service_date_from": "2019-08-24", "service_date_to": "2019-08-24", "product_unit": "string", "account": "string", "account_no": "string", "source_product_id": "string", "source_service_id": "string", "source_service_product_id": "string", "product_number_snapshot": 0, "product_group_name_snapshot": "string", "payment_reminder_position_id": "string", "position": 0, "full_price_net": "100.00", "full_price_gross": "100.00", "tax": "100.00" }
Return one self-billing invoice including all positions and calculated totals.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/self-billing-invoices/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Self-billing invoice found
Self-billing invoice date
Shared lifecycle status for editable commercial documents.
Optional reference number of the commercial document
{ "service_date": "2024-01-01", "customer_id": "string", "debitor_account_no": 0, "due_date": "2024-01-31", "reference_number": "RE-10042", "salutation": "string", "name": "string", "firstname": "string", "company": "string", "street": "string", "house_number": "string", "house_number_addition": "string", "postcode": "string", "city": "string", "district": "string", "self_billing_invoice_date": "2024-01-01", "self_billing_invoice_id": "string", "self_billing_invoice_no": 0, "self_billing_invoice_prefix": "string", "status": "draft", "positions": [ { … } ], "net_sum": "100.00", "tax_sum": "100.00", "tax": [ { … } ], "gross_sum": "100.00", "document": { "document_id": "string", "customer_id": "string", "service_id": "string", "document_type_key": "invoice", "source_document_id": "string", "source_document_type_key": "invoice", "has_embedded_xml": true, "embedded_xml_filename": "string", "is_einvoice_conform": true, "template_id": "string", "display_name": "string", "description": "string", "document_date": "2019-08-24", "created_by": "string", "last_change": "2019-08-24T14:15:22Z", "template": { … }, "active_storage_object": { … }, "render_manifest_storage_object": { … }, "render_manifest": {}, "has_active_file": true, "has_xml_file": true, "has_render_manifest": true } }
Update editable self-billing invoice header fields. Positions use separate endpoints.
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
--url 'https://your-instance.example.invalid/self-billing-invoices/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"service_date": "2019-08-24",
"customer_id": "string",
"debitor_account_no": 0,
"due_date": "2019-08-24",
"reference_number": "string",
"salutation": "string",
"name": "string",
"firstname": "string",
"company": "string",
"street": "string",
"house_number": "string",
"house_number_addition": "string",
"postcode": "string",
"city": "string",
"district": "string",
"self_billing_invoice_date": "2019-08-24"
}'Self-billing invoice updated.
Self-billing invoice date
Shared lifecycle status for editable commercial documents.
Optional reference number of the commercial document
{ "service_date": "2024-01-01", "customer_id": "string", "debitor_account_no": 0, "due_date": "2024-01-31", "reference_number": "RE-10042", "salutation": "string", "name": "string", "firstname": "string", "company": "string", "street": "string", "house_number": "string", "house_number_addition": "string", "postcode": "string", "city": "string", "district": "string", "self_billing_invoice_date": "2024-01-01", "self_billing_invoice_id": "string", "self_billing_invoice_no": 0, "self_billing_invoice_prefix": "string", "status": "draft", "positions": [ { … } ], "net_sum": "100.00", "tax_sum": "100.00", "tax": [ { … } ], "gross_sum": "100.00", "document": { "document_id": "string", "customer_id": "string", "service_id": "string", "document_type_key": "invoice", "source_document_id": "string", "source_document_type_key": "invoice", "has_embedded_xml": true, "embedded_xml_filename": "string", "is_einvoice_conform": true, "template_id": "string", "display_name": "string", "description": "string", "document_date": "2019-08-24", "created_by": "string", "last_change": "2019-08-24T14:15:22Z", "template": { … }, "active_storage_object": { … }, "render_manifest_storage_object": { … }, "render_manifest": {}, "has_active_file": true, "has_xml_file": true, "has_render_manifest": true } }
Delete an editable self-billing invoice.
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
--url 'https://your-instance.example.invalid/self-billing-invoices/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Return paginated self-billing invoices including calculated totals.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/self-billing-invoices?skip=0&limit=100&sort_by=document_no&sort_order=asc&document_no=0&document_prefix=string&customer_id=string&status=draft&company=string&name=string&firstname=string&city=string&postcode=string&document_date_from=2019-08-24&document_date_to=2019-08-24&service_date_from=2019-08-24&service_date_to=2019-08-24&due_date_from=2019-08-24&due_date_to=2019-08-24' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Create a new self-billing invoice.
Self-billing invoice date
Optional reference number of the commercial document
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/self-billing-invoices' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"service_date": "2024-01-01",
"customer_id": "string",
"debitor_account_no": 0,
"due_date": "2024-01-31",
"reference_number": "RE-10042",
"salutation": "string",
"name": "string",
"firstname": "string",
"company": "string",
"street": "string",
"house_number": "string",
"house_number_addition": "string",
"postcode": "string",
"city": "string",
"district": "string",
"self_billing_invoice_date": "2024-01-01",
"positions": [
{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}
]
}'Create a new self-billing invoice from an existing self-billing invoice.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/self-billing-invoices/from-self-billing-invoice' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"self_billing_invoice_id": "string",
"self_billing_invoice_date": "2019-08-24",
"due_date": "2019-08-24",
"service_date": "2019-08-24"
}'Update one existing self-billing invoice position for an editable document.
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
--url 'https://your-instance.example.invalid/self-billing-invoices/string/positions/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}'Self-billing invoice position updated.
Optional drilldown to the originating product
Optional drilldown to the originating service
Optional drilldown to the originating service product
Product number snapshot captured when the position was created
Product group name snapshot captured when the position was created
{ "product_text": "string", "product_description": "string", "net_price": "100.00", "tax_rate": "100.00", "product_count": "100.00", "service_date_from": "2019-08-24", "service_date_to": "2019-08-24", "product_unit": "string", "account": "string", "account_no": "string", "source_product_id": "string", "source_service_id": "string", "source_service_product_id": "string", "product_number_snapshot": 0, "product_group_name_snapshot": "string", "self_billing_invoice_position_id": "string", "position": 0, "full_price_net": "100.00", "full_price_gross": "100.00", "tax": "100.00" }
Delete one self-billing invoice position from an editable document.
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
--url 'https://your-instance.example.invalid/self-billing-invoices/string/positions/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Create one new self-billing invoice position for an editable document.
Optional drilldown to the originating product
Optional drilldown to the originating service
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/self-billing-invoices/string/positions' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_text": "string",
"product_description": "string",
"net_price": "100.00",
"tax_rate": "100.00",
"product_count": "100.00",
"service_date_from": "2019-08-24",
"service_date_to": "2019-08-24",
"product_unit": "string",
"account": "string",
"account_no": "string",
"source_product_id": "string",
"source_service_id": "string",
"source_service_product_id": "string"
}'Self-billing invoice position created.
Optional drilldown to the originating product
Optional drilldown to the originating service
Optional drilldown to the originating service product
Product number snapshot captured when the position was created
Product group name snapshot captured when the position was created
{ "product_text": "string", "product_description": "string", "net_price": "100.00", "tax_rate": "100.00", "product_count": "100.00", "service_date_from": "2019-08-24", "service_date_to": "2019-08-24", "product_unit": "string", "account": "string", "account_no": "string", "source_product_id": "string", "source_service_id": "string", "source_service_product_id": "string", "product_number_snapshot": 0, "product_group_name_snapshot": "string", "self_billing_invoice_position_id": "string", "position": 0, "full_price_net": "100.00", "full_price_gross": "100.00", "tax": "100.00" }
