WSE · Schnittstellen

Offene Posten

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

OpenAPI herunterladen ↓
REST · JSONBearer-Authentifizierung

Offene Posten

ERP API Dokumentation

List Opos Invoices

Request

Return paginated OPOS invoices.

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

Financial state derived exclusively from active allocations.

string(OposPaymentStatus)
Enum:"open""partial""paid"
dunning_statusOposDunningStatus (string) or null(Dunning Status)
Any of:

Dunning state kept independently from the financial state.

string(OposDunningStatus)
Enum:"none""reminded"
customer_idstring or null(Customer Id)
Any of:
string (uuid4)
invoice_nointeger or null(Invoice No)
Any of:
integer
invoice_prefixstring or null(Invoice Prefix)
Any of:
string
companystring or null(Company)
Any of:
string
namestring or null(Name)
Any of:
string
due_date_fromstring or null(Due Date From)
Any of:
string (date)
due_date_tostring or null(Due Date To)
Any of:
string (date)
is_overdueboolean or null(Is Overdue)
Any of:
boolean
is_reminder_dueboolean or null(Is Reminder Due)
Any of:
boolean
due_stateOposInvoiceDueState (string) or null(Due State)
Any of:

Calculated date-dependent OPOS due state values.

string(OposInvoiceDueState)
Enum:"not_due""due""overdue""paid"
skipinteger, >= 0(Skip)
Default:0
limitinteger, [ 1 .. 1000 ](Limit)
Default:100
sort_bystring(Sort By)
Default:"due_date"
Enum:"due_date""due_state""invoice_date""invoice_no""customer""payment_status""dunning_status""days_overdue"
sort_orderstring(Sort Order)
Default:"asc"
Enum:"asc""desc"
GET
/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'

Responses

Successful Response

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

Get Opos Invoice

Request

Return one OPOS invoice.

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

Responses

Successful Response

Bodyapplication/json
opos_invoice_state_idstring, (uuid4)(Opos Invoice State Id)required
invoice_idstring, (uuid4)(Invoice Id)required
invoice_nointeger(Invoice No)required
invoice_prefixstring(Invoice Prefix)required
due_datestring, (date)(Due Date)required
gross_amountstring(Gross Amount)^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$required
currencystring(Currency)required
payment_statusstring(OposPaymentStatus)required

Financial state derived exclusively from active allocations.

Enum:"open""partial""paid"
dunning_statusstring(OposDunningStatus)required

Dunning state kept independently from the financial state.

Enum:"none""reminded"
paid_amountstring(Paid Amount)^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$required
outstanding_amountstring(Outstanding Amount)^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$required
reserved_amountstring(Reserved Amount)^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$required
available_amountstring(Available Amount)^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$required
reminder_countinteger(Reminder Count)required
is_overdueboolean(Is Overdue)required
is_reminder_dueboolean(Is Reminder Due)required
days_overdueinteger(Days Overdue)required
due_statestring(OposInvoiceDueState)required

Calculated date-dependent OPOS due state values.

Enum:"not_due""due""overdue""paid"
created_atstring, (date-time)(Created At)required
updated_atstring, (date-time)(Updated At)required
last_payment_change_atstring, (date-time)(Last Payment Change At)required
last_dunning_change_atstring, (date-time)(Last Dunning Change At)required
invoice_datestring or null(Invoice Date)
Any of:
string (date)
customer_idstring or null(Customer Id)
Any of:
string (uuid4)
companystring or null(Company)
Any of:
string
firstnamestring or null(Firstname)
Any of:
string
namestring or null(Name)
Any of:
string
citystring or null(City)
Any of:
string
paid_atstring or null(Paid At)
Any of:
string (date-time)
last_reminded_atstring or null(Last Reminded At)
Any of:
string (date-time)
Response
{ "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" }

List Opos Invoice Payment Reminders

Request

Return OPOS payment reminder history for one invoice.

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

Responses

Successful Response

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

Post Opos Invoice Payment Reminder

Request

Create the next OPOS payment reminder for one overdue invoice.

