WSE · Schnittstellen

Abrechnung & Belege

Verbinden Sie WSE mit Ihren Anwendungen. Entdecken Sie Endpunkte, Datenmodelle und Schnittstellen – nach Funktionsbereichen und Add-ons geordnet.

OpenAPI herunterladen ↓
REST · JSONBearer-Authentifizierung

Abrechnung & Belege

ERP API Dokumentation

Get Invoice

Request

Return one invoice including all positions and calculated totals.

Security
BearerAuth
Path
invoice_idstring, (uuid4)(Invoice Id)required
GET
/invoices/{invoice_id}
# 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'

Responses

Invoice found

Bodyapplication/json
invoice_datestring, (date)(Invoice Date)required

Invoice date

Example:"2024-01-01"
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

invoice_idstring, (uuid4)(Invoice Id)required
statusstring(InvoiceStatus)required
Enum:"draft""committed""generated""sent"
positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
invoice_nointeger or null(Invoice No)
Any of:
integer
invoice_prefixstring or null(Invoice Prefix)
Any of:
string
net_sumstring or null(Net Sum)
Any of:
string
tax_sumstring or null(Tax Sum)
Any of:
string
taxArray of objects(Tax)
gross_sumstring or null(Gross Sum)
Any of:
string
documentDocumentResponse (object) or null
Any of:
Response
{ "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 } }

Patch Invoice

Request

Update editable invoice header fields. Invoice positions use separate endpoints.

Security
BearerAuth
Path
invoice_idstring, (uuid4)(Invoice Id)required
Bodyapplication/jsonrequired
invoice_datestring or null(Invoice Date)
Any of:
string (date)
service_datestring or null(Service Date)
Any of:
string (date)
customer_idstring or null(Customer Id)
Any of:
string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:
integer
due_datestring or null(Due Date)
Any of:
string (date)
reference_numberstring or null(Reference Number)
Any of:
<= 255 characters
string
salutationstring or null(Salutation)
Any of:
string
namestring or null(Name)
Any of:
string
firstnamestring or null(Firstname)
Any of:
string
companystring or null(Company)
Any of:
string
streetstring or null(Street)
Any of:
string
house_numberstring or null(House Number)
Any of:
string
house_number_additionstring or null(House Number Addition)
Any of:
string
postcodestring or null(Postcode)
Any of:
string
citystring or null(City)
Any of:
string
districtstring or null(District)
Any of:
string
PATCH
/invoices/{invoice_id}
# 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"
}'

Responses

Invoice updated.

Bodyapplication/json
invoice_datestring, (date)(Invoice Date)required

Invoice date

Example:"2024-01-01"
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

invoice_idstring, (uuid4)(Invoice Id)required
statusstring(InvoiceStatus)required
Enum:"draft""committed""generated""sent"
positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
invoice_nointeger or null(Invoice No)
Any of:
integer
invoice_prefixstring or null(Invoice Prefix)
Any of:
string
net_sumstring or null(Net Sum)
Any of:
string
tax_sumstring or null(Tax Sum)
Any of:
string
taxArray of objects(Tax)
gross_sumstring or null(Gross Sum)
Any of:
string
documentDocumentResponse (object) or null
Any of:
Response
{ "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 Invoice

Request

Delete an editable invoice.

Security
BearerAuth
Path
invoice_idstring, (uuid4)(Invoice Id)required
DELETE
/invoices/{invoice_id}
# 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'

Responses

Successful Response

Bodyapplication/json
any
Response
// No response sample

Get All Invoices

Request

Return paginated invoices including calculated totals.

Security
BearerAuth
Query
skipinteger, >= 0(Skip)

Number of records to skip

Default:0
limitinteger, [ 1 .. 1000 ](Limit)

Maximum number of records to return

Default:100
sort_bystring(Sort By)

Field used for sorting

Default:"invoice_date"
Enum:"invoice_no""invoice_prefix""invoice_date""service_date""due_date""status""company""name""firstname""city"
sort_orderstring(Sort Order)

Sort direction

Default:"desc"
Enum:"asc""desc"
invoice_nointeger or null(Invoice No)
Any of:

Filter by invoice_no using exact match

integer
invoice_prefixstring or null(Invoice Prefix)
Any of:

Filter by invoice_prefix using exact match

string
statusInvoiceStatus (string) or null(Status)
Any of:

Filter by status using exact match

string(InvoiceStatus)
Enum:"draft""committed""generated""sent"
customer_idstring or null(Customer Id)
Any of:

Filter by customer_id using exact match

string (uuid4)
companystring or null(Company)
Any of:

Filter by company using a case-insensitive partial match

string
namestring or null(Name)
Any of:

Filter by name using a case-insensitive partial match

string
firstnamestring or null(Firstname)
Any of:

Filter by firstname using a case-insensitive partial match

string
citystring or null(City)
Any of:

Filter by city using a case-insensitive partial match

string
postcodestring or null(Postcode)
Any of:

Filter by postcode using a case-insensitive partial match

string
invoice_date_fromstring or null(Invoice Date From)
Any of:

Filter by invoice_date greater than or equal

string (date)
invoice_date_tostring or null(Invoice Date To)
Any of:

Filter by invoice_date less than or equal

string (date)
service_date_fromstring or null(Service Date From)
Any of:

Filter by service_date greater than or equal

string (date)
service_date_tostring or null(Service Date To)
Any of:

Filter by service_date less than or equal

string (date)
due_date_fromstring or null(Due Date From)
Any of:

Filter by due_date greater than or equal

string (date)
due_date_tostring or null(Due Date To)
Any of:

Filter by due_date less than or equal

string (date)
GET
/invoices
# 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'

Responses

Successful Response

Bodyapplication/json
total_countinteger(Total Count)required
itemsArray of objects(Items)required
Response
{ "total_count": 0, "items": [ { … } ] }

Post Invoice

Request

Create a new draft invoice.

Security
BearerAuth
Bodyapplication/jsonrequired
invoice_datestring, (date)(Invoice Date)required

Invoice date

Example:"2024-01-01"
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
POST
/invoices
# 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"
    }
  ]
}'

Responses

Invoice created.

Bodyapplication/json
invoice_idstring, (uuid4)(Invoice Id)required
Response
{ "invoice_id": "string" }

Post Invoice From Invoice

Request

Create a new draft invoice from an existing invoice.

Security
BearerAuth
Bodyapplication/jsonrequired
invoice_idstring, (uuid4)(Invoice Id)required
invoice_datestring or null(Invoice Date)
Any of:
string (date)
due_datestring or null(Due Date)
Any of:
string (date)
service_datestring or null(Service Date)
Any of:
string (date)
POST
/invoices/from-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"
}'

Responses

Invoice created from invoice.

Bodyapplication/json
invoice_idstring, (uuid4)(Invoice Id)required
Response
{ "invoice_id": "string" }

Post Invoice From Order Confirmation

Request

Create a new draft invoice from an existing order confirmation.

Security
BearerAuth
Bodyapplication/jsonrequired
order_confirmation_idstring, (uuid4)(Order Confirmation Id)required
invoice_datestring or null(Invoice Date)
Any of:
string (date)
due_datestring or null(Due Date)
Any of:
string (date)
service_datestring or null(Service Date)
Any of:
string (date)
POST
/invoices/from-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"
}'

Responses

Invoice created from order confirmation.

Bodyapplication/json
invoice_idstring, (uuid4)(Invoice Id)required
Response
{ "invoice_id": "string" }

Post Invoice From Quotation

Request

Create a new draft invoice from an existing quotation.

Security
BearerAuth
Bodyapplication/jsonrequired
quotation_idstring, (uuid4)(Quotation Id)required
invoice_datestring or null(Invoice Date)
Any of:
string (date)
due_datestring or null(Due Date)
Any of:
string (date)
service_datestring or null(Service Date)
Any of:
string (date)
POST
/invoices/from-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"
}'

Responses

Invoice created from quotation.

Bodyapplication/json
invoice_idstring, (uuid4)(Invoice Id)required
Response
{ "invoice_id": "string" }

Commit Invoice

Request

Assign the final invoice number to a draft invoice.

Security
BearerAuth
Bodyapplication/jsonrequired
invoice_idstring, (uuid4)(Invoice Id)required
POST
/invoice-commit
# 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"
}'

Responses

Invoice committed.

Bodyapplication/json
invoice_idstring, (uuid4)(Invoice Id)required
invoice_nointeger(Invoice No)required
invoice_prefixstring(Invoice Prefix)required
Response
{ "invoice_id": "string", "invoice_no": 0, "invoice_prefix": "string" }

Patch Invoice Position

Request

Update one existing invoice position for an editable invoice.

