WSE · Schnittstellen

Stammdaten & Einstellungen

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

OpenAPI herunterladen ↓
REST · JSONBearer-Authentifizierung

Stammdaten & Einstellungen

ERP API Dokumentation

Get All Settings

Request

Get all business settings.

Security
BearerAuth
GET
/settings
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/settings' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Settings found

Bodyapplication/json
user_settingsobject(UserSettings)required

User-configurable application settings

Example:
{ "billing": { "discount_position_label": "Discount", "invoice_grouping": "by_customer", "recurring_billing_timing": "period_start" }, "datev": { "beraternummer": "", "mandantennummer": "" }, "display": { "date_format": "DD.MM.YYYY" }, "document_numbering": { "corrective_invoice": { … }, "invoice": { … }, "order_confirmation": { … }, "payment_reminder": { … }, "quotation": { … }, "self_billing_invoice": { … } }, "organization_data": { "additional_legal_information": "Managing director: Max Example", "address": { … }, "business_identification_number": "DE123456789-00001", "contact": { … }, "electronic_address": "billing@example.com", "legal_registration": "HRB 12345", "name": "Example GmbH", "seller_identifier": "991-12345-67890", "tax_registration_identifier": "26/123/45678", "tax_representative": { … }, "trading_name": "Example Billing", "vat_identifier": "DE123456789" } }
system_settingsobject(SystemSettings)required

Fixed application settings

Example:
{ "einvoice": { "business_process_id": "urn:fdc:peppol.eu:2017:poacc:billing:01:1.0", "specification_identifier": "urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0" }, "identifier_schemes": { "electronic_address": "EM", "legal_registration": "0002", "seller_identifier": "0088" }, "import_limits": { "max_customer_import_file_size_mb": 5, "max_customer_import_rows": 10000, "max_extra_invoice_position_import_file_size_mb": 10, "max_extra_invoice_position_import_rows": 100000, "max_product_import_file_size_mb": 5, "max_product_import_rows": 10000, "max_returned_import_errors": 1000 }, "workers": { "datev_export_worker": { … }, "invoice_document_worker": { … }, "invoice_run_worker": { … } } }
versioninteger, >= 0(Version)required

Current settings version

Example:1
updated_atstring or null(Updated At)
Example:"2026-06-04T12:00:00Z"
Any of:

Timestamp of the last successful update

string (date-time)
updated_bystring or null(Updated By)
Example:"settings-admin"
Any of:

User or client that last updated the settings

string
Response
{ "system_settings": { "einvoice": { … }, "identifier_schemes": { … }, "import_limits": { … }, "workers": { … } }, "updated_at": "2026-06-04T12:00:00Z", "updated_by": "settings-admin", "user_settings": { "billing": { … }, "datev": { … }, "display": { … }, "document_numbering": { … }, "organization_data": { … } }, "version": 1 }

Patch Settings

Request

Update business settings in the singleton database row.

Security
BearerAuth
Bodyapplication/jsonrequired
user_settingsobject(UserSettingsPatch)required

User-configurable settings patch

Example:
{ "billing": { "discount_position_label": "Discount", "invoice_grouping": "by_customer", "recurring_billing_timing": "period_start" }, "datev": { "beraternummer": "", "mandantennummer": "" }, "display": { "date_format": "DD.MM.YYYY" }, "document_numbering": { "corrective_invoice": { … }, "invoice": { … }, "order_confirmation": { … }, "payment_reminder": { … }, "quotation": { … }, "self_billing_invoice": { … } }, "organization_data": { "additional_legal_information": "Managing director: Max Example", "address": { … }, "business_identification_number": "DE123456789-00001", "contact": { … }, "electronic_address": "billing@example.com", "legal_registration": "HRB 12345", "name": "Example GmbH", "seller_identifier": "991-12345-67890", "tax_registration_identifier": "26/123/45678", "tax_representative": { … }, "trading_name": "Example Billing", "vat_identifier": "DE123456789" } }
versioninteger or null(Version)
Example:3
Any of:

Optional expected settings version for optimistic locking

>= 0
integer
PATCH
/settings
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
  --url 'https://your-instance.example.invalid/settings' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "user_settings": {
    "billing": {
      "discount_position_label": "Discount",
      "invoice_grouping": "by_customer",
      "recurring_billing_timing": "period_start"
    },
    "datev": {
      "beraternummer": "",
      "mandantennummer": ""
    },
    "display": {
      "date_format": "DD.MM.YYYY"
    },
    "document_numbering": {
      "corrective_invoice": {
        "initial_number": 10000,
        "prefix": "2023",
        "separator": "-"
      },
      "invoice": {
        "initial_number": 10000,
        "prefix": "2023",
        "separator": "-"
      },
      "order_confirmation": {
        "initial_number": 10000,
        "prefix": "2023",
        "separator": "-"
      },
      "payment_reminder": {
        "initial_number": 10000,
        "prefix": "2023",
        "separator": "-"
      },
      "quotation": {
        "initial_number": 10000,
        "prefix": "2023",
        "separator": "-"
      },
      "self_billing_invoice": {
        "initial_number": 10000,
        "prefix": "2023",
        "separator": "-"
      }
    },
    "organization_data": {
      "additional_legal_information": "Managing director: Max Example",
      "address": {
        "city": "Kassel",
        "country_code": "DE",
        "country_subdivision": "Hessen",
        "line_1": "Example Street 1",
        "line_2": "Building A",
        "line_3": "3rd floor",
        "post_code": "34117"
      },
      "business_identification_number": "DE123456789-00001",
      "contact": {
        "department_name": "Accounting",
        "email_address": "billing@example.com",
        "person_name": "Pat Example",
        "telephone_number": "+49 561 1234567"
      },
      "electronic_address": "billing@example.com",
      "legal_registration": "HRB 12345",
      "name": "Example GmbH",
      "seller_identifier": "991-12345-67890",
      "tax_registration_identifier": "26/123/45678",
      "tax_representative": {
        "name": "Tax Representative GmbH",
        "vat_identifier": "DE987654321"
      },
      "trading_name": "Example Billing",
      "vat_identifier": "DE123456789"
    }
  },
  "version": 3
}'

Responses

Settings updated

Bodyapplication/json
user_settingsobject(UserSettings)required

User-configurable application settings