Security
BearerAuth
Path
invoice_idstring, (uuid4)(Invoice Id)required
Bodyapplication/jsonrequired
payment_reminder_datestring or null(Payment Reminder Date)
Any of:
string (date)
due_datestring or null(Due Date)
Any of:
string (date)
service_datestring or null(Service Date)
Any of:
string (date)
notestring or null(Note)
Any of:
<= 5000 characters
string
POST
/opos/invoices/{invoice_id}/payment-reminders
# 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"
}'

Responses

Successful Response

Bodyapplication/json
opos_payment_reminder_idstring, (uuid4)(Opos Payment Reminder Id)required
opos_invoice_state_idstring, (uuid4)(Opos Invoice State Id)required
invoice_idstring, (uuid4)(Invoice Id)required
payment_reminder_idstring, (uuid4)(Payment Reminder Id)required
reminder_levelinteger(Reminder Level)required
reminder_datestring, (date)(Reminder Date)required
created_atstring, (date-time)(Created At)required
updated_atstring, (date-time)(Updated At)required
due_datestring or null(Due Date)
Any of:
string (date)
notestring or null(Note)
Any of:
string
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" }

Get Opos Dashboard

Request

Return OPOS dashboard KPIs.

Security
BearerAuth
GET
/opos/dashboard
# 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'

Responses

Successful Response

Bodyapplication/json
open_countinteger(Open Count)required
partial_countinteger(Partial Count)required
reminded_countinteger(Reminded Count)required
paid_countinteger(Paid Count)required
overdue_countinteger(Overdue Count)required
reminder_due_countinteger(Reminder Due Count)required
due_next_7_days_countinteger(Due Next 7 Days Count)required
due_next_30_days_countinteger(Due Next 30 Days Count)required
oldest_due_datestring or null(Oldest Due Date)
Any of:
string (date)
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 }

Sync Opos Invoice States

Request

Backfill missing OPOS states for existing finalized invoices.

Security
BearerAuth
POST
/opos/sync
# 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'

Responses

Successful Response

Bodyapplication/json
createdinteger(Created)required
already_existinginteger(Already Existing)required
skipped_missing_due_dateinteger(Skipped Missing Due Date)required
Response
{ "created": 0, "already_existing": 0, "skipped_missing_due_date": 0 }

Get Settings

Request

Security
BearerAuth
GET
/opos/banking/settings
# 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'

Responses

Successful Response

Bodyapplication/json
auto_matching_enabledboolean(Auto Matching Enabled)required
creditor_identifierstring or null(Creditor Identifier)
Any of:
string
default_direct_debit_account_idstring or null(Default Direct Debit Account Id)
Any of:
string (uuid4)
Response
{ "auto_matching_enabled": true, "creditor_identifier": "string", "default_direct_debit_account_id": "string" }

Patch Settings

Request

Security
BearerAuth
Bodyapplication/jsonrequired
auto_matching_enabledboolean or null(Auto Matching Enabled)
Any of:
boolean
creditor_identifierstring or null(Creditor Identifier)
Any of:
<= 35 characters
string
default_direct_debit_account_idstring or null(Default Direct Debit Account Id)
Any of:
string (uuid4)
PATCH
/opos/banking/settings
# 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"
}'

Responses

Successful Response

Bodyapplication/json
auto_matching_enabledboolean(Auto Matching Enabled)required
creditor_identifierstring or null(Creditor Identifier)
Any of:
string
default_direct_debit_account_idstring or null(Default Direct Debit Account Id)
Any of:
string (uuid4)
Response
{ "auto_matching_enabled": true, "creditor_identifier": "string", "default_direct_debit_account_id": "string" }

Post Bank Connection Authorization

Request

Security
BearerAuth
Path
organization_account_idstring, (uuid4)(Organization Account Id)required
Headers
Idempotency-Keystring, (uuid)(Idempotency-Key)required
POST
/opos/banking/accounts/{organization_account_id}/authorizations
# 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/authorizations' \
  --header 'Accept: application/json' \
  --header 'Idempotency-Key: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Successful Response