Security
BearerAuth
Path
invoice_idstring, (uuid4)(Invoice Id)required
invoice_position_idstring, (uuid4)(Invoice Position Id)required
Bodyapplication/jsonrequired
product_textstring or null(Product Text)
Any of:
string
product_descriptionstring or null(Product Description)
Any of:
string
net_price(number or string) or null(Net Price)
Any of:
Any of:
number
tax_rate(number or string) or null(Tax Rate)
Any of:
Any of:
number
product_count(number or string) or null(Product Count)
Any of:
Any of:
number
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:
string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:
string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:
string (uuid4)
PATCH
/invoices/{invoice_id}/positions/{invoice_position_id}
# 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"
}'

Responses

Invoice position updated.

Bodyapplication/json
product_textstring(Product Text)required
net_pricestring(Net Price)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
tax_ratestring(Tax Rate)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
product_countstring(Product Count)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
invoice_position_idstring, (uuid4)(Invoice Position Id)required
positioninteger(Position)required
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
product_number_snapshotinteger or null(Product Number Snapshot)
Any of:

Product number snapshot captured when the position was created

integer
product_group_name_snapshotstring or null(Product Group Name Snapshot)
Any of:

Product group name snapshot captured when the position was created

string
full_price_netstring or null(Full Price Net)
Any of:
string
full_price_grossstring or null(Full Price Gross)
Any of:
string
taxstring or null(Tax)
Any of:
string
Response
{ "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" }

Remove Invoice Position

Request

Delete one invoice position from an editable invoice.

Security
BearerAuth
Path
invoice_idstring, (uuid4)(Invoice Id)required
invoice_position_idstring, (uuid4)(Invoice Position Id)required
DELETE
/invoices/{invoice_id}/positions/{invoice_position_id}
# 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'

Responses

Invoice position deleted successfully.

Bodyapplication/json
any
Response
// No response sample

Post Invoice Position

Request

Create one new invoice position for an editable invoice.

Security
BearerAuth
Path
invoice_idstring, (uuid4)(Invoice Id)required
Bodyapplication/jsonrequired
product_textstring(Product Text)required
net_pricenumber or string(Net Price)required
Any of:
number
tax_ratenumber or string(Tax Rate)required
Any of:
number
product_countnumber or string(Product Count)required
Any of:
number
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
POST
/invoices/{invoice_id}/positions
# 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"
}'

Responses

Invoice position created.

Bodyapplication/json
product_textstring(Product Text)required
net_pricestring(Net Price)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
tax_ratestring(Tax Rate)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
product_countstring(Product Count)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
invoice_position_idstring, (uuid4)(Invoice Position Id)required
positioninteger(Position)required
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
product_number_snapshotinteger or null(Product Number Snapshot)
Any of:

Product number snapshot captured when the position was created

integer
product_group_name_snapshotstring or null(Product Group Name Snapshot)
Any of:

Product group name snapshot captured when the position was created

string
full_price_netstring or null(Full Price Net)
Any of:
string
full_price_grossstring or null(Full Price Gross)
Any of:
string
taxstring or null(Tax)
Any of:
string
Response
{ "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" }

List Extra Invoice Positions

Request

Return imported extra invoice positions with customer and product details.

Security
BearerAuth
Query
skipinteger, >= 0(Skip)

Number of records to skip for pagination

Default:0
limitinteger, [ 1 .. 1000 ](Limit)

Maximum number of records to return

Default:100
statusExtraInvoicePositionStatus (string) or null(Status)
Any of:

Filter by processing status

string(ExtraInvoicePositionStatus)
Enum:"pending""processed"
customer_idstring or null(Customer Id)
Any of:

Filter by customer ID

string (uuid4)
billing_year_frominteger or null(Billing Year From)
Any of:

Start billing year

[ 2000 .. 2100 ]
integer
billing_month_frominteger or null(Billing Month From)
Any of:

Start billing month

[ 1 .. 12 ]
integer
billing_year_tointeger or null(Billing Year To)
Any of:

End billing year

[ 2000 .. 2100 ]
integer
billing_month_tointeger or null(Billing Month To)
Any of:

End billing month

[ 1 .. 12 ]
integer
GET
/billing/extra-invoice-positions
# 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'

Responses

Successful Response

Bodyapplication/json
total_countinteger(Total Count)required
itemsArray of objects(Items)required
Response
{ "total_count": 0, "items": [ { … } ] }

Import Extra Invoice Positions

Request

Import one CSV file with extra invoice positions for monthly invoice runs.

Security
BearerAuth
Bodymultipart/form-datarequired
filestring(File)required
has_headerboolean(Has Header)required
encodingstring(Encoding)required
delimiterstring(Delimiter)required
POST
/billing/extra-invoice-positions/import
# 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'

Responses

Successful Response

Bodyapplication/json
total_rowsinteger(Total Rows)required
imported_rowsinteger(Imported Rows)required
statusstring(Status)
Default:"accepted"
Response
{ "status": "accepted", "total_rows": 0, "imported_rows": 0 }

Patch Extra Invoice Position

Request

Update one pending extra invoice position.

Security
BearerAuth
Path
extra_invoice_position_idstring, (uuid4)(Extra Invoice Position Id)required
Bodyapplication/jsonrequired
customer_idstring or null(Customer Id)
Any of:
string (uuid4)
product_idstring or null(Product Id)
Any of:
string (uuid4)
billing_monthinteger or null(Billing Month)
Any of:
[ 1 .. 12 ]
integer
billing_yearinteger or null(Billing Year)
Any of:
[ 2000 .. 2100 ]
integer
quantitynumber or string or null(Quantity)
Any of:
> 0
number
unit_net_price(number or string) or null(Unit Net Price)
Any of:
Any of:
>= 0
number
external_referencestring or null(External Reference)
Any of:
[ 1 .. 255 ] characters
string
descriptionstring or null(Description)
Any of:
string
PATCH
/billing/extra-invoice-positions/{extra_invoice_position_id}
# 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"
}'

Responses

Successful Response

Bodyapplication/json
extra_invoice_position_idstring, (uuid4)(Extra Invoice Position Id)required
customer_idstring, (uuid4)(Customer Id)required
product_idstring, (uuid4)(Product Id)required
billing_monthinteger(Billing Month)required
billing_yearinteger(Billing Year)required
quantitystring(Quantity)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
unit_net_pricestring(Unit Net Price)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
external_referencestring(External Reference)required
statusstring(ExtraInvoicePositionStatus)required
Enum:"pending""processed"
created_atstring, (date-time)(Created At)required
customerobject(Customer)required
productobject(ProductCompactResponse)required
descriptionstring or null(Description)
Any of:
string
invoice_run_idstring or null(Invoice Run Id)
Any of:
string (uuid4)
invoice_idstring or null(Invoice Id)
Any of:
string (uuid4)
invoice_position_idstring or null(Invoice Position Id)
Any of:
string (uuid4)
processed_atstring or null(Processed At)
Any of:
string (date-time)
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 Extra Invoice Position

Request

Delete one pending extra invoice position.

Security
BearerAuth
Path
extra_invoice_position_idstring, (uuid4)(Extra Invoice Position Id)required
DELETE
/billing/extra-invoice-positions/{extra_invoice_position_id}
# 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'

Responses

Extra invoice position deleted successfully.

Bodyapplication/json
any
Response
// No response sample

Get Not Billed Customers

Request

Return customers that are billable for the given month and year but do not have an invoice yet.

Security
BearerAuth
Query
monthinteger, [ 1 .. 12 ](Month)required
yearinteger, [ 2000 .. 2100 ](Year)required
skipinteger, >= 0(Skip)
Default:0
limitinteger, [ 1 .. 1000 ](Limit)
Default:100
customer_groupsArray of strings or null(Customer Groups)
Any of:
Array of strings (uuid4)
billcyclesArray of strings or null(Billcycles)
Any of:
Array of strings (uuid4)
GET
/not-billed-customers
# 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'

Responses

Successful Response

Bodyapplication/json
total_countinteger(Total Count)required
itemsArray of objects(Items)required
Response
{ "total_count": 0, "items": [ { … } ] }

Invoice Proposal

Request

Queue the creation of an invoice proposal for all matching customers.

Security
BearerAuth
Bodyapplication/jsonrequired
monthinteger, [ 1 .. 12 ](Month)required
yearinteger(Year)required
due_datestring or null(Due Date)
Any of:
string (date)
labelstring or null(Label)
Any of:
<= 255 characters
string
customer_groupsArray of strings or null(Customer Groups)
Any of:
Array of strings (uuid4)
billcyclesArray of strings or null(Billcycles)
Any of:
Array of strings (uuid4)
POST
/invoice-proposals
# 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"
  ]
}'

Responses

Successful Response

Bodyapplication/json
any
Response
// No response sample

Get Invoice Runs

Request

Return the most recent invoice runs.

Security
BearerAuth
Query
statusInvoiceRunStatus (string) or null(Status)
Any of:

Filter by status using exact match