Example:
{ "billing": { "discount_position_label": "Discount", "invoice_grouping": "by_customer", "recurring_billing_timing": "period_start" }, "datev": { "beraternummer": "", "mandantennummer": "" }, "display": { "date_format": "DD.MM.YYYY" }, "document_numbering": { "corrective_invoice": { … }, "invoice": { … }, "order_confirmation": { … }, "payment_reminder": { … }, "quotation": { … }, "self_billing_invoice": { … } }, "organization_data": { "additional_legal_information": "Managing director: Max Example", "address": { … }, "business_identification_number": "DE123456789-00001", "contact": { … }, "electronic_address": "billing@example.com", "legal_registration": "HRB 12345", "name": "Example GmbH", "seller_identifier": "991-12345-67890", "tax_registration_identifier": "26/123/45678", "tax_representative": { … }, "trading_name": "Example Billing", "vat_identifier": "DE123456789" } }
system_settingsobject(SystemSettings)required

Fixed application settings

Example:
{ "einvoice": { "business_process_id": "urn:fdc:peppol.eu:2017:poacc:billing:01:1.0", "specification_identifier": "urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0" }, "identifier_schemes": { "electronic_address": "EM", "legal_registration": "0002", "seller_identifier": "0088" }, "import_limits": { "max_customer_import_file_size_mb": 5, "max_customer_import_rows": 10000, "max_extra_invoice_position_import_file_size_mb": 10, "max_extra_invoice_position_import_rows": 100000, "max_product_import_file_size_mb": 5, "max_product_import_rows": 10000, "max_returned_import_errors": 1000 }, "workers": { "datev_export_worker": { … }, "invoice_document_worker": { … }, "invoice_run_worker": { … } } }
versioninteger, >= 0(Version)required

Current settings version

Example:1
updated_atstring or null(Updated At)
Example:"2026-06-04T12:00:00Z"
Any of:

Timestamp of the last successful update

string (date-time)
updated_bystring or null(Updated By)
Example:"settings-admin"
Any of:

User or client that last updated the settings

string
Response
{ "system_settings": { "einvoice": { … }, "identifier_schemes": { … }, "import_limits": { … }, "workers": { … } }, "updated_at": "2026-06-04T12:00:00Z", "updated_by": "settings-admin", "user_settings": { "billing": { … }, "datev": { … }, "display": { … }, "document_numbering": { … }, "organization_data": { … } }, "version": 1 }

Get Datev Settings

Request

Security
BearerAuth
GET
/settings/datev
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/settings/datev' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Successful Response

Bodyapplication/json
consultant_numberstring(Consultant Number)required
client_numberstring(Client Number)required
versioninteger, >= 0(Version)required
Response
{ "consultant_number": "string", "client_number": "string", "version": 0 }

Put Datev Settings

Request

Security
BearerAuth
Bodyapplication/jsonrequired
consultant_numberstring(Consultant Number)^(?:[1-9]\d{3,6})?$required
client_numberstring(Client Number)^(?:[1-9]\d{0,4})?$required
versioninteger, >= 0(Version)required
PUT
/settings/datev
# Example only: replace the instance URL, token and sample values before use.
curl --request PUT \
  --url 'https://your-instance.example.invalid/settings/datev' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "consultant_number": "string",
  "client_number": "string",
  "version": 0
}'

Responses

Successful Response

Bodyapplication/json
consultant_numberstring(Consultant Number)required
client_numberstring(Client Number)required
versioninteger, >= 0(Version)required
Response
{ "consultant_number": "string", "client_number": "string", "version": 0 }

Read Bank Accounts

Request

Security
BearerAuth
GET
/settings/bank-accounts
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/settings/bank-accounts' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Successful Response

Bodyapplication/json
itemsArray of objects(Items)required
versioninteger(Version)required
Response
{ "items": [ { … } ], "version": 0 }

Save Bank Accounts

Request

Security
BearerAuth
Bodyapplication/jsonrequired
itemsArray of objects(Items)required
versioninteger, >= 1(Version)required
PUT
/settings/bank-accounts
# Example only: replace the instance URL, token and sample values before use.
curl --request PUT \
  --url 'https://your-instance.example.invalid/settings/bank-accounts' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "items": [
    {
      "account_holder": "string",
      "bank_name": "string",
      "iban": "string",
      "bic": "string",
      "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff"
    }
  ],
  "version": 1
}'

Responses

Successful Response

Bodyapplication/json
itemsArray of objects(Items)required
versioninteger(Version)required
Response
{ "items": [ { … } ], "version": 0 }

Get All Accounts

Request

Retrieve all accounts with pagination, sorting and filtering.

Security
BearerAuth
Query
skipinteger, >= 0(Skip)

Number of records to skip

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

Max number of records to return

Default:100
sort_bystring(Sort By)

Field used for sorting

Default:"account_no"
Enum:"description""account_no""last_change"
sort_orderstring(Sort Order)

Sort direction

Default:"asc"
Enum:"asc""desc"
descriptionstring or null(Description)
Any of:

Filter by description using LIKE

string
account_nostring or null(Account No)
Any of:

Filter by account number using exact match

string
GET
/accounts
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/accounts?skip=0&limit=100&sort_by=description&sort_order=asc&description=string&account_no=string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Accounts found

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

Create Account

Request

Create a new account. It is imported for all financial exports.

Security
BearerAuth
Bodyapplication/jsonrequired
descriptionstring or null(Description)
Any of:

Name of the Account

<= 200 characters
string
account_nostring or null(Account No)
Any of:

Number of the account for financial accounting

<= 200 characters
string
POST
/accounts
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
  --url 'https://your-instance.example.invalid/accounts' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "description": "Erlöse 19%",
  "account_no": "4400"
}'

Responses

Account created

Bodyapplication/json
account_idstring, (uuid4)(Account Id)required

Account ID

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Name of the Account

<= 200 characters
string
account_nostring or null(Account No)
Any of:

Number of the account for financial accounting