Bodyapplication/json
authorization_idstring, (uuid4)(Authorization Id)required
statusstring(Status)required
authorization_urlstring or null(Authorization Url)
Any of:
string
expires_atstring or null(Expires At)
Any of:
string (date-time)
Response
{ "authorization_id": "string", "status": "string", "authorization_url": "string", "expires_at": "2019-08-24T14:15:22Z" }

Post Cancel Authorization

Request

Security
BearerAuth
Path
authorization_idstring, (uuid4)(Authorization Id)required
Headers
Idempotency-Keystring, (uuid)(Idempotency-Key)required
POST
/opos/banking/authorizations/{authorization_id}/cancel
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
  --url 'https://your-instance.example.invalid/opos/banking/authorizations/string/cancel' \
  --header 'Accept: application/json' \
  --header 'Idempotency-Key: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Successful Response

Bodyapplication/json
statusstring(Status)required
setup_phasestring(Setup Phase)
Default:"not_started"
Enum:"not_started""disabled""authorization_required""checking""processing""retry_available""connected""authorization_failed""attention_required"
allowed_actionsArray of strings(Allowed Actions)
Items Enum:"check""resume""complete""cancel""restart""reactivate"
next_retry_atstring or null(Next Retry At)
Any of:
string (date-time)
support_referencestring or null(Support Reference)
Any of:
string (uuid4)
can_cancelboolean(Can Cancel)
Default:false
cancellation_block_reasonstring or null(Cancellation Block Reason)
Any of:
string
authorization_idstring or null(Authorization Id)
Any of:
string (uuid4)
authorization_urlstring or null(Authorization Url)
Any of:
string
expires_atstring or null(Expires At)
Any of:
string (date-time)
last_error_codestring or null(Last Error Code)
Any of:
string
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" }

Get Authorization Status

Request

Security
BearerAuth
Path
organization_account_idstring, (uuid4)(Organization Account Id)required
Query
refreshboolean(Refresh)
Default:false
GET
/opos/banking/accounts/{organization_account_id}/authorization
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/opos/banking/accounts/string/authorization?refresh=false' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Successful Response

Bodyapplication/json
statusstring(Status)required
setup_phasestring(Setup Phase)
Default:"not_started"
Enum:"not_started""disabled""authorization_required""checking""processing""retry_available""connected""authorization_failed""attention_required"
allowed_actionsArray of strings(Allowed Actions)
Items Enum:"check""resume""complete""cancel""restart""reactivate"
next_retry_atstring or null(Next Retry At)
Any of:
string (date-time)
support_referencestring or null(Support Reference)
Any of:
string (uuid4)
can_cancelboolean(Can Cancel)
Default:false
cancellation_block_reasonstring or null(Cancellation Block Reason)
Any of:
string
authorization_idstring or null(Authorization Id)
Any of:
string (uuid4)
authorization_urlstring or null(Authorization Url)
Any of:
string
expires_atstring or null(Expires At)
Any of:
string (date-time)
last_error_codestring or null(Last Error Code)
Any of:
string
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" }

Post Complete Account Setup

Request

Security
BearerAuth
Path
organization_account_idstring, (uuid4)(Organization Account Id)required
Headers
Idempotency-Keystring, (uuid)(Idempotency-Key)required
POST
/opos/banking/accounts/{organization_account_id}/complete
# 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'

Responses

Successful Response

Bodyapplication/json
statusstring(Status)required
setup_phasestring(Setup Phase)
Default:"not_started"
Enum:"not_started""disabled""authorization_required""checking""processing""retry_available""connected""authorization_failed""attention_required"
allowed_actionsArray of strings(Allowed Actions)
Items Enum:"check""resume""complete""cancel""restart""reactivate"
next_retry_atstring or null(Next Retry At)
Any of:
string (date-time)
support_referencestring or null(Support Reference)
Any of:
string (uuid4)
can_cancelboolean(Can Cancel)
Default:false
cancellation_block_reasonstring or null(Cancellation Block Reason)
Any of:
string
authorization_idstring or null(Authorization Id)
Any of:
string (uuid4)
authorization_urlstring or null(Authorization Url)
Any of:
string
expires_atstring or null(Expires At)
Any of:
string (date-time)
last_error_codestring or null(Last Error Code)
Any of:
string
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" }