string(InvoiceRunStatus)
Enum:"pending""finished""running""failed"
total_customersinteger or null(Total Customers)
Any of:

Filter by total_customers using exact match

>= 0
integer
start_date_fromstring or null(Start Date From)
Any of:

Filter by start_date greater than or equal

string (date-time)
start_date_tostring or null(Start Date To)
Any of:

Filter by start_date less than or equal

string (date-time)
end_date_fromstring or null(End Date From)
Any of:

Filter by end_date greater than or equal

string (date-time)
end_date_tostring or null(End Date To)
Any of:

Filter by end_date less than or equal

string (date-time)
GET
/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'

Responses

Successful Response

Bodyapplication/json
Array [
invoice_run_idstring, (uuid4)(Invoice Run Id)required
start_datestring, (date-time)(Start Date)required
statusstring(InvoiceRunStatus)required
Enum:"pending""finished""running""failed"
monthinteger(Month)required
yearinteger(Year)required
total_customersinteger(Total Customers)required
processed_customersinteger(Processed Customers)required
failed_customersinteger(Failed Customers)required
created_invoicesinteger(Created Invoices)required
recurring_billing_timingstring(RecurringBillingTiming)required
Enum:"period_start""period_end"
invoice_groupingstring(InvoiceGrouping)required
Enum:"by_customer""by_service"
end_datestring or null(End Date)
Any of:
string (date-time)
heartbeat_atstring or null(Heartbeat At)
Any of:
string (date-time)
due_datestring or null(Due Date)
Any of:
string (date)
labelstring or null(Label)
Any of:
string
customer_groupsArray of strings or null(Customer Groups)
Any of:
Array of strings (uuid4)
billcyclesArray of strings or null(Billcycles)
Any of:
Array of strings (uuid4)
commentstring or null(Comment)
Any of:
string
]
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" } ]

Get All Corrective Invoices

Request

Return paginated corrective invoices including calculated totals.

Security
BearerAuth
Query
skipinteger, >= 0(Skip)

Number of records to skip

Default:0
limitinteger, [ 1 .. 1000 ](Limit)

Maximum number of records to return

Default:100
sort_bystring(Sort By)

Field used for sorting

Default:"document_date"
Enum:"document_no""document_prefix""document_date""service_date""due_date""company""name""firstname""city""postcode"
sort_orderstring(Sort Order)

Sort direction

Default:"desc"
Enum:"asc""desc"
document_nointeger or null(Document No)
Any of:

Filter by document number using exact match

integer
document_prefixstring or null(Document Prefix)
Any of:

Filter by document prefix using exact match

string
customer_idstring or null(Customer Id)
Any of:

Filter by customer_id using exact match

string (uuid4)
statusCommercialDocumentStatus (string) or null(Status)
Any of:

Shared lifecycle status for editable commercial documents.

string(CommercialDocumentStatus)
Enum:"draft""committed""generated""sent"
companystring or null(Company)
Any of:

Filter by company using a case-insensitive partial match

string
namestring or null(Name)
Any of:

Filter by name using a case-insensitive partial match

string
firstnamestring or null(Firstname)
Any of:

Filter by firstname using a case-insensitive partial match

string
citystring or null(City)
Any of:

Filter by city using a case-insensitive partial match

string
postcodestring or null(Postcode)
Any of:

Filter by postcode using a case-insensitive partial match

string
document_date_fromstring or null(Document Date From)
Any of:

Filter by document date greater than or equal

string (date)
document_date_tostring or null(Document Date To)
Any of:

Filter by document date less than or equal

string (date)
service_date_fromstring or null(Service Date From)
Any of:

Filter by service_date greater than or equal

string (date)
service_date_tostring or null(Service Date To)
Any of:

Filter by service_date less than or equal

string (date)
due_date_fromstring or null(Due Date From)
Any of:

Filter by due_date greater than or equal

string (date)
due_date_tostring or null(Due Date To)
Any of:

Filter by due_date less than or equal

string (date)
GET
/corrective-invoices
# 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'

Responses

Successful Response

Bodyapplication/json
total_countinteger(Total Count)required
itemsArray of objects(Items)required
Response
{ "total_count": 0, "items": [ { … } ] }

Post Corrective Invoice

Request

Create a new corrective invoice.

Security
BearerAuth
Bodyapplication/jsonrequired
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

corrective_invoice_datestring, (date)(Corrective Invoice Date)required

Corrective invoice date

Example:"2024-01-01"
positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
POST
/corrective-invoices
# 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"
    }
  ]
}'

Responses

Corrective invoice created.

Bodyapplication/json
corrective_invoice_idstring, (uuid4)(Corrective Invoice Id)required
Response
{ "corrective_invoice_id": "string" }

Get Corrective Invoice

Request

Return one corrective invoice including all positions and calculated totals.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
GET
/corrective-invoices/{document_id}
# 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'

Responses

Corrective invoice found

Bodyapplication/json
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

corrective_invoice_datestring, (date)(Corrective Invoice Date)required

Corrective invoice date

Example:"2024-01-01"
corrective_invoice_idstring, (uuid4)(Corrective Invoice Id)required
statusstring(CommercialDocumentStatus)required

Shared lifecycle status for editable commercial documents.

Enum:"draft""committed""generated""sent"
positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
corrective_invoice_nointeger or null(Corrective Invoice No)
Any of:
integer
corrective_invoice_prefixstring or null(Corrective Invoice Prefix)
Any of:
string
net_sumstring or null(Net Sum)
Any of:
string
tax_sumstring or null(Tax Sum)
Any of:
string
taxArray of objects(Tax)
gross_sumstring or null(Gross Sum)
Any of:
string
documentDocumentResponse (object) or null
Any of:
Response
{ "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 } }

Patch Corrective Invoice

Request

Update editable corrective invoice header fields. Positions use separate endpoints.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
Bodyapplication/jsonrequired
service_datestring or null(Service Date)
Any of:
string (date)
customer_idstring or null(Customer Id)
Any of:
string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:
integer
due_datestring or null(Due Date)
Any of:
string (date)
reference_numberstring or null(Reference Number)
Any of:
<= 255 characters
string
salutationstring or null(Salutation)
Any of:
string
namestring or null(Name)
Any of:
string
firstnamestring or null(Firstname)
Any of:
string
companystring or null(Company)
Any of:
string
streetstring or null(Street)
Any of:
string
house_numberstring or null(House Number)
Any of:
string
house_number_additionstring or null(House Number Addition)
Any of:
string
postcodestring or null(Postcode)
Any of:
string
citystring or null(City)
Any of:
string
districtstring or null(District)
Any of:
string
corrective_invoice_datestring or null(Corrective Invoice Date)
Any of:
string (date)
PATCH
/corrective-invoices/{document_id}
# 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"
}'

Responses

Corrective invoice updated.

Bodyapplication/json
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

corrective_invoice_datestring, (date)(Corrective Invoice Date)required

Corrective invoice date

Example:"2024-01-01"
corrective_invoice_idstring, (uuid4)(Corrective Invoice Id)required
statusstring(CommercialDocumentStatus)required

Shared lifecycle status for editable commercial documents.

Enum:"draft""committed""generated""sent"
positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
corrective_invoice_nointeger or null(Corrective Invoice No)
Any of:
integer
corrective_invoice_prefixstring or null(Corrective Invoice Prefix)
Any of:
string
net_sumstring or null(Net Sum)
Any of:
string
tax_sumstring or null(Tax Sum)
Any of:
string
taxArray of objects(Tax)
gross_sumstring or null(Gross Sum)
Any of:
string
documentDocumentResponse (object) or null
Any of:
Response
{ "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 Corrective Invoice

Request

Delete an editable corrective invoice.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
DELETE
/corrective-invoices/{document_id}
# 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'

Responses

Successful Response

Bodyapplication/json
any
Response
// No response sample

Post Corrective Invoice From Corrective Invoice

Request

Create a new corrective invoice from an existing corrective invoice.

Security
BearerAuth
Bodyapplication/jsonrequired
corrective_invoice_idstring, (uuid4)(Corrective Invoice Id)required
corrective_invoice_datestring or null(Corrective Invoice Date)
Any of:
string (date)
due_datestring or null(Due Date)
Any of:
string (date)
service_datestring or null(Service Date)
Any of:
string (date)
POST
/corrective-invoices/from-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"
}'

Responses

Corrective invoice created from corrective invoice.

Bodyapplication/json
corrective_invoice_idstring, (uuid4)(Corrective Invoice Id)required
Response
{ "corrective_invoice_id": "string" }

Post Corrective Invoice From Invoice

Request

Create a new corrective invoice from an existing invoice.