<= 200 characters
string
Response
{ "description": "Erlöse 19%", "account_no": "4400", "account_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Get Account

Request

Retrieve a specific account by its ID.

Security
BearerAuth
Path
account_idstring, (uuid4)(Account Id)required
GET
/accounts/{account_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/accounts/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Account found

Bodyapplication/json
account_idstring, (uuid4)(Account Id)required

Account ID

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Name of the Account

<= 200 characters
string
account_nostring or null(Account No)
Any of:

Number of the account for financial accounting

<= 200 characters
string
Response
{ "description": "Erlöse 19%", "account_no": "4400", "account_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Update Account

Request

Update a specific account

Security
BearerAuth
Path
account_idstring, (uuid4)(Account Id)required
Bodyapplication/jsonrequired
descriptionstring or null(Description)
Any of:

Name of the Account

<= 200 characters
string
account_nostring or null(Account No)
Any of:

Number of the account for financial accounting

<= 200 characters
string
PATCH
/accounts/{account_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
  --url 'https://your-instance.example.invalid/accounts/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "description": "Erlöse 19%",
  "account_no": "4400"
}'

Responses

Account updated

Bodyapplication/json
account_idstring, (uuid4)(Account Id)required

Account ID

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Name of the Account

<= 200 characters
string
account_nostring or null(Account No)
Any of:

Number of the account for financial accounting

<= 200 characters
string
Response
{ "description": "Erlöse 19%", "account_no": "4400", "account_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Delete Account

Request

Delete a specific account if it is not referenced by other records.

Security
BearerAuth
Path
account_idstring, (uuid4)(Account Id)required
DELETE
/accounts/{account_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
  --url 'https://your-instance.example.invalid/accounts/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Account successfully deleted

Bodyapplication/json
messagestring(Message)required
Response
{ "message": "string" }

Get Bank Data

Request

Retrieve a specific bank data entry.

Security
BearerAuth
Path
bank_data_idstring, (uuid4)(Bank Data Id)required
GET
/bank-data/{bank_data_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/bank-data/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Bank data found

Bodyapplication/json
bank_data_idstring, (uuid4)(Bank Data Id)required

Bank Data ID of the bank data

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
bicstring or null(Bic)
Any of:

BIC of the bank

<= 200 characters
string
shortnamestring or null(Shortname)
Any of:

Shortname of the bank

<= 200 characters
string
longnamestring or null(Longname)
Any of:

Longname of the bank including the legal form

<= 200 characters
string
Response
{ "bic": "GENODEF1M03", "shortname": "Volksbank Musterstadt", "longname": "Volksbank Musterstadt eG", "bank_data_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Update Bank Data

Request

Update a specific bank data record.

Security
BearerAuth
Path
bank_data_idstring, (uuid4)(Bank Data Id)required
Bodyapplication/jsonrequired
bicstring or null(Bic)
Any of:

BIC of the bank

<= 200 characters
string
shortnamestring or null(Shortname)
Any of:

Shortname of the bank

<= 200 characters
string
longnamestring or null(Longname)
Any of:

Longname of the bank including the legal form

<= 200 characters
string
PATCH
/bank-data/{bank_data_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
  --url 'https://your-instance.example.invalid/bank-data/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "bic": "GENODEF1M03",
  "shortname": "Volksbank Musterstadt",
  "longname": "Volksbank Musterstadt eG"
}'

Responses

Bank data updated

Bodyapplication/json
bank_data_idstring, (uuid4)(Bank Data Id)required

Bank Data ID of the bank data

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
bicstring or null(Bic)
Any of:

BIC of the bank

<= 200 characters
string
shortnamestring or null(Shortname)
Any of:

Shortname of the bank

<= 200 characters
string
longnamestring or null(Longname)
Any of:

Longname of the bank including the legal form

<= 200 characters
string
Response
{ "bic": "GENODEF1M03", "shortname": "Volksbank Musterstadt", "longname": "Volksbank Musterstadt eG", "bank_data_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Delete Bank Data

Request

Delete a specific bank data entry, if no payment is linked to it.

Security
BearerAuth
Path
bank_data_idstring, (uuid4)(Bank Data Id)required
DELETE
/bank-data/{bank_data_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
  --url 'https://your-instance.example.invalid/bank-data/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Bank data deleted successfully

Bodyapplication/json
messagestring(Message)required
Response
{ "message": "string" }

Get All Bank Data

Request

Retrieve all bank data entries with pagination, sorting and filtering.

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:"shortname"
Enum:"shortname""longname""bic""last_change"
sort_orderstring(Sort Order)

Sort direction

Default:"asc"
Enum:"asc""desc"
shortnamestring or null(Shortname)
Any of:

Filter by shortname using LIKE

string
longnamestring or null(Longname)
Any of:

Filter by longname using LIKE

string
bicstring or null(Bic)
Any of:

Filter by bic using LIKE

string
GET
/bank-data
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/bank-data?skip=0&limit=100&sort_by=shortname&sort_order=asc&shortname=string&longname=string&bic=string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Bank data found

Bodyapplication/json
total_countinteger(Total Count)required

Total number of bank records

Example:100
itemsArray of objects(Items)required

List of bank records

Response
{ "total_count": 100, "items": [ { … } ] }

Create Bank Data

Request

Create a new bank data entry.

Security
BearerAuth
Bodyapplication/jsonrequired
bicstring, <= 50 characters(Bic)required

BIC of the bank

Example:"ABCDDEFFXXX"
shortnamestring or null(Shortname)
Any of:

Shortname of the bank

<= 200 characters
string
longnamestring or null(Longname)
Any of:

Longname of the bank including the legal form

<= 200 characters
string
POST
/bank-data
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
  --url 'https://your-instance.example.invalid/bank-data' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "bic": "ABCDDEFFXXX",
  "shortname": "Volksbank Musterstadt",
  "longname": "Volksbank Musterstadt eG"
}'

Responses

Bank data created

Bodyapplication/json
bank_data_idstring, (uuid4)(Bank Data Id)required

Bank Data ID of the bank data

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
bicstring or null(Bic)
Any of:

BIC of the bank

<= 200 characters
string
shortnamestring or null(Shortname)
Any of:

Shortname of the bank

<= 200 characters
string
longnamestring or null(Longname)
Any of:

Longname of the bank including the legal form

<= 200 characters
string
Response
{ "bic": "GENODEF1M03", "shortname": "Volksbank Musterstadt", "longname": "Volksbank Musterstadt eG", "bank_data_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Get Billcycle

Request

Retrieve a specific billcycle.

Security
BearerAuth
Path
billcycle_idstring, (uuid4)(Billcycle Id)required
GET
/billcycles/{billcycle_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/billcycles/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Billcycle found.

Bodyapplication/json
billcycle_idstring, (uuid4)(Billcycle Id)required

Billcycle ID of the billcycle

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the billcycle

<= 200 characters
string
billcycle_keystring or null(Billcycle Key)
Any of:

Unique key for the billcycle

<= 50 characters
string
Response
{ "description": "for special customers", "billcycle_key": "BC1", "billcycle_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Update Billcycle

Request

Update a billcycle.

Security
BearerAuth
Path
billcycle_idstring, (uuid4)(Billcycle Id)required
Bodyapplication/jsonrequired
descriptionstring or null(Description)
Any of:

Description of the billcycle

<= 200 characters
string
billcycle_keystring or null(Billcycle Key)
Any of:

Unique key for the billcycle

<= 50 characters
string
PATCH
/billcycles/{billcycle_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
  --url 'https://your-instance.example.invalid/billcycles/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "description": "for special customers",
  "billcycle_key": "BC1"
}'

Responses

Billcycle updated.

Bodyapplication/json
billcycle_idstring, (uuid4)(Billcycle Id)required

Billcycle ID of the billcycle

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the billcycle

<= 200 characters
string
billcycle_keystring or null(Billcycle Key)
Any of:

Unique key for the billcycle

<= 50 characters
string
Response
{ "description": "for special customers", "billcycle_key": "BC1", "billcycle_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Delete Billcycle

Request

Delete a billcycle, if not assigned to any customer.

Security
BearerAuth
Path
billcycle_idstring, (uuid4)(Billcycle Id)required
DELETE
/billcycles/{billcycle_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
  --url 'https://your-instance.example.invalid/billcycles/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Billcycle deleted successfully.

Bodyapplication/json
messagestring(Message)required
Response
{ "message": "string" }

Get All Billcycles

Request

Retrieve all billcycles with pagination, sorting and filtering.

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:"billcycle_key"
Enum:"billcycle_key""description""last_change"
sort_orderstring(Sort Order)

Sort direction

Default:"asc"
Enum:"asc""desc"
descriptionstring or null(Description)
Any of:

Filter by description using LIKE

string
billcycle_keystring or null(Billcycle Key)
Any of:

Filter by billcycle key using exact match

string
GET
/billcycles
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/billcycles?skip=0&limit=100&sort_by=billcycle_key&sort_order=asc&description=string&billcycle_key=string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Billcycles found.

Bodyapplication/json
total_countinteger(Total Count)required

Total number of billcycles in the database

Example:100
itemsArray of objects(Items)required

List of billcycles retrieved

Response
{ "total_count": 100, "items": [ { … } ] }

Create Billcycle

Request

Create a new billcycle.

Security
BearerAuth
Bodyapplication/jsonrequired
billcycle_keystring, <= 50 characters(Billcycle Key)required

Unique key for the billcycle

Example:"BC1"
descriptionstring, <= 200 characters(Description)

Description of the billcycle

Example:"for special customers"
POST
/billcycles
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
  --url 'https://your-instance.example.invalid/billcycles' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "description": "for special customers",
  "billcycle_key": "BC1"
}'

Responses

Billcycle created

Bodyapplication/json
billcycle_idstring, (uuid4)(Billcycle Id)required

Billcycle ID of the billcycle

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the billcycle

<= 200 characters
string
billcycle_keystring or null(Billcycle Key)
Any of:

Unique key for the billcycle

<= 50 characters
string
Response
{ "description": "for special customers", "billcycle_key": "BC1", "billcycle_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Get Payment Target

Request

Get a specific payment target.

Security
BearerAuth
Path
payment_target_idstring, (uuid4)(Payment Target Id)required
GET
/payment-targets/{payment_target_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/payment-targets/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Payment target found.

Bodyapplication/json
descriptionstring, <= 200 characters(Description)required

Description of the payment target

Example:"Zahlungsziel 1"
target_1_daysinteger(Target 1 Days)required

Target 1 days of the payment target

Example:7
target_1_skontostring(Target 1 Skonto)^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$required

Target 1 skonto of the payment target

Example:"3.0"
payment_target_idstring, (uuid4)(Payment Target Id)required

Payment target ID of the payment target

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
target_2_daysinteger or null(Target 2 Days)
Any of:

Target 2 days of the payment target

integer
target_2_skontostring or null(Target 2 Skonto)
Any of:

Target 2 skonto of the payment target

string
target_3_daysinteger or null(Target 3 Days)
Any of:

Target 3 days of the payment target

integer
target_3_skontostring or null(Target 3 Skonto)
Any of:

Target 3 skonto of the payment target

string
Response
{ "description": "Zahlungsziel 1", "target_1_days": 7, "target_1_skonto": "3.0", "target_2_days": 14, "target_2_skonto": "2.0", "target_3_days": 30, "target_3_skonto": "1.0", "payment_target_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Update Payment Target

Request

Update a specific payment target.

Security
BearerAuth
Path
payment_target_idstring, (uuid4)(Payment Target Id)required
Bodyapplication/jsonrequired
descriptionstring or null(Description)
Any of:

Description of the payment target

<= 200 characters
string
target_1_daysinteger or null(Target 1 Days)
Any of:

Target 1 days of the payment target

integer
target_1_skontonumber or string or null(Target 1 Skonto)
Any of:

Target 1 skonto of the payment target

number
target_2_daysinteger or null(Target 2 Days)
Any of:

Target 2 days of the payment target

integer
target_2_skontonumber or string or null(Target 2 Skonto)
Any of:

Target 2 skonto of the payment target

number
target_3_daysinteger or null(Target 3 Days)
Any of:

Target 3 days of the payment target

integer
target_3_skontonumber or string or null(Target 3 Skonto)
Any of:

Target 3 skonto of the payment target

number
PATCH
/payment-targets/{payment_target_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
  --url 'https://your-instance.example.invalid/payment-targets/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "description": "Zahlungsziel 1",
  "target_1_days": 7,
  "target_1_skonto": "3.0",
  "target_2_days": 14,
  "target_2_skonto": "2.0",
  "target_3_days": 30,
  "target_3_skonto": "1.0"
}'

Responses

Payment target updated.

Bodyapplication/json
descriptionstring, <= 200 characters(Description)required

Description of the payment target

Example:"Zahlungsziel 1"
target_1_daysinteger(Target 1 Days)required

Target 1 days of the payment target

Example:7
target_1_skontostring(Target 1 Skonto)^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$required

Target 1 skonto of the payment target

Example:"3.0"
payment_target_idstring, (uuid4)(Payment Target Id)required

Payment target ID of the payment target

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
target_2_daysinteger or null(Target 2 Days)
Any of:

Target 2 days of the payment target

integer
target_2_skontostring or null(Target 2 Skonto)
Any of:

Target 2 skonto of the payment target

string
target_3_daysinteger or null(Target 3 Days)
Any of:

Target 3 days of the payment target

integer
target_3_skontostring or null(Target 3 Skonto)
Any of:

Target 3 skonto of the payment target

string
Response
{ "description": "Zahlungsziel 1", "target_1_days": 7, "target_1_skonto": "3.0", "target_2_days": 14, "target_2_skonto": "2.0", "target_3_days": 30, "target_3_skonto": "1.0", "payment_target_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Delete Payment Target

Request

Delete a specific payment target.

Security
BearerAuth
Path
payment_target_idstring, (uuid4)(Payment Target Id)required
DELETE
/payment-targets/{payment_target_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
  --url 'https://your-instance.example.invalid/payment-targets/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Payment target deleted successfully.

Bodyapplication/json
messagestring(Message)required
Response
{ "message": "string" }

Get All Payment Targets

Request

Get all payment targets with pagination, sorting and filtering.

Security
BearerAuth
Query
skipinteger, >= 0(Skip)
Default:0
limitinteger, [ 1 .. 1000 ](Limit)
Default:100
sort_bystring(Sort By)

Field used for sorting

Default:"last_change"
Enum:"last_change""description""target_1_days""target_1_skonto""target_2_days""target_2_skonto""target_3_days""target_3_skonto"
sort_orderstring(Sort Order)

Sort direction

Default:"asc"
Enum:"asc""desc"
descriptionstring or null(Description)
Any of:

Filter by description using LIKE

string
target_1_daysinteger or null(Target 1 Days)
Any of:

Filter by target_1_days using exact match

integer
target_1_skontonumber or string or null(Target 1 Skonto)
Any of:

Filter by target_1_skonto using exact match

number
target_2_daysinteger or null(Target 2 Days)
Any of:

Filter by target_2_days using exact match

integer
target_2_skontonumber or string or null(Target 2 Skonto)
Any of:

Filter by target_2_skonto using exact match

number
target_3_daysinteger or null(Target 3 Days)
Any of:

Filter by target_3_days using exact match

integer
target_3_skontonumber or string or null(Target 3 Skonto)
Any of:

Filter by target_3_skonto using exact match

number
GET
/payment-targets/
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/payment-targets/?skip=0&limit=100&sort_by=last_change&sort_order=asc&description=string&target_1_days=0&target_1_skonto=0&target_2_days=0&target_2_skonto=0&target_3_days=0&target_3_skonto=0' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Payment targets found.

Bodyapplication/json
total_countinteger(Total Count)required

Total number of Records in the database

Example:100
itemsArray of objects(Items)required

List of Records

Response
{ "total_count": 100, "items": [ { … } ] }

Create Payment Target

Request

Create a new payment target.

Security
BearerAuth
Bodyapplication/jsonrequired
descriptionstring, <= 200 characters(Description)required

Description of the payment target

Example:"Zahlungsziel 1"
target_1_daysinteger(Target 1 Days)required

Target 1 days of the payment target

Example:7
target_1_skontonumber or string(Target 1 Skonto)required
Any of:

Target 1 skonto of the payment target

number
target_2_daysinteger or null(Target 2 Days)
Any of:

Target 2 days of the payment target

integer
target_2_skontonumber or string or null(Target 2 Skonto)
Any of:

Target 2 skonto of the payment target

number
target_3_daysinteger or null(Target 3 Days)
Any of:

Target 3 days of the payment target

integer
target_3_skontonumber or string or null(Target 3 Skonto)
Any of:

Target 3 skonto of the payment target

number
POST
/payment-targets/
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
  --url 'https://your-instance.example.invalid/payment-targets/' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "description": "Zahlungsziel 1",
  "target_1_days": 7,
  "target_1_skonto": "3.0",
  "target_2_days": 14,
  "target_2_skonto": "2.0",
  "target_3_days": 30,
  "target_3_skonto": "1.0"
}'

Responses

Payment target created.

Bodyapplication/json
descriptionstring, <= 200 characters(Description)required

Description of the payment target

Example:"Zahlungsziel 1"
target_1_daysinteger(Target 1 Days)required

Target 1 days of the payment target

Example:7
target_1_skontostring(Target 1 Skonto)^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$required

Target 1 skonto of the payment target

Example:"3.0"
payment_target_idstring, (uuid4)(Payment Target Id)required

Payment target ID of the payment target

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
target_2_daysinteger or null(Target 2 Days)
Any of:

Target 2 days of the payment target

integer
target_2_skontostring or null(Target 2 Skonto)
Any of:

Target 2 skonto of the payment target

string
target_3_daysinteger or null(Target 3 Days)
Any of:

Target 3 days of the payment target

integer
target_3_skontostring or null(Target 3 Skonto)
Any of:

Target 3 skonto of the payment target

string
Response
{ "description": "Zahlungsziel 1", "target_1_days": 7, "target_1_skonto": "3.0", "target_2_days": 14, "target_2_skonto": "2.0", "target_3_days": 30, "target_3_skonto": "1.0", "payment_target_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Get Tax Type

Request

Get a specific tax type

Security
BearerAuth
Path
tax_type_idstring, (uuid4)(Tax Type Id)required
GET
/tax-types/{tax_type_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/tax-types/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Tax type found.

Bodyapplication/json
tax_type_idstring, (uuid4)(Tax Type Id)required

Tax type ID of the tax type

Example:"60c5aab4-d4ba-471c-ade0-a1e85045501c"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the tax type

<= 200 characters
string
taxratestring or null(Taxrate)
Any of:

Tax percentage of the tax type

string
account_idstring or null(Account Id)
Any of:

Optional account assigned to the tax type

string (uuid4)
Response
{ "description": "Taxes Type 1", "taxrate": "19.00", "account_id": "0b803418-3181-4e81-9916-f73d57f46dbf", "tax_type_id": "60c5aab4-d4ba-471c-ade0-a1e85045501c", "last_change": "2019-08-24T14:15:22Z" }

Update Tax Type

Request

Update a specific tax type.

Security
BearerAuth
Path
tax_type_idstring, (uuid4)(Tax Type Id)required
Bodyapplication/jsonrequired
descriptionstring or null(Description)
Any of:

Description of the tax type

<= 200 characters
string
taxratenumber or string or null(Taxrate)
Any of:

Tax percentage of the tax type

number
account_idstring or null(Account Id)
Any of:

Optional account assigned to the tax type

string (uuid4)
PATCH
/tax-types/{tax_type_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
  --url 'https://your-instance.example.invalid/tax-types/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "description": "Taxes Type 1",
  "taxrate": "19.00",
  "account_id": "0b803418-3181-4e81-9916-f73d57f46dbf"
}'

Responses

Tax type updated successfully

Bodyapplication/json
tax_type_idstring, (uuid4)(Tax Type Id)required

Tax type ID of the tax type

Example:"60c5aab4-d4ba-471c-ade0-a1e85045501c"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the tax type

<= 200 characters
string
taxratestring or null(Taxrate)
Any of:

Tax percentage of the tax type

string
account_idstring or null(Account Id)
Any of:

Optional account assigned to the tax type

string (uuid4)
Response
{ "description": "Taxes Type 1", "taxrate": "19.00", "account_id": "0b803418-3181-4e81-9916-f73d57f46dbf", "tax_type_id": "60c5aab4-d4ba-471c-ade0-a1e85045501c", "last_change": "2019-08-24T14:15:22Z" }

Delete Tax Type

Request

Delete a specific tax type

Security
BearerAuth
Path
tax_type_idstring, (uuid4)(Tax Type Id)required
DELETE
/tax-types/{tax_type_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
  --url 'https://your-instance.example.invalid/tax-types/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Tax type deleted successfully.

Bodyapplication/json
messagestring(Message)required
Response
{ "message": "string" }

Get All Tax Types

Request

Get all tax types with pagination

Security
BearerAuth
Query
skipinteger, >= 0(Skip)
Default:0
limitinteger, [ 1 .. 1000 ](Limit)
Default:100
GET
/tax-types
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/tax-types?skip=0&limit=100' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Tax types found.

Bodyapplication/json
total_countinteger(Total Count)required

Total number of tax types in the database

Example:100
itemsArray of objects(Items)required

List of tax types

Response
{ "total_count": 100, "items": [ { … } ] }

Create Tax Type

Request

Create a new tax type.

Security
BearerAuth
Bodyapplication/jsonrequired
descriptionstring, <= 200 characters(Description)required

Description of the tax type

Example:"Taxes Type 1"
taxratenumber or string(Taxrate)required
Any of:

Tax percentage of the tax type

number
account_idstring or null(Account Id)
Any of:

Optional account assigned to the tax type

string (uuid4)
POST
/tax-types
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
  --url 'https://your-instance.example.invalid/tax-types' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "description": "Taxes Type 1",
  "taxrate": "19.00",
  "account_id": "0b803418-3181-4e81-9916-f73d57f46dbf"
}'

Responses

Tax type created.

Bodyapplication/json
tax_type_idstring, (uuid4)(Tax Type Id)required

Tax type ID of the tax type

Example:"60c5aab4-d4ba-471c-ade0-a1e85045501c"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the tax type

<= 200 characters
string
taxratestring or null(Taxrate)
Any of:

Tax percentage of the tax type

string
account_idstring or null(Account Id)
Any of:

Optional account assigned to the tax type

string (uuid4)
Response
{ "description": "Taxes Type 1", "taxrate": "19.00", "account_id": "0b803418-3181-4e81-9916-f73d57f46dbf", "tax_type_id": "60c5aab4-d4ba-471c-ade0-a1e85045501c", "last_change": "2019-08-24T14:15:22Z" }

Get Terms

Request

Get a specific duration terms

Security
BearerAuth
Path
terms_idstring, (uuid4)(Terms Id)required
GET
/terms/{terms_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/terms/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Duration Terms found.

Bodyapplication/json
terms_idstring, (uuid4)(Terms Id)required

Terms ID of the duration terms

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the duration terms

<= 200 characters
string
first_min_term_valueinteger or null(First Min Term Value)
Any of:

First minimum duration term value in months

integer
first_cancellation_period_valueinteger or null(First Cancellation Period Value)
Any of:

First cancellation period value in months

integer
min_term_valueinteger or null(Min Term Value)
Any of:

Minimum duration term value in months

integer
cancellation_period_valueinteger or null(Cancellation Period Value)
Any of:

Cancellation period value in months

integer
Response
{ "description": "Default", "first_min_term_value": 12, "first_cancellation_period_value": 3, "min_term_value": 12, "cancellation_period_value": 3, "terms_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Update Terms

Request

Update a specific duration terms

Security
BearerAuth
Path
terms_idstring, (uuid4)(Terms Id)required
Bodyapplication/jsonrequired
descriptionstring or null(Description)
Any of:

Description of the duration terms

<= 200 characters
string
first_min_term_valueinteger or null(First Min Term Value)
Any of:

First minimum duration term value in months

integer
first_cancellation_period_valueinteger or null(First Cancellation Period Value)
Any of:

First cancellation period value in months

integer
min_term_valueinteger or null(Min Term Value)
Any of:

Minimum duration term value in months

integer
cancellation_period_valueinteger or null(Cancellation Period Value)
Any of:

Cancellation period value in months

integer
PATCH
/terms/{terms_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
  --url 'https://your-instance.example.invalid/terms/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "description": "Default",
  "first_min_term_value": 12,
  "first_cancellation_period_value": 3,
  "min_term_value": 12,
  "cancellation_period_value": 3
}'

Responses

Duration Terms updated.

Bodyapplication/json
terms_idstring, (uuid4)(Terms Id)required

Terms ID of the duration terms

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the duration terms

<= 200 characters
string
first_min_term_valueinteger or null(First Min Term Value)
Any of:

First minimum duration term value in months

integer
first_cancellation_period_valueinteger or null(First Cancellation Period Value)
Any of:

First cancellation period value in months

integer
min_term_valueinteger or null(Min Term Value)
Any of:

Minimum duration term value in months

integer
cancellation_period_valueinteger or null(Cancellation Period Value)
Any of:

Cancellation period value in months

integer
Response
{ "description": "Default", "first_min_term_value": 12, "first_cancellation_period_value": 3, "min_term_value": 12, "cancellation_period_value": 3, "terms_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Delete Terms

Request

Delete a specific duration terms

Security
BearerAuth
Path
terms_idstring, (uuid4)(Terms Id)required
DELETE
/terms/{terms_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
  --url 'https://your-instance.example.invalid/terms/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Duration Terms deleted.

Bodyapplication/json
messagestring(Message)required
Response
{ "message": "string" }

Get All Terms

Request

Get all duration terms with pagination

Security
BearerAuth
Query
skipinteger, >= 0(Skip)
Default:0
limitinteger, [ 1 .. 1000 ](Limit)
Default:100
GET
/terms
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/terms?skip=0&limit=100' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Terms found.

Bodyapplication/json
total_countinteger(Total Count)required

Total number of records in the database

Example:100
itemsArray of objects(Items)required

List of records

Response
{ "total_count": 100, "items": [ { … } ] }

Create Terms

Request

Create a new duration terms.

Security
BearerAuth
Bodyapplication/jsonrequired
descriptionstring, <= 200 characters(Description)required

Description of the duration terms

Example:"Default"
first_min_term_valueinteger(First Min Term Value)required

First minimum duration term value in months

Example:12
first_cancellation_period_valueinteger(First Cancellation Period Value)required

First cancellation period value in months

Example:3
min_term_valueinteger(Min Term Value)required

Minimum duration term value in months

Example:12
cancellation_period_valueinteger(Cancellation Period Value)required

Cancellation period value in months

Example:3
POST
/terms
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
  --url 'https://your-instance.example.invalid/terms' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "description": "Default",
  "first_min_term_value": 12,
  "first_cancellation_period_value": 3,
  "min_term_value": 12,
  "cancellation_period_value": 3
}'

Responses

Duration Terms created.

Bodyapplication/json
terms_idstring, (uuid4)(Terms Id)required

Terms ID of the duration terms

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the duration terms

<= 200 characters
string
first_min_term_valueinteger or null(First Min Term Value)
Any of:

First minimum duration term value in months

integer
first_cancellation_period_valueinteger or null(First Cancellation Period Value)
Any of:

First cancellation period value in months

integer
min_term_valueinteger or null(Min Term Value)
Any of:

Minimum duration term value in months

integer
cancellation_period_valueinteger or null(Cancellation Period Value)
Any of:

Cancellation period value in months

integer
Response
{ "description": "Default", "first_min_term_value": 12, "first_cancellation_period_value": 3, "min_term_value": 12, "cancellation_period_value": 3, "terms_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Get Salutation

Request

Get a specific salutation.

Security
BearerAuth
Path
salutation_idstring, (uuid4)(Salutation Id)required
GET
/salutations/{salutation_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/salutations/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Salutation found.

Bodyapplication/json
salutation_idstring, (uuid4)(Salutation Id)required

Salutation ID of the salutation

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the salutation

<= 200 characters
string
Response
{ "description": "Herr", "salutation_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Update Salutation

Request

Update a specific salutation.

Security
BearerAuth
Path
salutation_idstring, (uuid4)(Salutation Id)required
Bodyapplication/jsonrequired
descriptionstring or null(Description)
Any of:

Description of the salutation

<= 200 characters
string
PATCH
/salutations/{salutation_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
  --url 'https://your-instance.example.invalid/salutations/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "description": "Herr"
}'

Responses

Salutation updated successfully

Bodyapplication/json
salutation_idstring, (uuid4)(Salutation Id)required

Salutation ID of the salutation

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the salutation

<= 200 characters
string
Response
{ "description": "Herr", "salutation_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Delete Salutation

Request

Delete a salutation.

Security
BearerAuth
Path
salutation_idstring, (uuid4)(Salutation Id)required
DELETE
/salutations/{salutation_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
  --url 'https://your-instance.example.invalid/salutations/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Salutation deleted successfully.

Bodyapplication/json
messagestring(Message)required
Response
{ "message": "string" }

Get All Salutations

Request

Get all salutations with pagination.

Security
BearerAuth
Query
skipinteger, >= 0(Skip)
Default:0
limitinteger, [ 1 .. 1000 ](Limit)
Default:100
GET
/salutations
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/salutations?skip=0&limit=100' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Salutations found.

Bodyapplication/json
total_countinteger(Total Count)required

Total number of records in the database

Example:100
itemsArray of objects(Items)required

List of records

Response
{ "total_count": 100, "items": [ { … } ] }

Create Salutation

Request

Create a new salutation.

Security
BearerAuth
Bodyapplication/jsonrequired
descriptionstring, <= 200 characters(Description)required

Description of the salutation

Example:"Herr"
POST
/salutations
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
  --url 'https://your-instance.example.invalid/salutations' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "description": "Herr"
}'

Responses

Salutation created successfully

Bodyapplication/json
salutation_idstring, (uuid4)(Salutation Id)required

Salutation ID of the salutation

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the salutation

<= 200 characters
string
Response
{ "description": "Herr", "salutation_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Get Title

Request

Security
BearerAuth
Path
title_idstring, (uuid4)(Title Id)required
GET
/titles/{title_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/titles/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Title found.

Bodyapplication/json
title_idstring, (uuid4)(Title Id)required

Title ID of the title

Example:"07aaacf5-41e3-4fb5-b6a7-cb2c2316ac66"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the title

<= 200 characters
string
Response
{ "description": "Herr", "title_id": "07aaacf5-41e3-4fb5-b6a7-cb2c2316ac66", "last_change": "2019-08-24T14:15:22Z" }

Update Title

Request

Security
BearerAuth
Path
title_idstring, (uuid4)(Title Id)required
Bodyapplication/jsonrequired
descriptionstring or null(Description)
Any of:

Description of the title

<= 200 characters
string
PATCH
/titles/{title_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
  --url 'https://your-instance.example.invalid/titles/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "description": "Herr"
}'

Responses

Title updated successfully

Bodyapplication/json
title_idstring, (uuid4)(Title Id)required

Title ID of the title

Example:"07aaacf5-41e3-4fb5-b6a7-cb2c2316ac66"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the title

<= 200 characters
string
Response
{ "description": "Herr", "title_id": "07aaacf5-41e3-4fb5-b6a7-cb2c2316ac66", "last_change": "2019-08-24T14:15:22Z" }

Delete Title

Request

Security
BearerAuth
Path
title_idstring, (uuid4)(Title Id)required
DELETE
/titles/{title_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
  --url 'https://your-instance.example.invalid/titles/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Title deleted successfully.

Bodyapplication/json
messagestring(Message)required
Response
{ "message": "string" }

Get All Titles

Request

Security
BearerAuth
Query
skipinteger, >= 0(Skip)
Default:0
limitinteger, <= 1000(Limit)
Default:100
GET
/titles
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/titles?skip=0&limit=100' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Titles found.

Bodyapplication/json
total_countinteger(Total Count)required

Total number of records in the database

Example:100
itemsArray of objects(Items)required

List of records

Response
{ "total_count": 100, "items": [ { … } ] }

Create Title

Request

Security
BearerAuth
Bodyapplication/jsonrequired
descriptionstring, <= 200 characters(Description)required

Description of the title

Example:"Herr"
POST
/titles
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
  --url 'https://your-instance.example.invalid/titles' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "description": "Herr"
}'

Responses

Title created.

Bodyapplication/json
title_idstring, (uuid4)(Title Id)required

Title ID of the title

Example:"07aaacf5-41e3-4fb5-b6a7-cb2c2316ac66"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the title

<= 200 characters
string
Response
{ "description": "Herr", "title_id": "07aaacf5-41e3-4fb5-b6a7-cb2c2316ac66", "last_change": "2019-08-24T14:15:22Z" }

Get Address Type

Request

Retrieve a specific address type by its ID.

Security
BearerAuth
Path
address_type_idstring, (uuid4)(Address Type Id)required
GET
/address-types/{address_type_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/address-types/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Address type found

Bodyapplication/json
address_type_idstring, (uuid4)(Address Type Id)required

Address type ID of the address type

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the address type

<= 200 characters
string
is_billingboolean or null(Is Billing)
Any of:

Marks the address type to use for billing, should be unique for a customer

boolean
is_allowed_for_customerboolean or null(Is Allowed For Customer)
Any of:

Defines whether the address type can be used for customer addresses

boolean
is_allowed_for_serviceboolean or null(Is Allowed For Service)
Any of:

Defines whether the address type can be used for service addresses

boolean
Response
{ "description": "Rechnungsadresse", "is_billing": true, "is_allowed_for_customer": true, "is_allowed_for_service": true, "address_type_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Update Address Type

Request

Update a specific address type.

Security
BearerAuth
Path
address_type_idstring, (uuid4)(Address Type Id)required
Bodyapplication/jsonrequired
descriptionstring or null(Description)
Any of:

Description of the address type

<= 200 characters
string
is_billingboolean or null(Is Billing)
Any of:

Marks the address type to use for billing, should be unique for a customer

boolean
is_allowed_for_customerboolean or null(Is Allowed For Customer)
Any of:

Defines whether the address type can be used for customer addresses

boolean
is_allowed_for_serviceboolean or null(Is Allowed For Service)
Any of:

Defines whether the address type can be used for service addresses

boolean
PATCH
/address-types/{address_type_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
  --url 'https://your-instance.example.invalid/address-types/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "description": "Rechnungsadresse",
  "is_billing": true,
  "is_allowed_for_customer": true,
  "is_allowed_for_service": true
}'

Responses

Address type updated

Bodyapplication/json
address_type_idstring, (uuid4)(Address Type Id)required

Address type ID of the address type

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the address type

<= 200 characters
string
is_billingboolean or null(Is Billing)
Any of:

Marks the address type to use for billing, should be unique for a customer

boolean
is_allowed_for_customerboolean or null(Is Allowed For Customer)
Any of:

Defines whether the address type can be used for customer addresses

boolean
is_allowed_for_serviceboolean or null(Is Allowed For Service)
Any of:

Defines whether the address type can be used for service addresses

boolean
Response
{ "description": "Rechnungsadresse", "is_billing": true, "is_allowed_for_customer": true, "is_allowed_for_service": true, "address_type_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }

Delete Address Type

Request

Delete an address type, if no address is assigned to it.

Security
BearerAuth
Path
address_type_idstring, (uuid4)(Address Type Id)required
DELETE
/address-types/{address_type_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
  --url 'https://your-instance.example.invalid/address-types/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Address type deleted successfully

Bodyapplication/json
messagestring(Message)required
Response
{ "message": "string" }

Get All Address Types

Request

Retrieve all address types with pagination, sorting and filtering.

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:"last_change"
Enum:"description""is_billing""is_allowed_for_customer""is_allowed_for_service""last_change"
sort_orderstring(Sort Order)

Sort direction

Default:"asc"
Enum:"asc""desc"
is_billingboolean or null(Is Billing)
Any of:

Filter by billing flag using exact match

boolean
is_allowed_for_customerboolean or null(Is Allowed For Customer)
Any of:

Filter by customer address permission using exact match

boolean
is_allowed_for_serviceboolean or null(Is Allowed For Service)
Any of:

Filter by service address permission using exact match

boolean
descriptionstring or null(Description)
Any of:

Filter by description using LIKE

string
GET
/address-types
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/address-types?skip=0&limit=100&sort_by=description&sort_order=asc&is_billing=true&is_allowed_for_customer=true&is_allowed_for_service=true&description=string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Address types found

Bodyapplication/json
total_countinteger(Total Count)required

Total number of address types in the database

Example:100
itemsArray of objects(Items)required

List of address types retrieved

Response
{ "total_count": 100, "items": [ { … } ] }

Create Address Type

Request

Create a new address type.

Security
BearerAuth
Bodyapplication/jsonrequired
descriptionstring, <= 200 characters(Description)required

Description of the address type

Example:"Rechnungsadresse"
is_billingboolean(Is Billing)required

Marks the address type to use for billing, should be unique for a customer

Example:true
is_allowed_for_customerboolean(Is Allowed For Customer)

Defines whether the address type can be used for customer addresses

Default:true
Example:true
is_allowed_for_serviceboolean(Is Allowed For Service)

Defines whether the address type can be used for service addresses

Default:true
Example:true
POST
/address-types
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
  --url 'https://your-instance.example.invalid/address-types' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "description": "Rechnungsadresse",
  "is_billing": true,
  "is_allowed_for_customer": true,
  "is_allowed_for_service": true
}'

Responses

Address type created

Bodyapplication/json
address_type_idstring, (uuid4)(Address Type Id)required

Address type ID of the address type

Example:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
last_changestring, (date-time)(Last Change)required
descriptionstring or null(Description)
Any of:

Description of the address type

<= 200 characters
string
is_billingboolean or null(Is Billing)
Any of:

Marks the address type to use for billing, should be unique for a customer

boolean
is_allowed_for_customerboolean or null(Is Allowed For Customer)
Any of:

Defines whether the address type can be used for customer addresses

boolean
is_allowed_for_serviceboolean or null(Is Allowed For Service)
Any of:

Defines whether the address type can be used for service addresses

boolean
Response
{ "description": "Rechnungsadresse", "is_billing": true, "is_allowed_for_customer": true, "is_allowed_for_service": true, "address_type_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "last_change": "2019-08-24T14:15:22Z" }