Post Reactivate Account

Request

Security
BearerAuth
Path
organization_account_idstring, (uuid4)(Organization Account Id)required
Headers
Idempotency-Keystring, (uuid)(Idempotency-Key)required
POST
/opos/banking/accounts/{organization_account_id}/reactivate
# 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'

Responses

Successful Response

Bodyapplication/json
statusstring(Status)required
setup_phasestring(Setup Phase)
Default:"not_started"
Enum:"not_started""disabled""authorization_required""checking""processing""retry_available""connected""authorization_failed""attention_required"
allowed_actionsArray of strings(Allowed Actions)
Items Enum:"check""resume""complete""cancel""restart""reactivate"
next_retry_atstring or null(Next Retry At)
Any of:
string (date-time)
support_referencestring or null(Support Reference)
Any of:
string (uuid4)
can_cancelboolean(Can Cancel)
Default:false
cancellation_block_reasonstring or null(Cancellation Block Reason)
Any of:
string
authorization_idstring or null(Authorization Id)
Any of:
string (uuid4)
authorization_urlstring or null(Authorization Url)
Any of:
string
expires_atstring or null(Expires At)
Any of:
string (date-time)
last_error_codestring or null(Last Error Code)
Any of:
string
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" }

Get Connections

Request

Security
BearerAuth
GET
/opos/banking/connections
# 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'

Responses

Successful Response

Bodyapplication/json
itemsArray of objects(Items)required
Response
{ "items": [ { … } ] }

Post Bank Connection Reauthorization

Request

Security
BearerAuth
Path
connection_idstring, (uuid4)(Connection Id)required
POST
/opos/banking/connections/{connection_id}/authorizations
# 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/authorizations' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Successful Response

Bodyapplication/json
authorization_idstring, (uuid4)(Authorization Id)required
statusstring(Status)required
authorization_urlstring or null(Authorization Url)
Any of:
string
expires_atstring or null(Expires At)
Any of:
string (date-time)
Response
{ "authorization_id": "string", "status": "string", "authorization_url": "string", "expires_at": "2019-08-24T14:15:22Z" }

Post Disconnect

Request

Security
BearerAuth
Path
connection_idstring, (uuid4)(Connection Id)required
POST
/opos/banking/connections/{connection_id}/disconnect
# 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'

Responses

Successful Response

Bodyapplication/json
bank_connection_idstring, (uuid4)(Bank Connection Id)required
statusstring(Status)required
reauthorization_requiredboolean(Reauthorization Required)required
created_atstring, (date-time)(Created At)required
updated_atstring, (date-time)(Updated At)required
last_successful_sync_atstring or null(Last Successful Sync At)
Any of:
string (date-time)
last_error_codestring or null(Last Error Code)
Any of:
string
disconnected_atstring or null(Disconnected At)
Any of:
string (date-time)
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" }

Get Accounts

Request

Security
BearerAuth
GET
/opos/banking/accounts
# 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'

Responses

Successful Response

Bodyapplication/json
itemsArray of objects(Items)required
Response
{ "items": [ { … } ] }

Patch Account

Request

Security
BearerAuth
Path
account_idstring, (uuid4)(Account Id)required
Bodyapplication/jsonrequired
reconciliation_enabledboolean or null(Reconciliation Enabled)
Any of:
boolean
is_default_direct_debit_accountboolean or null(Is Default Direct Debit Account)
Any of:
boolean
PATCH
/opos/banking/accounts/{account_id}
# 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
}'

Responses

Successful Response

Bodyapplication/json
bank_account_idstring, (uuid4)(Bank Account Id)required
bank_connection_idstring, (uuid4)(Bank Connection Id)required
currencystring(Currency)required
reconciliation_enabledboolean(Reconciliation Enabled)required
availableboolean(Available)required
is_default_direct_debit_accountboolean(Is Default Direct Debit Account)required
capabilitiesArray of strings(Capabilities)required
created_atstring, (date-time)(Created At)required
updated_atstring, (date-time)(Updated At)required
organization_bank_account_idstring or null(Organization Bank Account Id)
Any of:
string (uuid4)
account_typestring or null(Account Type)
Any of:
string
account_namestring or null(Account Name)
Any of:
string
ibanstring or null(Iban)
Any of:
string
bicstring or null(Bic)
Any of:
string
balancestring or null(Balance)
Any of:
string
max_batch_itemsinteger or null(Max Batch Items)
Any of:
integer
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" }