Security
BearerAuth
Bodyapplication/jsonrequired
invoice_idstring, (uuid4)(Invoice Id)required
corrective_invoice_datestring or null(Corrective Invoice Date)
Any of:
string (date)
due_datestring or null(Due Date)
Any of:
string (date)
service_datestring or null(Service Date)
Any of:
string (date)
POST
/corrective-invoices/from-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"
}'

Responses

Corrective invoice created from invoice.

Bodyapplication/json
corrective_invoice_idstring, (uuid4)(Corrective Invoice Id)required
Response
{ "corrective_invoice_id": "string" }

Patch Corrective Invoice Position

Request

Update one existing corrective invoice position for an editable document.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
position_idstring, (uuid4)(Position Id)required
Bodyapplication/jsonrequired
product_textstring or null(Product Text)
Any of:
string
product_descriptionstring or null(Product Description)
Any of:
string
net_price(number or string) or null(Net Price)
Any of:
Any of:
number
tax_rate(number or string) or null(Tax Rate)
Any of:
Any of:
number
product_count(number or string) or null(Product Count)
Any of:
Any of:
number
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:
string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:
string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:
string (uuid4)
PATCH
/corrective-invoices/{document_id}/positions/{position_id}
# 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"
}'

Responses

Corrective invoice position updated.

Bodyapplication/json
product_textstring(Product Text)required
net_pricestring(Net Price)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
tax_ratestring(Tax Rate)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
product_countstring(Product Count)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
corrective_invoice_position_idstring, (uuid4)(Corrective Invoice Position Id)required
positioninteger(Position)required
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
product_number_snapshotinteger or null(Product Number Snapshot)
Any of:

Product number snapshot captured when the position was created

integer
product_group_name_snapshotstring or null(Product Group Name Snapshot)
Any of:

Product group name snapshot captured when the position was created

string
full_price_netstring or null(Full Price Net)
Any of:
string
full_price_grossstring or null(Full Price Gross)
Any of:
string
taxstring or null(Tax)
Any of:
string
Response
{ "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" }

Remove Corrective Invoice Position

Request

Delete one corrective invoice position from an editable document.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
position_idstring, (uuid4)(Position Id)required
DELETE
/corrective-invoices/{document_id}/positions/{position_id}
# 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'

Responses

Corrective invoice position deleted successfully.

Bodyapplication/json
any
Response
// No response sample

Post Corrective Invoice Position

Request

Create one new corrective invoice position for an editable document.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
Bodyapplication/jsonrequired
product_textstring(Product Text)required
net_pricenumber or string(Net Price)required
Any of:
number
tax_ratenumber or string(Tax Rate)required
Any of:
number
product_countnumber or string(Product Count)required
Any of:
number
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
POST
/corrective-invoices/{document_id}/positions
# 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"
}'

Responses

Corrective invoice position created.

Bodyapplication/json
product_textstring(Product Text)required
net_pricestring(Net Price)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
tax_ratestring(Tax Rate)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
product_countstring(Product Count)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
corrective_invoice_position_idstring, (uuid4)(Corrective Invoice Position Id)required
positioninteger(Position)required
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
product_number_snapshotinteger or null(Product Number Snapshot)
Any of:

Product number snapshot captured when the position was created

integer
product_group_name_snapshotstring or null(Product Group Name Snapshot)
Any of:

Product group name snapshot captured when the position was created

string
full_price_netstring or null(Full Price Net)
Any of:
string
full_price_grossstring or null(Full Price Gross)
Any of:
string
taxstring or null(Tax)
Any of:
string
Response
{ "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" }

Get Quotation

Request

Return one quotation including all positions and calculated totals.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
GET
/quotations/{document_id}
# 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'

Responses

Quotation found

Bodyapplication/json
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

quotation_datestring, (date)(Quotation Date)required

Quotation date

Example:"2024-01-01"
quotation_idstring, (uuid4)(Quotation Id)required
statusstring(CommercialDocumentStatus)required

Shared lifecycle status for editable commercial documents.

Enum:"draft""committed""generated""sent"
positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
quotation_nointeger or null(Quotation No)
Any of:
integer
quotation_prefixstring or null(Quotation Prefix)
Any of:
string
net_sumstring or null(Net Sum)
Any of:
string
tax_sumstring or null(Tax Sum)
Any of:
string
taxArray of objects(Tax)
gross_sumstring or null(Gross Sum)
Any of:
string
documentDocumentResponse (object) or null
Any of:
Response
{ "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 } }

Patch Quotation

Request

Update editable quotation header fields. Positions use separate endpoints.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
Bodyapplication/jsonrequired
service_datestring or null(Service Date)
Any of:
string (date)
customer_idstring or null(Customer Id)
Any of:
string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:
integer
due_datestring or null(Due Date)
Any of:
string (date)
reference_numberstring or null(Reference Number)
Any of:
<= 255 characters
string
salutationstring or null(Salutation)
Any of:
string
namestring or null(Name)
Any of:
string
firstnamestring or null(Firstname)
Any of:
string
companystring or null(Company)
Any of:
string
streetstring or null(Street)
Any of:
string
house_numberstring or null(House Number)
Any of:
string
house_number_additionstring or null(House Number Addition)
Any of:
string
postcodestring or null(Postcode)
Any of:
string
citystring or null(City)
Any of:
string
districtstring or null(District)
Any of:
string
quotation_datestring or null(Quotation Date)
Any of:
string (date)
PATCH
/quotations/{document_id}
# 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"
}'

Responses

Quotation updated.

Bodyapplication/json
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

quotation_datestring, (date)(Quotation Date)required

Quotation date

Example:"2024-01-01"
quotation_idstring, (uuid4)(Quotation Id)required
statusstring(CommercialDocumentStatus)required

Shared lifecycle status for editable commercial documents.

Enum:"draft""committed""generated""sent"
positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
quotation_nointeger or null(Quotation No)
Any of:
integer
quotation_prefixstring or null(Quotation Prefix)
Any of:
string
net_sumstring or null(Net Sum)
Any of:
string
tax_sumstring or null(Tax Sum)
Any of:
string
taxArray of objects(Tax)
gross_sumstring or null(Gross Sum)
Any of:
string
documentDocumentResponse (object) or null
Any of:
Response
{ "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 Quotation

Request

Delete an editable quotation.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
DELETE
/quotations/{document_id}
# 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'

Responses

Successful Response

Bodyapplication/json
any
Response
// No response sample

Get All Quotations

Request

Return paginated quotations including calculated totals.

Security
BearerAuth
Query
skipinteger, >= 0(Skip)

Number of records to skip

Default:0
limitinteger, [ 1 .. 1000 ](Limit)

Maximum number of records to return

Default:100
sort_bystring(Sort By)

Field used for sorting

Default:"document_date"
Enum:"document_no""document_prefix""document_date""service_date""due_date""company""name""firstname""city""postcode"
sort_orderstring(Sort Order)

Sort direction

Default:"desc"
Enum:"asc""desc"
document_nointeger or null(Document No)
Any of:

Filter by document number using exact match

integer
document_prefixstring or null(Document Prefix)
Any of:

Filter by document prefix using exact match

string
customer_idstring or null(Customer Id)
Any of:

Filter by customer_id using exact match

string (uuid4)
statusCommercialDocumentStatus (string) or null(Status)
Any of:

Shared lifecycle status for editable commercial documents.

string(CommercialDocumentStatus)
Enum:"draft""committed""generated""sent"
companystring or null(Company)
Any of:

Filter by company using a case-insensitive partial match

string
namestring or null(Name)
Any of:

Filter by name using a case-insensitive partial match

string
firstnamestring or null(Firstname)
Any of:

Filter by firstname using a case-insensitive partial match

string
citystring or null(City)
Any of:

Filter by city using a case-insensitive partial match

string
postcodestring or null(Postcode)
Any of:

Filter by postcode using a case-insensitive partial match

string
document_date_fromstring or null(Document Date From)
Any of:

Filter by document date greater than or equal

string (date)
document_date_tostring or null(Document Date To)
Any of:

Filter by document date less than or equal

string (date)
service_date_fromstring or null(Service Date From)
Any of:

Filter by service_date greater than or equal

string (date)
service_date_tostring or null(Service Date To)
Any of:

Filter by service_date less than or equal

string (date)
due_date_fromstring or null(Due Date From)
Any of:

Filter by due_date greater than or equal

string (date)
due_date_tostring or null(Due Date To)
Any of:

Filter by due_date less than or equal

string (date)
GET
/quotations
# 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'

Responses

Successful Response

Bodyapplication/json
total_countinteger(Total Count)required
itemsArray of objects(Items)required
Response
{ "total_count": 0, "items": [ { … } ] }

Post Quotation

Request

Create a new quotation.

Security
BearerAuth
Bodyapplication/jsonrequired
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

quotation_datestring, (date)(Quotation Date)required

Quotation date

Example:"2024-01-01"
positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
POST
/quotations
# 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"
    }
  ]
}'

