Download OpenAPI specification:Download
Returns account id. Request added for ZData approval
Invalid model
User not authorized
{- "Bic": "DNBANOKK",
- "Currency": "NOK",
- "Ledger": "1920",
- "Aliases": {
- "Iban": "NO22123456789012",
- "PlusGirot": "1234567",
- "BankGirot": "1234567",
- "GiroKonto": "1234567"
}, - "CompanyId": "07954f85-c284-4ce1-8329-2e7821bbfe05",
- "AccountNumber": "123456789012"
}
A list of accounts
Unauthorized
Accounts for company not found
{ "CompanyId": "7a1df05b-d619-45d8-b8e9-ce42a1801ed4", "Accounts": [ { "AccountId": "0c1db369-3acc-4e7f-bb06-3b33e5d0035d", "AccountNumber": "123456789012", "Bic": "DNBANOKK", "Currency": "NOK", "AccountGroupId": "488ceac9-9c91-496c-83dc-b44d4482c6c8", "Ledger": "1920", "Aliases": { "Iban": "NO22123456789012", "PlusGirot": "1234567", "BankGirot": "1234567", "GiroKonto": "1234567" }, "ReadyForPayments": true } ] }
The account status for creating payments
Unauthorized
Account not found
The account details
Unauthorized
Account not found
{ "AccountId": "783d715a-ae96-4ae5-b0b9-31c423a4dff9", "AccountNumber": "123456789012", "Bic": "DNBANOKK", "Currency": "NOK", "AccountGroupId": "8beb1cf2-82f2-49ae-8e59-a65e9a791385", "Ledger": "1920", "Aliases": { "Iban": "NO22123456789012", "PlusGirot": "1234567", "BankGirot": "1234567", "GiroKonto": "1234567" } }
The updated account details
Invalid update request
Unauthorized
Account not found
{- "Bic": "DNBANOKK",
- "Currency": "NOK",
- "Ledger": "1920",
- "Aliases": {
- "Iban": "NO22123456789012",
- "PlusGirot": "1234567",
- "BankGirot": "1234567",
- "GiroKonto": "1234567"
}
}
{ "AccountId": "59094c7d-b4e0-4150-93e3-81cc09352296", "AccountNumber": "123456789012", "Bic": "DNBANOKK", "Currency": "NOK", "AccountGroupId": "cfb940de-06ec-4cd5-be37-1b2612db3ba0", "Ledger": "1920", "Aliases": { "Iban": "NO22123456789012", "PlusGirot": "1234567", "BankGirot": "1234567", "GiroKonto": "1234567" } }
Deleted
Account connected to statement, balance, receivable or payment
Unauthorized
Action not permitted for user
Account not found
Success
Bad Request
Unauthorized
Account not found
{- "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda"
}
{ "AccountId": "307e361d-52d8-47c7-b236-e36dca679e12", "AccountNumber": "123456789012", "Bic": "DNBANOKK", "Currency": "NOK", "AccountGroupId": "70791d20-9aab-4b14-b69e-275b8e82fec1", "Ledger": "1920", "Aliases": { "Iban": "NO22123456789012", "PlusGirot": "1234567", "BankGirot": "1234567", "GiroKonto": "1234567" } }
Account groups for company
Unauthorized
Action not permitted for user
Company not found
Account groups
Unauthorized
Action not permitted for user
Account group not found
Unauthorized
Action not permitted for user
Account group not found
{- "name": "string"
}
Unauthorized
Action not permitted for user
Account group not found
Unauthorized
Action not permitted for user
Company not found
{- "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",
- "name": "string"
}
Unauthorized
Action not permitted for user
User/Account group not found
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
Unauthorized
Action not permitted for user
User/Account group not found
Unauthorized
Action not permitted for user
AccountGroup/Account not found
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
Unauthorized
Action not permitted for user
AccountGroup/Account not found
Success
Invalid state
User not authorized
Balance not found
Subject to change. Data may be migrated to another API
Flat list of valid companies
Company model
"Company id"
Unauthorized
User not authorized for parent company
Not Found
{- "CompanyId": "9979cdeb-5f00-4b88-b939-fe645361547b",
- "Name": "Duck corp",
- "Address": "Apalveien 222",
- "ZipCode": "0010",
- "ZipArea": "Oslo",
- "Country": "Norway"
}
Subject to change. Data may be migrated to another API
Company dto
Unauthorized
Company not found
{ "Name": "Z Data AS", "Address": "Damsgårdsveien 167", "ZipCode": "5160", "ZipArea": "Laksevåg", "Country": "Norge", "OrganizationNumber": "976197976", "CompanyId": "14ec6a92-eb56-4621-b71c-dd65663d9669", "State": 1 }
Subject to change. Data may be migrated to another API
Subsidiary dto's
Unauthorized
Company not found
Subject to change. Data may be migrated to another API
"Company id"
Unauthorized
Company not found
Success
Unauthorized
No dead letter events found for company
Success
Unauthorized
No dead letter events found for subscription
Success
Bad request
Unauthorized
Subscription not found
Success
Bad request
Unauthorized
{- "eventTypes": [
- "string"
], - "destination": {
- "endpointUrl": "string",
- "maxEventsPerBatch": 0,
- "preferredBatchSizeInKilobytes": 0,
- "azureActiveDirectoryApplicationIdOrUri": "string",
- "azureActiveDirectoryTenantId": "string"
}
}
Success
Bad request
Unauthorized
Event subscription not found
Event subscription batch.
Success
Bad request
Unauthorized
Company ids not found
{- "companyIds": [
- "string"
], - "eventTypes": [
- "string"
], - "destination": {
- "endpointUrl": "string",
- "maxEventsPerBatch": 0,
- "preferredBatchSizeInKilobytes": 0,
- "azureActiveDirectoryApplicationIdOrUri": "string",
- "azureActiveDirectoryTenantId": "string"
}
}
Onboarding instructions as HTML
Invalid grant type/client
Success
User not authorized
Account not found
Success
User not authorized
Invalid messageId
{ "Payments": [ { "PaymentId": "3dd9da3d-5fb7-465f-81a5-d2fe1f5a14a0", "SourceReference": "100;101;22;6", "Status": 6, "ExecutionDate": "0001-01-01T00:00:00", "Links": [ { "Rel": "payment", "Href": "https://bankservice.zdata.no/api/v3/payments/8043f884-0a70-40f9-9e57-58347102412a/c4dc6968-5161-4666-bd21-cee1a3c3ea72" } ] } ], "Total": 15, "Links": [ { "Rel": "first", "Href": "https://bankservice.zdata.no/api/v3/payments/8043f884-0a70-40f9-9e57-58347102412a?skip=0&take=100" } ] }
Success
User not authorized
Invalid messageId
{ "Payments": [ { "PaymentId": "a7c53c7b-facc-4e16-9aa9-92148929ab00", "SourceReference": "100;101;22;6", "Status": 6, "ExecutionDate": "0001-01-01T00:00:00", "Links": [ { "Rel": "payment", "Href": "https://bankservice.zdata.no/api/v3/payments/8043f884-0a70-40f9-9e57-58347102412a/c4dc6968-5161-4666-bd21-cee1a3c3ea72" } ] } ], "Total": 15, "Links": [ { "Rel": "first", "Href": "https://bankservice.zdata.no/api/v3/payments/8043f884-0a70-40f9-9e57-58347102412a?skip=0&take=100" } ] }
Success
User not authorized
Invalid messageId
{ "PaymentId": "dec5ae28-e95a-464a-82c9-e75faa658399", "Status": 0, "RejectionCode": "RR09", "RejectionMessage": "ISO Invalid Structured Creditor Reference", "Amount": 50, "Currency": "NOK", "ExecutionDate": "0001-01-01T00:00:00", "DebtorAccountNumber": "5337431043", "CreditorName": "Kreditor AS", "CreditorAccountNumber": "123456789012", "CreditorAccountCurrency": "NOK", "ChargeAmount": 70, "ChargeCurrency": "NOK", "Description": "Invoice number 32", "InvoiceNumber": "Something", "Settlement": { "BookingDate": "2024-12-20T00:49:21.8292979+01:00", "ValueDate": "2024-12-20T00:49:21.829298+01:00", "ExchangeRate": 1.2, "Reference": "12345" } }
Success
User not authorized
Invalid companyId
{ "Summaries": [ { "MessageId": "8f59a88d-8976-4729-8040-e8457040d973", "Timestamp": "2024-12-20T00:49:21.8311745+01:00", "FirstExecutionDate": "2024-12-20T00:49:21.8311738+01:00", "LastExecutionDate": "2024-12-20T00:49:21.8311739+01:00", "Amounts": { "NOK": 55 }, "Links": [ { "Rel": "payments", "Href": "https://bankservice.zdata.no/api/v3/payments/0a8f02d5-24e1-4ea5-be46-135c2fa4f8c9" } ] } ], "Total": 0 }
Success
User not authorized
Invalid messageId/sourceReference
{ "BookedPayments": [ { "BookedAmount": 55, "AccountCurrency": "NOK", "ExchangeRate": 0, "BookingDate": "2024-12-20T00:49:21.8338301+01:00", "BankReference": "123321", "ChargeAmount": 66, "ChargeCurrency": "NOK", "Payments": [ { "PaymentId": "00000000-0000-0000-0000-000000000000", "MessageId": "00000000-0000-0000-0000-000000000000", "Links": [ { "Rel": "payment", "Href": "http://bankservice.zdata.no/api/v3/payments/5cfd18e2-f37b-4d67-9661-f897b152d459/d0bde9d1-569d-4f5c-aaa7-f8197631fe23" } ] } ] } ], "Total": 0 }
Success
User not authorized
Invalid companyId/settlementId
{ "BookedPayments": [ { "BookedAmount": 55, "AccountCurrency": "NOK", "ExchangeRate": 0, "BookingDate": "2024-12-20T00:49:21.8345701+01:00", "BankReference": "123321", "ChargeAmount": 66, "ChargeCurrency": "NOK", "Payments": [ { "PaymentId": "00000000-0000-0000-0000-000000000000", "MessageId": "00000000-0000-0000-0000-000000000000", "Links": [ { "Rel": "payment", "Href": "http://bankservice.zdata.no/api/v3/payments/5cfd18e2-f37b-4d67-9661-f897b152d459/d0bde9d1-569d-4f5c-aaa7-f8197631fe23" } ] } ] } ], "Total": 0 }
Tokens provided to this endpoint must use implicit or authorization code grant type flows.
Success
Already approved, Missing access to bankaccounts
User not authorized
Remittance not found
{- "reason": "string"
}
Tokens provided to this endpoint must use implicit or authorization code grant type flows.
Success
Already reviewed, Payments were approved
User not authorized
Remittance not found
Success
{- "MessageId": "d1daa905-9618-45d3-a314-e3ce59c6de55",
- "AccountNumber": "52011976166",
- "SinglePayments": false,
- "PaymentLines": [
- {
- "PaymentMethod": 1,
- "Priority": 1,
- "PaymentPurpose": 0,
- "ExecutionDate": "2024-12-27T00:00:00+01:00",
- "SourceReference": "12346",
- "RegulatoryReportingCode": 14,
- "RegulatoryReportingInfo": "Kjøp og salg",
- "Amount": 1,
- "Currency": "NOK",
- "InvoiceNo": "21515",
- "Creditor": {
- "Name": "Ola Nordmann",
- "CountryCode": "NO",
- "AccountNumber": "NO8595220610722",
- "Bic": "HANDNOKK",
- "AccountType": 0,
- "Address": "Veien 4",
- "Address2": "Veien 2",
- "Address3": "Veien 3",
- "ZipCode": "4250",
- "ZipArea": "Kopervik"
}
}
]
}
Success
"Invalid state"
User not authorized
{ "State": 0, "Receivables": [ { "ReceivableId": "2b6db91c-3a25-4464-821e-68a3d6cf8cef", "EntryId": "2f6bd73d-f425-4205-84dd-52e0f9f1160c", "AccountNumber": "123456789012", "DebtorAccountNumber": "098765432112", "DebtorName": "Donald Duck", "DebtorAddress": "Veien 12A", "ArchiveReference": "1234", "Description": "Submitted to Onkel Skrue", "InvoiceNumber": "12345", "BookingDate": "2024-12-20T00:49:21.8427103+01:00", "ValueDate": "2024-12-20T00:49:21.8427118+01:00", "Amount": 55, "Currency": "NOK", "BookedAmount": 65, "AccountCurrency": "NOK", "ChargeAmount": 10, "ChargeCurrency": "NOK", "Type": 0, "BankTransactionCode": "PMNT-ICDT-DMCT" } ], "Total": 0 }
Success
User not authorized
Id not found
{ "TotalCount": 1, "Skip": 0, "Take": 10, "Items": [ { "ReceivableId": "16b02032-3f67-493f-aa06-3a29cd643109", "EntryId": "5e4bad3d-1f4f-41dd-bf18-0ae8c65e9bb6", "AccountNumber": "123456789012", "DebtorAccountNumber": "098765432112", "DebtorName": "Donald Duck", "DebtorAddress": "Veien 12A", "ArchiveReference": "1234", "Description": "Submitted to Onkel Skrue", "InvoiceNumber": "12345", "BookingDate": "2024-12-20T00:49:21.8438369+01:00", "ValueDate": "2024-12-20T00:49:21.8438379+01:00", "Amount": 55, "Currency": "NOK", "BookedAmount": 65, "AccountCurrency": "NOK", "ChargeAmount": 10, "ChargeCurrency": "NOK", "Type": 0, "BankTransactionCode": "PMNT-ICDT-DMCT" } ] }
Update model
Success
User not authorized
Id not found
{- "state": 0,
- "errorMessage": "string"
}
Updated states
"Invalid model"
User not authorized
Incoming payment id not found
{- "State": 2,
- "ErrorMessage": "Something failed",
- "Id": "045713e5-9860-4e20-89dc-c7eb51f025d6"
}
A list of recipients
Unauthorized
Recipients for company not found
Unauthorized
Action not permitted for user
Recipients for company not found
{- "name": "string",
- "accountNumber": "string",
- "email": "string"
}
Unauthorized
Action not permitted for user
Recipient not found
{- "name": "string",
- "accountNumber": "string",
- "email": "string"
}
Unauthorized
Action not permitted for user
Recipient not found
Returns service id. Request added for ZData approval
Unknown BIC, contact ZData to have this bank added
User not authorized
{- "CompanyId": "b7aff530-c37a-4a2d-a678-fa87c0308fa9",
- "Bic": "DNBANOKK",
- "BankApproval": true
}
Service dto
Bad Request
Unauthorized
Service not found
{ "Id": "98b647ff-a360-436b-bd77-f968bb8c86d4", "CompanyId": "36d7fec5-34f8-408b-b273-17782924df7f", "Name": "Agreenet for Donal Duck", "State": 0, "BIC": "DNBANOKK", "Created": "2024-12-20T00:49:21.8516997+01:00" }
Success
Invalid account number or date format
User not authorized
Statements not found for this company
{ "Statements": [ { "StatementId": "a9cf11a4-1a14-4aa6-a961-23e9382359de", "Name": "Donal Duck", "AccountNumber": "123456789012", "AccountCurrency": "NOK", "ArchiveReference": "121212", "BankInformation": "NO124123 23123", "StructuredReference": "123123", "Amount": 55, "AmountCurrency": "NOK", "Description": "Description", "BookingDate": "2024-12-20T00:49:21.8584662+01:00", "ValueDate": "2024-12-20T00:49:21.8584679+01:00", "BankTransactionCodes": "PMNT-ICDT-DMCT", "EntryReference": "123123", "TransactionCount": 1, "Links": [ { "Rel": "details", "Href": "https://bankservicedemo.zdata.no/api/v3/statements/c32e6b5b-ca63-48d0-91ab-d5c6cb781737/7eeda2b9-e57e-49e3-8591-f3fc2cad2cd7/transactions" }, { "Rel": "state", "Href": "https://bankservicedemo.zdata.no/api/v3/statements/c32e6b5b-ca63-48d0-91ab-d5c6cb781737/7eeda2b9-e57e-49e3-8591-f3fc2cad2cd7/state" } ] } ] }
Success
Bad Request
User not authorized
Statements not found for this company
{ "StatementId": "6fb06f1f-9337-4c6b-b50c-38750841887f", "Name": "Donal Duck", "AccountNumber": "123456789012", "AccountCurrency": "NOK", "ArchiveReference": "121212", "BankInformation": "NO124123 23123", "StructuredReference": "123123", "Amount": 55, "AmountCurrency": "NOK", "Description": "Description", "BookingDate": "2024-12-20T00:49:21.8593843+01:00", "ValueDate": "2024-12-20T00:49:21.8593856+01:00", "BankTransactionCodes": "PMNT-ICDT-DMCT", "EntryReference": "123123", "TransactionCount": 1, "Links": [ { "Rel": "details", "Href": "https://bankservicedemo.zdata.no/api/v3/statements/c32e6b5b-ca63-48d0-91ab-d5c6cb781737/7eeda2b9-e57e-49e3-8591-f3fc2cad2cd7/transactions" }, { "Rel": "state", "Href": "https://bankservicedemo.zdata.no/api/v3/statements/c32e6b5b-ca63-48d0-91ab-d5c6cb781737/7eeda2b9-e57e-49e3-8591-f3fc2cad2cd7/state" } ] }
Renamed to /{companyId}/entries/{entryId}/transactions
Success
{ "StatementId": "d502c3b4-d133-4bbc-aadd-fb89b5529e1d", "Transactions": [ { "StatementId": "f9417789-91b7-449a-9c11-49ad49fa0e10", "Name": "Some name", "AccountNumber": "1233456", "AccountCurrency": "NOK", "ArchiveReference": "12345677", "BankInformation": "123123", "StructuredReference": "31231231", "Amount": 56, "AmountCurrency": "NOK", "Description": "Description", "BookingDate": "2024-12-20T00:49:21.8625451+01:00", "BankTransactionCodes": "PMNT-ICDT-DMCT", "Type": "Debit", "TransactionId": "05b8ff14-05f3-433d-9edc-15abd6a4f706", "InvoiceNumber": "123345", "ReceiverName": "Donald Duck", "ReceiverAccount": "123445678978", "SenderName": "Dolly Duck", "SenderAccount": "098765432112", "UnstructuredText": { "Ustrd": [], "AddtlTxInf": [], "InstrId": [ "InstrId A, InstrId B" ], "PrtryCd": [], "AddtlNtryInf": [ "AddtlNtryInf Text" ] } } ] }
Success
{ "StatementId": "a5f4de87-7f3d-4ca7-9000-74cd9245bfce", "Transactions": [ { "StatementId": "6fdc9c5b-4f03-446a-b7d2-81cc51320efe", "Name": "Some name", "AccountNumber": "1233456", "AccountCurrency": "NOK", "ArchiveReference": "12345677", "BankInformation": "123123", "StructuredReference": "31231231", "Amount": 56, "AmountCurrency": "NOK", "Description": "Description", "BookingDate": "2024-12-20T00:49:21.8630046+01:00", "BankTransactionCodes": "PMNT-ICDT-DMCT", "Type": "Debit", "TransactionId": "42499ff5-24a2-46b5-888a-792a8c7d807c", "InvoiceNumber": "123345", "ReceiverName": "Donald Duck", "ReceiverAccount": "123445678978", "SenderName": "Dolly Duck", "SenderAccount": "098765432112", "UnstructuredText": { "Ustrd": [], "AddtlTxInf": [], "InstrId": [ "InstrId A, InstrId B" ], "PrtryCd": [], "AddtlNtryInf": [ "AddtlNtryInf Text" ] } } ] }
Update request
Success
{- "state": 0,
- "errorMessage": "string"
}
Success
Unauthorized
User not found
{ "Id": "123321123", "CompanyId": "ee0ea28e-98d9-4e3c-8df7-3963d73a9bfe", "Username": "duck@duck.com", "Email": "duck@duck.com", "Name": "Duck corp", "PhoneNumber": "52 52 52 52", "ActiveUser": true }
Update model
User created
User created, but failed to set password
Bad Request
User not authorized
Company not found
{- "companyId": "c32e6b5b-ca63-48d0-91ab-d5c6cb781737",
- "username": "user1@mycompany.com",
- "email": "user1@mycompany.com",
- "name": "Ola Nordmann",
- "phoneNumber": "90001337",
- "password": "sdf35asty4q3g5ehgg%¤"
}