Post Sync Run

Request

Security
BearerAuth
POST
/opos/banking/sync-runs
# 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'

Responses

Successful Response

Bodyapplication/json
bank_sync_run_idstring, (uuid4)(Bank Sync Run Id)required
triggerstring(OposBankSyncTrigger)required
Enum:"event""manual""reconciliation""onboarding"
statusstring(OposBankSyncRunStatus)required
Enum:"queued""running""succeeded""partial""failed"
imported_connectionsinteger(Imported Connections)required
imported_accountsinteger(Imported Accounts)required
imported_transactionsinteger(Imported Transactions)required
error_countinteger(Error Count)required
created_atstring, (date-time)(Created At)required
bank_connection_idstring or null(Bank Connection Id)
Any of:
string (uuid4)
last_error_codestring or null(Last Error Code)
Any of:
string
started_atstring or null(Started At)
Any of:
string (date-time)
finished_atstring or null(Finished At)
Any of:
string (date-time)
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" }

Get One Sync Run

Request

Security
BearerAuth
Path
sync_run_idstring, (uuid4)(Sync Run Id)required
GET
/opos/banking/sync-runs/{sync_run_id}
# 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'

Responses

Successful Response

Bodyapplication/json
bank_sync_run_idstring, (uuid4)(Bank Sync Run Id)required
triggerstring(OposBankSyncTrigger)required
Enum:"event""manual""reconciliation""onboarding"
statusstring(OposBankSyncRunStatus)required
Enum:"queued""running""succeeded""partial""failed"
imported_connectionsinteger(Imported Connections)required
imported_accountsinteger(Imported Accounts)required
imported_transactionsinteger(Imported Transactions)required
error_countinteger(Error Count)required
created_atstring, (date-time)(Created At)required
bank_connection_idstring or null(Bank Connection Id)
Any of:
string (uuid4)
last_error_codestring or null(Last Error Code)
Any of:
string
started_atstring or null(Started At)
Any of:
string (date-time)
finished_atstring or null(Finished At)
Any of:
string (date-time)
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" }

Get Transactions

Request

Security
BearerAuth
Query
account_idstring or null(Account Id)
Any of:
string (uuid4)
date_fromstring or null(Date From)
Any of:
string (date)
date_tostring or null(Date To)
Any of:
string (date)
statusOposBankTransactionStatus (string) or null(Status)
Any of:
string(OposBankTransactionStatus)
Enum:"pending""booked""removed"
allocation_statusstring or null(Allocation Status)
Any of:
string
Enum:"allocated""unallocated"
skipinteger, >= 0(Skip)
Default:0
limitinteger, [ 1 .. 500 ](Limit)
Default:100
GET
/opos/banking/transactions
# 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'

Responses

Successful Response

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

Get One Transaction

Request

Security
BearerAuth
Path
transaction_idstring, (uuid4)(Transaction Id)required
GET
/opos/banking/transactions/{transaction_id}
# 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'

Responses

Successful Response

Bodyapplication/json
bank_transaction_idstring, (uuid4)(Bank Transaction Id)required
bank_account_idstring, (uuid4)(Bank Account Id)required
statusstring(OposBankTransactionStatus)required
Enum:"pending""booked""removed"
amountstring(Amount)^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$required
currencystring(Currency)required
is_adjusting_entryboolean(Is Adjusting Entry)required
allocated_amountstring(Allocated Amount)^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$required
unallocated_amountstring(Unallocated Amount)^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$required
created_atstring, (date-time)(Created At)required
updated_atstring, (date-time)(Updated At)required
allocationsArray of objects(Allocations)required
booking_datestring or null(Booking Date)
Any of:
string (date)
value_datestring or null(Value Date)
Any of:
string (date)
purposestring or null(Purpose)
Any of:
string
counterpart_namestring or null(Counterpart Name)
Any of:
string
counterpart_ibanstring or null(Counterpart Iban)
Any of:
string
counterpart_bicstring or null(Counterpart Bic)
Any of:
string
end_to_end_referencestring or null(End To End Reference)
Any of:
string
mandate_referencestring or null(Mandate Reference)
Any of:
string
suggestionsArray of objects(Suggestions)
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": [ { … } ] }