Responses

Quotation created.

Bodyapplication/json
quotation_idstring, (uuid4)(Quotation Id)required
Response
{ "quotation_id": "string" }

Post Quotation From Quotation

Request

Create a new quotation from an existing quotation.

Security
BearerAuth
Bodyapplication/jsonrequired
quotation_idstring, (uuid4)(Quotation Id)required
quotation_datestring or null(Quotation Date)
Any of:
string (date)
due_datestring or null(Due Date)
Any of:
string (date)
service_datestring or null(Service Date)
Any of:
string (date)
POST
/quotations/from-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"
}'

Responses

Quotation created from quotation.

Bodyapplication/json
quotation_idstring, (uuid4)(Quotation Id)required
Response
{ "quotation_id": "string" }

Patch Quotation Position

Request

Update one existing quotation position for an editable document.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
position_idstring, (uuid4)(Position Id)required
Bodyapplication/jsonrequired
product_textstring or null(Product Text)
Any of:
string
product_descriptionstring or null(Product Description)
Any of:
string
net_price(number or string) or null(Net Price)
Any of:
Any of:
number
tax_rate(number or string) or null(Tax Rate)
Any of:
Any of:
number
product_count(number or string) or null(Product Count)
Any of:
Any of:
number
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:
string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:
string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:
string (uuid4)
PATCH
/quotations/{document_id}/positions/{position_id}
# 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"
}'

Responses

Quotation position updated.

Bodyapplication/json
product_textstring(Product Text)required
net_pricestring(Net Price)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
tax_ratestring(Tax Rate)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
product_countstring(Product Count)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
quotation_position_idstring, (uuid4)(Quotation Position Id)required
positioninteger(Position)required
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
product_number_snapshotinteger or null(Product Number Snapshot)
Any of:

Product number snapshot captured when the position was created

integer
product_group_name_snapshotstring or null(Product Group Name Snapshot)
Any of:

Product group name snapshot captured when the position was created

string
full_price_netstring or null(Full Price Net)
Any of:
string
full_price_grossstring or null(Full Price Gross)
Any of:
string
taxstring or null(Tax)
Any of:
string
Response
{ "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" }

Remove Quotation Position

Request

Delete one quotation position from an editable document.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
position_idstring, (uuid4)(Position Id)required
DELETE
/quotations/{document_id}/positions/{position_id}
# 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'

Responses

Quotation position deleted successfully.

Bodyapplication/json
any
Response
// No response sample

Post Quotation Position

Request

Create one new quotation position for an editable document.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
Bodyapplication/jsonrequired
product_textstring(Product Text)required
net_pricenumber or string(Net Price)required
Any of:
number
tax_ratenumber or string(Tax Rate)required
Any of:
number
product_countnumber or string(Product Count)required
Any of:
number
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
POST
/quotations/{document_id}/positions
# 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"
}'

Responses

Quotation position created.

Bodyapplication/json
product_textstring(Product Text)required
net_pricestring(Net Price)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
tax_ratestring(Tax Rate)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
product_countstring(Product Count)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
quotation_position_idstring, (uuid4)(Quotation Position Id)required
positioninteger(Position)required
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
product_number_snapshotinteger or null(Product Number Snapshot)
Any of:

Product number snapshot captured when the position was created

integer
product_group_name_snapshotstring or null(Product Group Name Snapshot)
Any of:

Product group name snapshot captured when the position was created

string
full_price_netstring or null(Full Price Net)
Any of:
string
full_price_grossstring or null(Full Price Gross)
Any of:
string
taxstring or null(Tax)
Any of:
string
Response
{ "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" }

Get Order Confirmation

Request

Return one order confirmation including all positions and calculated totals.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
GET
/order-confirmations/{document_id}
# 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'

Responses

Order confirmation found

Bodyapplication/json
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

order_confirmation_datestring, (date)(Order Confirmation Date)required

Order confirmation date

Example:"2024-01-01"
order_confirmation_idstring, (uuid4)(Order Confirmation Id)required
statusstring(CommercialDocumentStatus)required

Shared lifecycle status for editable commercial documents.

Enum:"draft""committed""generated""sent"
positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
order_confirmation_nointeger or null(Order Confirmation No)
Any of:
integer
order_confirmation_prefixstring or null(Order Confirmation Prefix)
Any of:
string
net_sumstring or null(Net Sum)
Any of:
string
tax_sumstring or null(Tax Sum)
Any of:
string
taxArray of objects(Tax)
gross_sumstring or null(Gross Sum)
Any of:
string
documentDocumentResponse (object) or null
Any of:
Response
{ "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 } }

Patch Order Confirmation

Request

Update editable order confirmation header fields. Positions use separate endpoints.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
Bodyapplication/jsonrequired
service_datestring or null(Service Date)
Any of:
string (date)
customer_idstring or null(Customer Id)
Any of:
string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:
integer
due_datestring or null(Due Date)
Any of:
string (date)
reference_numberstring or null(Reference Number)
Any of:
<= 255 characters
string
salutationstring or null(Salutation)
Any of:
string
namestring or null(Name)
Any of:
string
firstnamestring or null(Firstname)
Any of:
string
companystring or null(Company)
Any of:
string
streetstring or null(Street)
Any of:
string
house_numberstring or null(House Number)
Any of:
string
house_number_additionstring or null(House Number Addition)
Any of:
string
postcodestring or null(Postcode)
Any of:
string
citystring or null(City)
Any of:
string
districtstring or null(District)
Any of:
string
order_confirmation_datestring or null(Order Confirmation Date)
Any of:
string (date)
PATCH
/order-confirmations/{document_id}
# 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"
}'

Responses

Order confirmation updated.

Bodyapplication/json
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

order_confirmation_datestring, (date)(Order Confirmation Date)required

Order confirmation date

Example:"2024-01-01"
order_confirmation_idstring, (uuid4)(Order Confirmation Id)required
statusstring(CommercialDocumentStatus)required

Shared lifecycle status for editable commercial documents.

Enum:"draft""committed""generated""sent"
positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
order_confirmation_nointeger or null(Order Confirmation No)
Any of:
integer
order_confirmation_prefixstring or null(Order Confirmation Prefix)
Any of:
string
net_sumstring or null(Net Sum)
Any of:
string
tax_sumstring or null(Tax Sum)
Any of:
string
taxArray of objects(Tax)
gross_sumstring or null(Gross Sum)
Any of:
string
documentDocumentResponse (object) or null
Any of:
Response
{ "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 Order Confirmation

Request

Delete an editable order confirmation.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
DELETE
/order-confirmations/{document_id}
# 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'

Responses

Successful Response

Bodyapplication/json
any
Response
// No response sample

Get All Order Confirmations

Request

Return paginated order confirmations including calculated totals.

Security
BearerAuth
Query
skipinteger, >= 0(Skip)

Number of records to skip

Default:0
limitinteger, [ 1 .. 1000 ](Limit)

Maximum number of records to return

Default:100
sort_bystring(Sort By)

Field used for sorting

Default:"document_date"
Enum:"document_no""document_prefix""document_date""service_date""due_date""company""name""firstname""city""postcode"
sort_orderstring(Sort Order)

Sort direction

Default:"desc"
Enum:"asc""desc"
document_nointeger or null(Document No)
Any of:

Filter by document number using exact match

integer
document_prefixstring or null(Document Prefix)
Any of:

Filter by document prefix using exact match

string
customer_idstring or null(Customer Id)
Any of:

Filter by customer_id using exact match

string (uuid4)
statusCommercialDocumentStatus (string) or null(Status)
Any of:

Shared lifecycle status for editable commercial documents.

string(CommercialDocumentStatus)
Enum:"draft""committed""generated""sent"
companystring or null(Company)
Any of:

Filter by company using a case-insensitive partial match

string
namestring or null(Name)
Any of:

Filter by name using a case-insensitive partial match

string
firstnamestring or null(Firstname)
Any of:

Filter by firstname using a case-insensitive partial match

string
citystring or null(City)
Any of:

Filter by city using a case-insensitive partial match

string
postcodestring or null(Postcode)
Any of:

Filter by postcode using a case-insensitive partial match

string
document_date_fromstring or null(Document Date From)
Any of:

Filter by document date greater than or equal

string (date)
document_date_tostring or null(Document Date To)
Any of:

Filter by document date less than or equal

string (date)
service_date_fromstring or null(Service Date From)
Any of:

Filter by service_date greater than or equal

string (date)
service_date_tostring or null(Service Date To)
Any of:

Filter by service_date less than or equal

string (date)
due_date_fromstring or null(Due Date From)
Any of:

Filter by due_date greater than or equal

string (date)
due_date_tostring or null(Due Date To)
Any of:

Filter by due_date less than or equal

string (date)
GET
/order-confirmations
# 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'

Responses

Successful Response

Bodyapplication/json
total_countinteger(Total Count)required
itemsArray of objects(Items)required
Response
{ "total_count": 0, "items": [ { … } ] }

Post Order Confirmation

Request

Create a new order confirmation.

Security
BearerAuth
Bodyapplication/jsonrequired
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

order_confirmation_datestring, (date)(Order Confirmation Date)required

Order confirmation date

Example:"2024-01-01"
positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
POST
/order-confirmations
# 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"
    }
  ]
}'

