WSE · Schnittstellen
Kassenbuch
Verbinden Sie WSE mit Ihren Anwendungen. Entdecken Sie Endpunkte, Datenmodelle und Schnittstellen – nach Funktionsbereichen und Add-ons geordnet.
Kassenbuch
ERP API Dokumentation
Return paginated cashbooks.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/cashbooks?skip=0&limit=100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Create one cashbook.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/cashbooks' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"cash_account_no": "string",
"opening_balance": "0.00",
"opening_date": "2019-08-24",
"currency": "EUR",
"is_active": true
}'Successful Response
{ "name": "string", "cash_account_no": "string", "opening_balance": "0.00", "opening_date": "2019-08-24", "currency": "EUR", "is_active": true, "cashbook_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "current_balance": "string" }
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/cashbooks/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
{ "name": "string", "cash_account_no": "string", "opening_balance": "0.00", "opening_date": "2019-08-24", "currency": "EUR", "is_active": true, "cashbook_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "current_balance": "string" }
Update one cashbook.
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
--url 'https://your-instance.example.invalid/cashbooks/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"cash_account_no": "string",
"is_active": true
}'Successful Response
{ "name": "string", "cash_account_no": "string", "opening_balance": "0.00", "opening_date": "2019-08-24", "currency": "EUR", "is_active": true, "cashbook_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "current_balance": "string" }
Return paginated cashbook entries.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/cashbooks/string/entries?date_from=2019-08-24&date_to=2019-08-24&direction=income&source_type=manual&is_locked=true&skip=0&limit=100&sort_by=transaction_date&sort_order=asc' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Create one cashbook entry.
Cash movement direction values.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/cashbooks/string/entries' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"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"
}'Successful Response
Cash movement direction values.
Origin values for cashbook entries.
{ "cashbook_entry_id": "string", "cashbook_id": "string", "cashbook_import_run_id": "string", "entry_no": 0, "transaction_date": "2019-08-24", "direction": "income", "amount": "string", "booking_text": "string", "offset_account_no": "string", "tax_key": "string", "tax_rate": "string", "receipt_no": "string", "external_reference": "string", "cost_center_1": "string", "cost_center_2": "string", "source_type": "manual", "source_system_id": "string", "source_transaction_id": "string", "source_row_number": 0, "balance_before": "string", "balance_after": "string", "locked_by_export_run_id": "string", "locked_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
Update one cashbook entry.
Cash movement direction values.
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
--url 'https://your-instance.example.invalid/cashbooks/string/entries/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"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"
}'Successful Response
Cash movement direction values.
Origin values for cashbook entries.
{ "cashbook_entry_id": "string", "cashbook_id": "string", "cashbook_import_run_id": "string", "entry_no": 0, "transaction_date": "2019-08-24", "direction": "income", "amount": "string", "booking_text": "string", "offset_account_no": "string", "tax_key": "string", "tax_rate": "string", "receipt_no": "string", "external_reference": "string", "cost_center_1": "string", "cost_center_2": "string", "source_type": "manual", "source_system_id": "string", "source_transaction_id": "string", "source_row_number": 0, "balance_before": "string", "balance_after": "string", "locked_by_export_run_id": "string", "locked_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
Delete one cashbook entry.
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
--url 'https://your-instance.example.invalid/cashbooks/string/entries/string' \
--header 'Accept: application/problem+json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Import cashbook entries from CSV.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/cashbooks/string/imports/csv' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--form-string 'file=string' \
--form-string 'has_header=true' \
--form-string 'encoding=utf-8' \
--form-string 'delimiter=,'{ "status": "accepted", "cashbook_import_run_id": "string", "total_rows": 0, "created_entries": 0 }
Import cashbook entries from a DSFinV-K archive.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/cashbooks/string/imports/dsfinvk' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--form-string 'file=string' \
--form-string 'default_offset_account_no=string' \
--form-string 'default_tax_key=string' \
--form-string 'default_tax_rate=0.00'{ "status": "accepted", "cashbook_import_run_id": "string", "total_rows": 0, "created_entries": 0 }
Return recent cashbook import runs.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/cashbooks/string/imports?skip=0&limit=100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Queue a cashbook DATEV export job.
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
--url 'https://your-instance.example.invalid/cashbooks/string/datev-export-jobs' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"export_year": 2000,
"export_month": 1
}'Return recent cashbook DATEV export runs.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/cashbooks/string/datev-export-runs?limit=50' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Return one cashbook DATEV export run.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/cashbook-datev-export-jobs/string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Successful Response
Cashbook DATEV export run status values.
Calculated expiration date of the export archives.
{ "cashbook_export_run_id": "string", "cashbook_id": "string", "status": "pending", "start_date": "2019-08-24T14:15:22Z", "end_date": "2019-08-24T14:15:22Z", "heartbeat_at": "2019-08-24T14:15:22Z", "export_year": 0, "export_month": 0, "export_period_start": "2019-08-24", "export_period_end": "2019-08-24", "total_entries": 0, "processed_entries": 0, "failed_entries": 0, "ascii_zip_filename": "string", "extf_zip_filename": "string", "ascii_zip_available": false, "extf_zip_available": false, "comment": "string", "expired_date": "2019-08-24" }
Download the generated cashbook ASCII archive.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/cashbook-datev-export-jobs/string/downloads/kassenbuch-ascii' \
--header 'Accept: application/zip' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Download the generated cashbook EXTF archive.
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
--url 'https://your-instance.example.invalid/cashbook-datev-export-jobs/string/downloads/extf' \
--header 'Accept: application/zip' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'