Disconnect Account

Request

Security
BearerAuth
Path
organization_account_idstring, (uuid4)(Organization Account Id)required
POST
/opos/banking/accounts/{organization_account_id}/disconnect
# 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'

Responses

Successful Response

Response
No content

Post Bank Transaction Allocations

Request

Security
BearerAuth
Path
transaction_idstring, (uuid4)(Transaction Id)required
Headers
Idempotency-Keystring, (uuid)(Idempotency-Key)required
Bodyapplication/jsonrequired
allocationsArray of objects, non-empty(Allocations)required
POST
/opos/banking/transactions/{transaction_id}/allocations
# 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
    }
  ]
}'

Responses

Successful Response

Bodyapplication/json
settlement_source_idstring, (uuid4)(Settlement Source Id)required
sourcestring(OposSettlementSource)required
Enum:"bank_transaction""manual""cashbook"
total_amountstring(Total Amount)^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$required
currencystring(Currency)required
booking_datestring, (date)(Booking Date)required
created_atstring, (date-time)(Created At)required
allocationsArray of objects(Allocations)required
bank_transaction_idstring or null(Bank Transaction Id)
Any of:
string (uuid4)
cashbook_entry_idstring or null(Cashbook Entry Id)
Any of:
string (uuid4)
payment_methodOposPaymentMethod (string) or null
Any of:
string(OposPaymentMethod)
Enum:"cash""card""external_bank""other"
referencestring or null(Reference)
Any of:
string
notestring or null(Note)
Any of:
string
created_by_actor_idstring or null(Created By Actor Id)
Any of:
string (uuid4)
reversed_atstring or null(Reversed At)
Any of:
string (date-time)
reversed_by_actor_idstring or null(Reversed By Actor Id)
Any of:
string (uuid4)
reversal_reasonstring or null(Reversal Reason)
Any of:
string
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": [ { … } ] }

Post Allocation Reversal

Request

Security
BearerAuth
Path
allocation_idstring, (uuid4)(Allocation Id)required
Bodyapplication/jsonrequired
reasonstring, [ 1 .. 5000 ] characters(Reason)required
POST
/opos/allocations/{allocation_id}/reverse
# 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"
}'

Responses

Successful Response

Bodyapplication/json
invoice_allocation_idstring, (uuid4)(Invoice Allocation Id)required
settlement_source_idstring, (uuid4)(Settlement Source Id)required
opos_invoice_state_idstring, (uuid4)(Opos Invoice State Id)required
amountstring(Amount)^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$required
created_atstring, (date-time)(Created At)required
created_by_actor_idstring or null(Created By Actor Id)
Any of:
string (uuid4)
reversed_atstring or null(Reversed At)
Any of:
string (date-time)
reversed_by_actor_idstring or null(Reversed By Actor Id)
Any of:
string (uuid4)
reversal_reasonstring or null(Reversal Reason)
Any of:
string
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" }

Get Invoice Settlements

Request

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

Responses

Successful Response

Bodyapplication/json
itemsArray of objects(Items)required
Response
{ "items": [ { … } ] }

Post Manual Invoice Settlement

Request

Security
BearerAuth
Path
invoice_idstring, (uuid4)(Invoice Id)required
Bodyapplication/jsonrequired
amountnumber or string(Amount)required
Any of:
> 0
number
booking_datestring, (date)(Booking Date)required
payment_methodstring(OposPaymentMethod)required
Enum:"cash""card""external_bank""other"
notestring, [ 1 .. 5000 ] characters(Note)required
referencestring or null(Reference)
Any of:
<= 255 characters
string
POST
/opos/invoices/{invoice_id}/settlements
# 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"
}'