Responses

Order confirmation created.

Bodyapplication/json
order_confirmation_idstring, (uuid4)(Order Confirmation Id)required
Response
{ "order_confirmation_id": "string" }

Post Order Confirmation From Order Confirmation

Request

Create a new order confirmation from an existing order confirmation.

Security
BearerAuth
Bodyapplication/jsonrequired
order_confirmation_idstring, (uuid4)(Order Confirmation Id)required
order_confirmation_datestring or null(Order Confirmation Date)
Any of:
string (date)
due_datestring or null(Due Date)
Any of:
string (date)
service_datestring or null(Service Date)
Any of:
string (date)
POST
/order-confirmations/from-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"
}'

Responses

Order confirmation created from order confirmation.

Bodyapplication/json
order_confirmation_idstring, (uuid4)(Order Confirmation Id)required
Response
{ "order_confirmation_id": "string" }

Post Order Confirmation From Quotation

Request

Create a new order confirmation from an existing quotation.

Security
BearerAuth
Bodyapplication/jsonrequired
quotation_idstring, (uuid4)(Quotation Id)required
order_confirmation_datestring or null(Order Confirmation Date)
Any of:
string (date)
due_datestring or null(Due Date)
Any of:
string (date)
service_datestring or null(Service Date)
Any of:
string (date)
POST
/order-confirmations/from-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"
}'

Responses

Order confirmation created from quotation.

Bodyapplication/json
order_confirmation_idstring, (uuid4)(Order Confirmation Id)required
Response
{ "order_confirmation_id": "string" }

Patch Order Confirmation Position

Request

Update one existing order confirmation position for an editable document.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
position_idstring, (uuid4)(Position Id)required
Bodyapplication/jsonrequired
product_textstring or null(Product Text)
Any of:
string
product_descriptionstring or null(Product Description)
Any of:
string
net_price(number or string) or null(Net Price)
Any of:
Any of:
number
tax_rate(number or string) or null(Tax Rate)
Any of:
Any of:
number
product_count(number or string) or null(Product Count)
Any of:
Any of:
number
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:
string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:
string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:
string (uuid4)
PATCH
/order-confirmations/{document_id}/positions/{position_id}
# 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"
}'

Responses

Order confirmation position updated.

Bodyapplication/json
product_textstring(Product Text)required
net_pricestring(Net Price)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
tax_ratestring(Tax Rate)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
product_countstring(Product Count)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
order_confirmation_position_idstring, (uuid4)(Order Confirmation Position Id)required
positioninteger(Position)required
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
product_number_snapshotinteger or null(Product Number Snapshot)
Any of:

Product number snapshot captured when the position was created

integer
product_group_name_snapshotstring or null(Product Group Name Snapshot)
Any of:

Product group name snapshot captured when the position was created

string
full_price_netstring or null(Full Price Net)
Any of:
string
full_price_grossstring or null(Full Price Gross)
Any of:
string
taxstring or null(Tax)
Any of:
string
Response
{ "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" }

Remove Order Confirmation Position

Request

Delete one order confirmation position from an editable document.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
position_idstring, (uuid4)(Position Id)required
DELETE
/order-confirmations/{document_id}/positions/{position_id}
# 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'

Responses

Order confirmation position deleted successfully.

Bodyapplication/json
any
Response
// No response sample

Post Order Confirmation Position

Request

Create one new order confirmation position for an editable document.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
Bodyapplication/jsonrequired
product_textstring(Product Text)required
net_pricenumber or string(Net Price)required
Any of:
number
tax_ratenumber or string(Tax Rate)required
Any of:
number
product_countnumber or string(Product Count)required
Any of:
number
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
POST
/order-confirmations/{document_id}/positions
# 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"
}'

Responses

Order confirmation position created.

Bodyapplication/json
product_textstring(Product Text)required
net_pricestring(Net Price)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
tax_ratestring(Tax Rate)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
product_countstring(Product Count)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
order_confirmation_position_idstring, (uuid4)(Order Confirmation Position Id)required
positioninteger(Position)required
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
product_number_snapshotinteger or null(Product Number Snapshot)
Any of:

Product number snapshot captured when the position was created

integer
product_group_name_snapshotstring or null(Product Group Name Snapshot)
Any of:

Product group name snapshot captured when the position was created

string
full_price_netstring or null(Full Price Net)
Any of:
string
full_price_grossstring or null(Full Price Gross)
Any of:
string
taxstring or null(Tax)
Any of:
string
Response
{ "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" }

Get Payment Reminder

Request

Return one payment reminder including all positions and calculated totals.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
GET
/payment-reminders/{document_id}
# 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'

Responses

Payment reminder found

Bodyapplication/json
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

payment_reminder_datestring, (date)(Payment Reminder Date)required

Payment reminder date

Example:"2024-01-01"
payment_reminder_idstring, (uuid4)(Payment Reminder Id)required
statusstring(CommercialDocumentStatus)required

Shared lifecycle status for editable commercial documents.

Enum:"draft""committed""generated""sent"
positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
payment_reminder_nointeger or null(Payment Reminder No)
Any of:
integer
payment_reminder_prefixstring or null(Payment Reminder Prefix)
Any of:
string
net_sumstring or null(Net Sum)
Any of:
string
tax_sumstring or null(Tax Sum)
Any of:
string
taxArray of objects(Tax)
gross_sumstring or null(Gross Sum)
Any of:
string
documentDocumentResponse (object) or null
Any of:
Response
{ "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 } }

Patch Payment Reminder

Request

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
Bodyapplication/jsonrequired
service_datestring or null(Service Date)
Any of:
string (date)
customer_idstring or null(Customer Id)
Any of:
string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:
integer
due_datestring or null(Due Date)
Any of:
string (date)
reference_numberstring or null(Reference Number)
Any of:
<= 255 characters
string
salutationstring or null(Salutation)
Any of:
string
namestring or null(Name)
Any of:
string
firstnamestring or null(Firstname)
Any of:
string
companystring or null(Company)
Any of:
string
streetstring or null(Street)
Any of:
string
house_numberstring or null(House Number)
Any of:
string
house_number_additionstring or null(House Number Addition)
Any of:
string
postcodestring or null(Postcode)
Any of:
string
citystring or null(City)
Any of:
string
districtstring or null(District)
Any of:
string
payment_reminder_datestring or null(Payment Reminder Date)
Any of:
string (date)
PATCH
/payment-reminders/{document_id}
# 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"
}'

Responses

Payment reminder updated.

Bodyapplication/json
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

payment_reminder_datestring, (date)(Payment Reminder Date)required

Payment reminder date

Example:"2024-01-01"
payment_reminder_idstring, (uuid4)(Payment Reminder Id)required
statusstring(CommercialDocumentStatus)required

Shared lifecycle status for editable commercial documents.

