WSE · Schnittstellen
Offene Posten
Verbinden Sie WSE mit Ihren Anwendungen. Entdecken Sie Endpunkte, Datenmodelle und Schnittstellen – nach Funktionsbereichen und Add-ons geordnet.
Offene Posten
ERP API Dokumentation
Return paginated OPOS invoices.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/opos/invoices?payment_status=open&dunning_status=none&customer_id=string&invoice_no=0&invoice_prefix=string&company=string&name=string&due_date_from=2019-08-24&due_date_to=2019-08-24&is_overdue=true&is_reminder_due=true&due_state=not_due&skip=0&limit=100&sort_by=due_date&sort_order=asc' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/opos/invoices/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
Financial state derived exclusively from active allocations.
Dunning state kept independently from the financial state.
Calculated date-dependent OPOS due state values.
{ "opos_invoice_state_id": "string", "invoice_id": "string", "invoice_no": 0, "invoice_prefix": "string", "invoice_date": "2019-08-24", "customer_id": "string", "company": "string", "firstname": "string", "name": "string", "city": "string", "due_date": "2019-08-24", "gross_amount": "string", "currency": "string", "payment_status": "open", "dunning_status": "none", "paid_amount": "string", "outstanding_amount": "string", "reserved_amount": "string", "available_amount": "string", "paid_at": "2019-08-24T14:15:22Z", "last_reminded_at": "2019-08-24T14:15:22Z", "reminder_count": 0, "is_overdue": true, "is_reminder_due": true, "days_overdue": 0, "due_state": "not_due", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "last_payment_change_at": "2019-08-24T14:15:22Z", "last_dunning_change_at": "2019-08-24T14:15:22Z" }
Return OPOS payment reminder history for one invoice.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/opos/invoices/string/payment-reminders' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Create the next OPOS payment reminder for one overdue invoice.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/opos/invoices/string/payment-reminders' \
--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",
"note": "string"
}'Successful Response
{ "opos_payment_reminder_id": "string", "opos_invoice_state_id": "string", "invoice_id": "string", "payment_reminder_id": "string", "reminder_level": 0, "reminder_date": "2019-08-24", "due_date": "2019-08-24", "note": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/opos/dashboard' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "open_count": 0, "partial_count": 0, "reminded_count": 0, "paid_count": 0, "overdue_count": 0, "reminder_due_count": 0, "oldest_due_date": "2019-08-24", "due_next_7_days_count": 0, "due_next_30_days_count": 0 }
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/opos/sync' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/opos/banking/settings' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'{ "auto_matching_enabled": true, "creditor_identifier": "string", "default_direct_debit_account_id": "string" }
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
--url 'https://your-instance.example.invalid/opos/banking/settings' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"auto_matching_enabled": true,
"creditor_identifier": "string",
"default_direct_debit_account_id": "string"
}'{ "auto_matching_enabled": true, "creditor_identifier": "string", "default_direct_debit_account_id": "string" }
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/opos/banking/accounts/string/complete' \
--header 'Accept: application/json' \
--header 'Idempotency-Key: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "setup_phase": "not_started", "allowed_actions": [ "check" ], "next_retry_at": "2019-08-24T14:15:22Z", "support_reference": "string", "can_cancel": false, "cancellation_block_reason": "string", "authorization_id": "string", "status": "string", "authorization_url": "string", "expires_at": "2019-08-24T14:15:22Z", "last_error_code": "string" }
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/opos/banking/accounts/string/reactivate' \
--header 'Accept: application/json' \
--header 'Idempotency-Key: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "setup_phase": "not_started", "allowed_actions": [ "check" ], "next_retry_at": "2019-08-24T14:15:22Z", "support_reference": "string", "can_cancel": false, "cancellation_block_reason": "string", "authorization_id": "string", "status": "string", "authorization_url": "string", "expires_at": "2019-08-24T14:15:22Z", "last_error_code": "string" }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/opos/banking/connections' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/opos/banking/connections/string/disconnect' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "bank_connection_id": "string", "status": "string", "reauthorization_required": true, "last_successful_sync_at": "2019-08-24T14:15:22Z", "last_error_code": "string", "disconnected_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/opos/banking/accounts' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
--url 'https://your-instance.example.invalid/opos/banking/accounts/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"reconciliation_enabled": true,
"is_default_direct_debit_account": true
}'Successful Response
{ "organization_bank_account_id": "string", "bank_account_id": "string", "bank_connection_id": "string", "account_type": "string", "account_name": "string", "iban": "string", "bic": "string", "currency": "string", "balance": "string", "reconciliation_enabled": true, "available": true, "is_default_direct_debit_account": true, "capabilities": [ "string" ], "max_batch_items": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/opos/banking/sync-runs' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "bank_sync_run_id": "string", "trigger": "event", "status": "queued", "bank_connection_id": "string", "imported_connections": 0, "imported_accounts": 0, "imported_transactions": 0, "error_count": 0, "last_error_code": "string", "started_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/opos/banking/sync-runs/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "bank_sync_run_id": "string", "trigger": "event", "status": "queued", "bank_connection_id": "string", "imported_connections": 0, "imported_accounts": 0, "imported_transactions": 0, "error_count": 0, "last_error_code": "string", "started_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/opos/banking/transactions?account_id=string&date_from=2019-08-24&date_to=2019-08-24&status=pending&allocation_status=allocated&skip=0&limit=100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/opos/banking/transactions/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "bank_transaction_id": "string", "bank_account_id": "string", "status": "pending", "amount": "string", "currency": "string", "booking_date": "2019-08-24", "value_date": "2019-08-24", "purpose": "string", "counterpart_name": "string", "counterpart_iban": "string", "counterpart_bic": "string", "end_to_end_reference": "string", "mandate_reference": "string", "is_adjusting_entry": true, "allocated_amount": "string", "unallocated_amount": "string", "suggestions": [ { … } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "allocations": [ { … } ] }
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/opos/banking/accounts/string/disconnect' \
--header 'Accept: application/problem+json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/opos/banking/transactions/string/allocations' \
--header 'Accept: application/json' \
--header 'Idempotency-Key: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"allocations": [
{
"invoice_id": "string",
"amount": 1
}
]
}'Successful Response
{ "settlement_source_id": "string", "source": "bank_transaction", "bank_transaction_id": "string", "cashbook_entry_id": "string", "total_amount": "string", "currency": "string", "booking_date": "2019-08-24", "payment_method": "cash", "reference": "string", "note": "string", "created_by_actor_id": "string", "reversed_at": "2019-08-24T14:15:22Z", "reversed_by_actor_id": "string", "reversal_reason": "string", "created_at": "2019-08-24T14:15:22Z", "allocations": [ { … } ] }
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/opos/allocations/string/reverse' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"reason": "string"
}'Successful Response
{ "invoice_allocation_id": "string", "settlement_source_id": "string", "opos_invoice_state_id": "string", "amount": "string", "created_by_actor_id": "string", "created_at": "2019-08-24T14:15:22Z", "reversed_at": "2019-08-24T14:15:22Z", "reversed_by_actor_id": "string", "reversal_reason": "string" }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/opos/invoices/string/settlements' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/opos/invoices/string/settlements' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 1,
"booking_date": "2019-08-24",
"payment_method": "cash",
"reference": "string",
"note": "string"
}'Successful Response
{ "settlement_source_id": "string", "source": "bank_transaction", "bank_transaction_id": "string", "cashbook_entry_id": "string", "total_amount": "string", "currency": "string", "booking_date": "2019-08-24", "payment_method": "cash", "reference": "string", "note": "string", "created_by_actor_id": "string", "reversed_at": "2019-08-24T14:15:22Z", "reversed_by_actor_id": "string", "reversal_reason": "string", "created_at": "2019-08-24T14:15:22Z", "allocations": [ { … } ] }
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/opos/cashbook-settlements' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"cashbook_id": "string",
"entry": {
"transaction_date": "2019-08-24",
"direction": "income",
"amount": 1,
"booking_text": "string",
"offset_account_no": "string",
"tax_key": "string",
"tax_rate": 0,
"receipt_no": "string",
"external_reference": "string",
"cost_center_1": "string",
"cost_center_2": "string"
},
"allocations": [
{
"invoice_id": "string",
"amount": 1
}
]
}'Successful Response
{ "settlement_source_id": "string", "source": "bank_transaction", "bank_transaction_id": "string", "cashbook_entry_id": "string", "total_amount": "string", "currency": "string", "booking_date": "2019-08-24", "payment_method": "cash", "reference": "string", "note": "string", "created_by_actor_id": "string", "reversed_at": "2019-08-24T14:15:22Z", "reversed_by_actor_id": "string", "reversal_reason": "string", "created_at": "2019-08-24T14:15:22Z", "allocations": [ { … } ] }
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/opos/cashbook-settlements/string/allocations' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"allocations": [
{
"invoice_id": "string",
"amount": 1
}
]
}'Successful Response
{ "settlement_source_id": "string", "source": "bank_transaction", "bank_transaction_id": "string", "cashbook_entry_id": "string", "total_amount": "string", "currency": "string", "booking_date": "2019-08-24", "payment_method": "cash", "reference": "string", "note": "string", "created_by_actor_id": "string", "reversed_at": "2019-08-24T14:15:22Z", "reversed_by_actor_id": "string", "reversal_reason": "string", "created_at": "2019-08-24T14:15:22Z", "allocations": [ { … } ] }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/opos/direct-debit-runs?skip=0&limit=25' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/opos/direct-debit-runs' \
--header 'Accept: application/json' \
--header 'Idempotency-Key: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"execution_date": "2019-08-24",
"prenotification_confirmed": true,
"items": [
{
"invoice_id": "string",
"amount": 1,
"mandate_id": "string",
"bank_account_id": "string",
"final_collection": false
}
]
}'Successful Response
{ "direct_debit_run_id": "string", "execution_date": "2019-08-24", "prenotification_confirmed": true, "prenotification_confirmed_at": "2019-08-24T14:15:22Z", "prenotification_confirmed_by_actor_id": "string", "created_at": "2019-08-24T14:15:22Z", "groups": [ { … } ] }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/opos/direct-debit-runs/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "direct_debit_run_id": "string", "execution_date": "2019-08-24", "prenotification_confirmed": true, "prenotification_confirmed_at": "2019-08-24T14:15:22Z", "prenotification_confirmed_by_actor_id": "string", "created_at": "2019-08-24T14:15:22Z", "groups": [ { … } ] }
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/opos/direct-debit-runs/string/cancel' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "direct_debit_run_id": "string", "execution_date": "2019-08-24", "prenotification_confirmed": true, "prenotification_confirmed_at": "2019-08-24T14:15:22Z", "prenotification_confirmed_by_actor_id": "string", "created_at": "2019-08-24T14:15:22Z", "groups": [ { … } ] }