Responses

Successful Response

Bodyapplication/json
settlement_source_idstring, (uuid4)(Settlement Source Id)required
sourcestring(OposSettlementSource)required
Enum:"bank_transaction""manual""cashbook"
total_amountstring(Total Amount)^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$required
currencystring(Currency)required
booking_datestring, (date)(Booking Date)required
created_atstring, (date-time)(Created At)required
allocationsArray of objects(Allocations)required
bank_transaction_idstring or null(Bank Transaction Id)
Any of:
string (uuid4)
cashbook_entry_idstring or null(Cashbook Entry Id)
Any of:
string (uuid4)
payment_methodOposPaymentMethod (string) or null
Any of:
string(OposPaymentMethod)
Enum:"cash""card""external_bank""other"
referencestring or null(Reference)
Any of:
string
notestring or null(Note)
Any of:
string
created_by_actor_idstring or null(Created By Actor Id)
Any of:
string (uuid4)
reversed_atstring or null(Reversed At)
Any of:
string (date-time)
reversed_by_actor_idstring or null(Reversed By Actor Id)
Any of:
string (uuid4)
reversal_reasonstring or null(Reversal Reason)
Any of:
string
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": [ { … } ] }

Post Cashbook Settlement

Request

Security
BearerAuth
Bodyapplication/jsonrequired
cashbook_idstring, (uuid4)(Cashbook Id)required
entryobject(CashbookEntryCreate)required

Request payload for creating one manual cashbook entry.

allocationsArray of objects, non-empty(Allocations)required
POST
/opos/cashbook-settlements
# 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
    }
  ]
}'

Responses

Successful Response

Bodyapplication/json
settlement_source_idstring, (uuid4)(Settlement Source Id)required
sourcestring(OposSettlementSource)required
Enum:"bank_transaction""manual""cashbook"
total_amountstring(Total Amount)^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$required
currencystring(Currency)required
booking_datestring, (date)(Booking Date)required
created_atstring, (date-time)(Created At)required
allocationsArray of objects(Allocations)required
bank_transaction_idstring or null(Bank Transaction Id)
Any of:
string (uuid4)
cashbook_entry_idstring or null(Cashbook Entry Id)
Any of:
string (uuid4)
payment_methodOposPaymentMethod (string) or null
Any of:
string(OposPaymentMethod)
Enum:"cash""card""external_bank""other"
referencestring or null(Reference)
Any of:
string
notestring or null(Note)
Any of:
string
created_by_actor_idstring or null(Created By Actor Id)
Any of:
string (uuid4)
reversed_atstring or null(Reversed At)
Any of:
string (date-time)
reversed_by_actor_idstring or null(Reversed By Actor Id)
Any of:
string (uuid4)
reversal_reasonstring or null(Reversal Reason)
Any of:
string
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": [ { … } ] }

Post Existing Cashbook Allocations

Request

Security
BearerAuth
Path
settlement_source_idstring, (uuid4)(Settlement Source Id)required
Bodyapplication/jsonrequired
allocationsArray of objects, non-empty(Allocations)required
POST
/opos/cashbook-settlements/{settlement_source_id}/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
    }
  ]
}'

Responses

Successful Response

Bodyapplication/json
settlement_source_idstring, (uuid4)(Settlement Source Id)required
sourcestring(OposSettlementSource)required
Enum:"bank_transaction""manual""cashbook"
total_amountstring(Total Amount)^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$required
currencystring(Currency)required
booking_datestring, (date)(Booking Date)required
created_atstring, (date-time)(Created At)required
allocationsArray of objects(Allocations)required
bank_transaction_idstring or null(Bank Transaction Id)
Any of:
string (uuid4)
cashbook_entry_idstring or null(Cashbook Entry Id)
Any of:
string (uuid4)
payment_methodOposPaymentMethod (string) or null
Any of:
string(OposPaymentMethod)
Enum:"cash""card""external_bank""other"
referencestring or null(Reference)
Any of:
string
notestring or null(Note)
Any of:
string
created_by_actor_idstring or null(Created By Actor Id)
Any of:
string (uuid4)
reversed_atstring or null(Reversed At)
Any of:
string (date-time)
reversed_by_actor_idstring or null(Reversed By Actor Id)
Any of:
string (uuid4)
reversal_reasonstring or null(Reversal Reason)
Any of:
string
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": [ { … } ] }