Enum:"draft""committed""generated""sent"
positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
payment_reminder_nointeger or null(Payment Reminder No)
Any of:
integer
payment_reminder_prefixstring or null(Payment Reminder Prefix)
Any of:
string
net_sumstring or null(Net Sum)
Any of:
string
tax_sumstring or null(Tax Sum)
Any of:
string
taxArray of objects(Tax)
gross_sumstring or null(Gross Sum)
Any of:
string
documentDocumentResponse (object) or null
Any of:
Response
{ "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 } }

Delete Payment Reminder

Request

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
DELETE
/payment-reminders/{document_id}
# 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'

Responses

Successful Response

Bodyapplication/json
any
Response
// No response sample

Get All Payment Reminders

Request

Return paginated payment reminders including calculated totals.

Security
BearerAuth
Query
skipinteger, >= 0(Skip)

Number of records to skip

Default:0
limitinteger, [ 1 .. 1000 ](Limit)

Maximum number of records to return

Default:100
sort_bystring(Sort By)

Field used for sorting

Default:"document_date"
Enum:"document_no""document_prefix""document_date""service_date""due_date""company""name""firstname""city""postcode"
sort_orderstring(Sort Order)

Sort direction

Default:"desc"
Enum:"asc""desc"
document_nointeger or null(Document No)
Any of:

Filter by document number using exact match

integer
document_prefixstring or null(Document Prefix)
Any of:

Filter by document prefix using exact match

string
customer_idstring or null(Customer Id)
Any of:

Filter by customer_id using exact match

string (uuid4)
statusCommercialDocumentStatus (string) or null(Status)
Any of:

Shared lifecycle status for editable commercial documents.

string(CommercialDocumentStatus)
Enum:"draft""committed""generated""sent"
companystring or null(Company)
Any of:

Filter by company using a case-insensitive partial match

string
namestring or null(Name)
Any of:

Filter by name using a case-insensitive partial match

string
firstnamestring or null(Firstname)
Any of:

Filter by firstname using a case-insensitive partial match

string
citystring or null(City)
Any of:

Filter by city using a case-insensitive partial match

string
postcodestring or null(Postcode)
Any of:

Filter by postcode using a case-insensitive partial match

string
document_date_fromstring or null(Document Date From)
Any of:

Filter by document date greater than or equal

string (date)
document_date_tostring or null(Document Date To)
Any of:

Filter by document date less than or equal

string (date)
service_date_fromstring or null(Service Date From)
Any of:

Filter by service_date greater than or equal

string (date)
service_date_tostring or null(Service Date To)
Any of:

Filter by service_date less than or equal

string (date)
due_date_fromstring or null(Due Date From)
Any of:

Filter by due_date greater than or equal

string (date)
due_date_tostring or null(Due Date To)
Any of:

Filter by due_date less than or equal

string (date)
GET
/payment-reminders
# 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'

Responses

Successful Response

Bodyapplication/json
total_countinteger(Total Count)required
itemsArray of objects(Items)required
Response
{ "total_count": 0, "items": [ { … } ] }

Post Payment Reminder

Request

Security
BearerAuth
Bodyapplication/jsonrequired
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

payment_reminder_datestring, (date)(Payment Reminder Date)required

Payment reminder date

Example:"2024-01-01"
positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
POST
/payment-reminders
# 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"
    }
  ]
}'

Responses

Payment reminder created.

Bodyapplication/json
payment_reminder_idstring, (uuid4)(Payment Reminder Id)required
Response
{ "payment_reminder_id": "string" }

Post Payment Reminder From Invoice

Request

Create a new payment reminder from an existing invoice.

Security
BearerAuth
Bodyapplication/jsonrequired
invoice_idstring, (uuid4)(Invoice Id)required
payment_reminder_datestring or null(Payment Reminder Date)
Any of:
string (date)
due_datestring or null(Due Date)
Any of:
string (date)
service_datestring or null(Service Date)
Any of:
string (date)
POST
/payment-reminders/from-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"
}'

Responses

Payment reminder created from invoice.

Bodyapplication/json
payment_reminder_idstring, (uuid4)(Payment Reminder Id)required
Response
{ "payment_reminder_id": "string" }

Post Payment Reminder From Payment Reminder

Request

Create a new payment reminder from an existing payment reminder.

Security
BearerAuth
Bodyapplication/jsonrequired
payment_reminder_idstring, (uuid4)(Payment Reminder Id)required
payment_reminder_datestring or null(Payment Reminder Date)
Any of:
string (date)
due_datestring or null(Due Date)
Any of:
string (date)
service_datestring or null(Service Date)
Any of:
string (date)
POST
/payment-reminders/from-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"
}'

Responses

Payment reminder created from payment reminder.

Bodyapplication/json
payment_reminder_idstring, (uuid4)(Payment Reminder Id)required
Response
{ "payment_reminder_id": "string" }

Patch Payment Reminder Position

Request

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
position_idstring, (uuid4)(Position Id)required
Bodyapplication/jsonrequired
product_textstring or null(Product Text)
Any of:
string
product_descriptionstring or null(Product Description)
Any of:
string
net_price(number or string) or null(Net Price)
Any of:
Any of:
number
tax_rate(number or string) or null(Tax Rate)
Any of:
Any of:
number
product_count(number or string) or null(Product Count)
Any of:
Any of:
number
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:
string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:
string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:
string (uuid4)
PATCH
/payment-reminders/{document_id}/positions/{position_id}
# 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"
}'

Responses

Payment reminder position updated.

Bodyapplication/json
product_textstring(Product Text)required
net_pricestring(Net Price)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
tax_ratestring(Tax Rate)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
product_countstring(Product Count)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
payment_reminder_position_idstring, (uuid4)(Payment Reminder Position Id)required
positioninteger(Position)required
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
product_number_snapshotinteger or null(Product Number Snapshot)
Any of:

Product number snapshot captured when the position was created

integer
product_group_name_snapshotstring or null(Product Group Name Snapshot)
Any of:

Product group name snapshot captured when the position was created

string
full_price_netstring or null(Full Price Net)
Any of:
string
full_price_grossstring or null(Full Price Gross)
Any of:
string
taxstring or null(Tax)
Any of:
string
Response
{ "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" }

Remove Payment Reminder Position

Request

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
position_idstring, (uuid4)(Position Id)required
DELETE
/payment-reminders/{document_id}/positions/{position_id}
# 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'

Responses

Payment reminder position deleted successfully.

Bodyapplication/json
any
Response
// No response sample

Post Payment Reminder Position

Request

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
Bodyapplication/jsonrequired
product_textstring(Product Text)required
net_pricenumber or string(Net Price)required
Any of:
number
tax_ratenumber or string(Tax Rate)required
Any of:
number
product_countnumber or string(Product Count)required
Any of:
number
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
POST
/payment-reminders/{document_id}/positions
# 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"
}'

Responses

Payment reminder position created.

Bodyapplication/json
product_textstring(Product Text)required
net_pricestring(Net Price)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
tax_ratestring(Tax Rate)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
product_countstring(Product Count)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
payment_reminder_position_idstring, (uuid4)(Payment Reminder Position Id)required
positioninteger(Position)required
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
product_number_snapshotinteger or null(Product Number Snapshot)
Any of:

Product number snapshot captured when the position was created

integer
product_group_name_snapshotstring or null(Product Group Name Snapshot)
Any of:

Product group name snapshot captured when the position was created

string
full_price_netstring or null(Full Price Net)
Any of:
string
full_price_grossstring or null(Full Price Gross)
Any of:
string
taxstring or null(Tax)
Any of:
string
Response
{ "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" }

Get Self Billing Invoice

Request

Return one self-billing invoice including all positions and calculated totals.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
GET
/self-billing-invoices/{document_id}
# 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'

Responses

Self-billing invoice found

Bodyapplication/json
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

self_billing_invoice_datestring, (date)(Self Billing Invoice Date)required

Self-billing invoice date

Example:"2024-01-01"
self_billing_invoice_idstring, (uuid4)(Self Billing Invoice Id)required
statusstring(CommercialDocumentStatus)required

Shared lifecycle status for editable commercial documents.

Enum:"draft""committed""generated""sent"
positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
self_billing_invoice_nointeger or null(Self Billing Invoice No)
Any of:
integer
self_billing_invoice_prefixstring or null(Self Billing Invoice Prefix)
Any of:
string
net_sumstring or null(Net Sum)
Any of:
string
tax_sumstring or null(Tax Sum)
Any of:
string
taxArray of objects(Tax)
gross_sumstring or null(Gross Sum)
Any of:
string
documentDocumentResponse (object) or null
Any of:
Response
{ "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 } }

Patch Self Billing Invoice

Request

Update editable self-billing invoice header fields. Positions use separate endpoints.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
Bodyapplication/jsonrequired
service_datestring or null(Service Date)
Any of:
string (date)
customer_idstring or null(Customer Id)
Any of:
string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:
integer
due_datestring or null(Due Date)
Any of:
string (date)
reference_numberstring or null(Reference Number)
Any of:
<= 255 characters
string
salutationstring or null(Salutation)
Any of:
string
namestring or null(Name)
Any of:
string
firstnamestring or null(Firstname)
Any of:
string
companystring or null(Company)
Any of:
string
streetstring or null(Street)
Any of:
string
house_numberstring or null(House Number)
Any of:
string
house_number_additionstring or null(House Number Addition)
Any of:
string
postcodestring or null(Postcode)
Any of:
string
citystring or null(City)
Any of:
string
districtstring or null(District)
Any of:
string
self_billing_invoice_datestring or null(Self Billing Invoice Date)
Any of:
string (date)
PATCH
/self-billing-invoices/{document_id}
# 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"
}'

Responses

Self-billing invoice updated.

Bodyapplication/json
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

self_billing_invoice_datestring, (date)(Self Billing Invoice Date)required

Self-billing invoice date

Example:"2024-01-01"
self_billing_invoice_idstring, (uuid4)(Self Billing Invoice Id)required
statusstring(CommercialDocumentStatus)required

Shared lifecycle status for editable commercial documents.

Enum:"draft""committed""generated""sent"
positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
self_billing_invoice_nointeger or null(Self Billing Invoice No)
Any of:
integer
self_billing_invoice_prefixstring or null(Self Billing Invoice Prefix)
Any of:
string
net_sumstring or null(Net Sum)
Any of:
string
tax_sumstring or null(Tax Sum)
Any of:
string
taxArray of objects(Tax)
gross_sumstring or null(Gross Sum)
Any of:
string
documentDocumentResponse (object) or null
Any of:
Response
{ "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 Self Billing Invoice

Request

Delete an editable self-billing invoice.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
DELETE
/self-billing-invoices/{document_id}
# 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'

Responses

Successful Response

Bodyapplication/json
any
Response
// No response sample

Get All Self Billing Invoices

Request

Return paginated self-billing invoices including calculated totals.

Security
BearerAuth
Query
skipinteger, >= 0(Skip)

Number of records to skip

Default:0
limitinteger, [ 1 .. 1000 ](Limit)

Maximum number of records to return

Default:100
sort_bystring(Sort By)

Field used for sorting

Default:"document_date"
Enum:"document_no""document_prefix""document_date""service_date""due_date""company""name""firstname""city""postcode"
sort_orderstring(Sort Order)

Sort direction

Default:"desc"
Enum:"asc""desc"
document_nointeger or null(Document No)
Any of:

Filter by document number using exact match

integer
document_prefixstring or null(Document Prefix)
Any of:

Filter by document prefix using exact match

string
customer_idstring or null(Customer Id)
Any of:

Filter by customer_id using exact match

string (uuid4)
statusCommercialDocumentStatus (string) or null(Status)
Any of:

Shared lifecycle status for editable commercial documents.

string(CommercialDocumentStatus)
Enum:"draft""committed""generated""sent"
companystring or null(Company)
Any of:

Filter by company using a case-insensitive partial match

string
namestring or null(Name)
Any of:

Filter by name using a case-insensitive partial match

string
firstnamestring or null(Firstname)
Any of:

Filter by firstname using a case-insensitive partial match

string
citystring or null(City)
Any of:

Filter by city using a case-insensitive partial match

string
postcodestring or null(Postcode)
Any of:

Filter by postcode using a case-insensitive partial match

string
document_date_fromstring or null(Document Date From)
Any of:

Filter by document date greater than or equal

string (date)
document_date_tostring or null(Document Date To)
Any of:

Filter by document date less than or equal

string (date)
service_date_fromstring or null(Service Date From)
Any of:

Filter by service_date greater than or equal

string (date)
service_date_tostring or null(Service Date To)
Any of:

Filter by service_date less than or equal

string (date)
due_date_fromstring or null(Due Date From)
Any of:

Filter by due_date greater than or equal

string (date)
due_date_tostring or null(Due Date To)
Any of:

Filter by due_date less than or equal

string (date)
GET
/self-billing-invoices
# 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'

Responses

Successful Response

Bodyapplication/json
total_countinteger(Total Count)required
itemsArray of objects(Items)required
Response
{ "total_count": 0, "items": [ { … } ] }

Post Self Billing Invoice

Request

Create a new self-billing invoice.

Security
BearerAuth
Bodyapplication/jsonrequired
service_datestring, (date)(Service Date)required

Service date

Example:"2024-01-01"
due_datestring, (date)(Due Date)required

Due date

Example:"2024-01-31"
streetstring(Street)required

Street

house_numberstring(House Number)required

House number

postcodestring(Postcode)required

Postcode

citystring(City)required

City

self_billing_invoice_datestring, (date)(Self Billing Invoice Date)required

Self-billing invoice date

Example:"2024-01-01"
positionsArray of objects(Positions)required
customer_idstring or null(Customer Id)
Any of:

Customer ID

string (uuid4)
debitor_account_nointeger or null(Debitor Account No)
Any of:

Debitor account number snapshot

integer
reference_numberstring or null(Reference Number)
Any of:

Optional reference number of the commercial document

<= 255 characters
string
salutationstring or null(Salutation)
Any of:

Salutation

string
namestring or null(Name)
Any of:

Last name

string
firstnamestring or null(Firstname)
Any of:

First name

string
companystring or null(Company)
Any of:

Company

string
house_number_additionstring or null(House Number Addition)
Any of:

House number addition

string
districtstring or null(District)
Any of:

District

string
POST
/self-billing-invoices
# 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"
    }
  ]
}'

Responses

Self-billing invoice created.

Bodyapplication/json
self_billing_invoice_idstring, (uuid4)(Self Billing Invoice Id)required
Response
{ "self_billing_invoice_id": "string" }

Post Self Billing Invoice From Self Billing Invoice

Request

Create a new self-billing invoice from an existing self-billing invoice.

Security
BearerAuth
Bodyapplication/jsonrequired
self_billing_invoice_idstring, (uuid4)(Self Billing Invoice Id)required
self_billing_invoice_datestring or null(Self Billing Invoice Date)
Any of:
string (date)
due_datestring or null(Due Date)
Any of:
string (date)
service_datestring or null(Service Date)
Any of:
string (date)
POST
/self-billing-invoices/from-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"
}'

Responses

Self-billing invoice created from self-billing invoice.

Bodyapplication/json
self_billing_invoice_idstring, (uuid4)(Self Billing Invoice Id)required
Response
{ "self_billing_invoice_id": "string" }

Patch Self Billing Invoice Position

Request

Update one existing self-billing invoice position for an editable document.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
position_idstring, (uuid4)(Position Id)required
Bodyapplication/jsonrequired
product_textstring or null(Product Text)
Any of:
string
product_descriptionstring or null(Product Description)
Any of:
string
net_price(number or string) or null(Net Price)
Any of:
Any of:
number
tax_rate(number or string) or null(Tax Rate)
Any of:
Any of:
number
product_count(number or string) or null(Product Count)
Any of:
Any of:
number
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:
string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:
string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:
string (uuid4)
PATCH
/self-billing-invoices/{document_id}/positions/{position_id}
# 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"
}'

Responses

Self-billing invoice position updated.

Bodyapplication/json
product_textstring(Product Text)required
net_pricestring(Net Price)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
tax_ratestring(Tax Rate)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
product_countstring(Product Count)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
self_billing_invoice_position_idstring, (uuid4)(Self Billing Invoice Position Id)required
positioninteger(Position)required
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
product_number_snapshotinteger or null(Product Number Snapshot)
Any of:

Product number snapshot captured when the position was created

integer
product_group_name_snapshotstring or null(Product Group Name Snapshot)
Any of:

Product group name snapshot captured when the position was created

string
full_price_netstring or null(Full Price Net)
Any of:
string
full_price_grossstring or null(Full Price Gross)
Any of:
string
taxstring or null(Tax)
Any of:
string
Response
{ "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" }

Remove Self Billing Invoice Position

Request

Delete one self-billing invoice position from an editable document.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
position_idstring, (uuid4)(Position Id)required
DELETE
/self-billing-invoices/{document_id}/positions/{position_id}
# 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'

Responses

Self-billing invoice position deleted successfully.

Bodyapplication/json
any
Response
// No response sample

Post Self Billing Invoice Position

Request

Create one new self-billing invoice position for an editable document.

Security
BearerAuth
Path
document_idstring, (uuid4)(Document Id)required
Bodyapplication/jsonrequired
product_textstring(Product Text)required
net_pricenumber or string(Net Price)required
Any of:
number
tax_ratenumber or string(Tax Rate)required
Any of:
number
product_countnumber or string(Product Count)required
Any of:
number
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
POST
/self-billing-invoices/{document_id}/positions
# 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"
}'

Responses

Self-billing invoice position created.

Bodyapplication/json
product_textstring(Product Text)required
net_pricestring(Net Price)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
tax_ratestring(Tax Rate)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
product_countstring(Product Count)^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}...required
Example:"100.00"
self_billing_invoice_position_idstring, (uuid4)(Self Billing Invoice Position Id)required
positioninteger(Position)required
product_descriptionstring or null(Product Description)
Any of:
string
service_date_fromstring or null(Service Date From)
Any of:
string (date)
service_date_tostring or null(Service Date To)
Any of:
string (date)
product_unitstring or null(Product Unit)
Any of:
string
accountstring or null(Account)
Any of:
string
account_nostring or null(Account No)
Any of:
string
source_product_idstring or null(Source Product Id)
Any of:

Optional drilldown to the originating product

string (uuid4)
source_service_idstring or null(Source Service Id)
Any of:

Optional drilldown to the originating service

string (uuid4)
source_service_product_idstring or null(Source Service Product Id)
Any of:

Optional drilldown to the originating service product

string (uuid4)
product_number_snapshotinteger or null(Product Number Snapshot)
Any of:

Product number snapshot captured when the position was created

integer
product_group_name_snapshotstring or null(Product Group Name Snapshot)
Any of:

Product group name snapshot captured when the position was created

string
full_price_netstring or null(Full Price Net)
Any of:
string
full_price_grossstring or null(Full Price Gross)
Any of:
string
taxstring or null(Tax)
Any of:
string
Response
{ "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" }