Get Direct Debit Runs

Request

Security
BearerAuth
Query
skipinteger, >= 0(Skip)
Default:0
limitinteger, [ 1 .. 100 ](Limit)
Default:25
GET
/opos/direct-debit-runs
# 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'

Responses

Successful Response

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

Post Direct Debit Run

Request

Security
BearerAuth
Headers
Idempotency-Keystring, (uuid)(Idempotency-Key)required
Bodyapplication/jsonrequired
execution_datestring, (date)(Execution Date)required
prenotification_confirmedboolean(Prenotification Confirmed)required
itemsArray of objects, non-empty(Items)required
POST
/opos/direct-debit-runs
# 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
    }
  ]
}'

Responses

Successful Response

Bodyapplication/json
direct_debit_run_idstring, (uuid4)(Direct Debit Run Id)required
execution_datestring, (date)(Execution Date)required
prenotification_confirmedboolean(Prenotification Confirmed)required
prenotification_confirmed_atstring, (date-time)(Prenotification Confirmed At)required
prenotification_confirmed_by_actor_idstring, (uuid4)(Prenotification Confirmed By Actor Id)required
created_atstring, (date-time)(Created At)required
groupsArray of objects(Groups)required
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": [ { … } ] }

Get One Direct Debit Run

Request

Security
BearerAuth
Path
run_idstring, (uuid4)(Run Id)required
GET
/opos/direct-debit-runs/{run_id}
# 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'

Responses

Successful Response

Bodyapplication/json
direct_debit_run_idstring, (uuid4)(Direct Debit Run Id)required
execution_datestring, (date)(Execution Date)required
prenotification_confirmedboolean(Prenotification Confirmed)required
prenotification_confirmed_atstring, (date-time)(Prenotification Confirmed At)required
prenotification_confirmed_by_actor_idstring, (uuid4)(Prenotification Confirmed By Actor Id)required
created_atstring, (date-time)(Created At)required
groupsArray of objects(Groups)required
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": [ { … } ] }

Post Direct Debit Group Authorization

Request

Security
BearerAuth
Path
run_idstring, (uuid4)(Run Id)required
group_idstring, (uuid4)(Group Id)required
Headers
Idempotency-Keystring, (uuid)(Idempotency-Key)required
POST
/opos/direct-debit-runs/{run_id}/groups/{group_id}/authorization
# 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/groups/string/authorization' \
  --header 'Accept: application/json' \
  --header 'Idempotency-Key: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Successful Response

Bodyapplication/json
direct_debit_group_idstring, (uuid4)(Direct Debit Group Id)required
authorization_idstring, (uuid4)(Authorization Id)required
statusstring(OposDirectDebitGroupStatus)required
Enum:"draft""authorization_pending""submitted""failed""unknown""completed"
authorization_urlstring or null(Authorization Url)
Any of:
string
expires_atstring or null(Expires At)
Any of:
string (date-time)
Response
{ "direct_debit_group_id": "string", "authorization_id": "string", "authorization_url": "string", "expires_at": "2019-08-24T14:15:22Z", "status": "draft" }

Post Direct Debit Run Cancellation

Request

Security
BearerAuth
Path
run_idstring, (uuid4)(Run Id)required
POST
/opos/direct-debit-runs/{run_id}/cancel
# 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'

Responses

Successful Response

Bodyapplication/json
direct_debit_run_idstring, (uuid4)(Direct Debit Run Id)required
execution_datestring, (date)(Execution Date)required
prenotification_confirmedboolean(Prenotification Confirmed)required
prenotification_confirmed_atstring, (date-time)(Prenotification Confirmed At)required
prenotification_confirmed_by_actor_idstring, (uuid4)(Prenotification Confirmed By Actor Id)required
created_atstring, (date-time)(Created At)required
groupsArray of objects(Groups)required
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": [ { … } ] }