API for ErpHub
API Reference
//
Add accounts to a client
ErpHub API (1)
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://developer.aritma.com/_mock/apis/accounting/erp-hub/openapi/erphub-openapi
ErpHub API
https://erphub-api.aritma.io
ErpHub API (Dev)
https://erphub-api.dev.aritma.io
- Mock serverhttps://developer.aritma.com/_mock/apis/accounting/erp-hub/openapi/erphub-openapi/api/v1/integrations/connections
- ErpHub APIhttps://erphub-api.aritma.io/api/v1/integrations/connections
- ErpHub API (Dev)https://erphub-api.dev.aritma.io/api/v1/integrations/connections
- Payload
- cURL
- C#
- JavaScript
- Python
- Go
- PHP
- Java
- Java 8
- application/json
- text/json
- application/*+json
{ "name": "string", "parentResourceUri": "string", "clients": [ { … } ], "email": "string" }
Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "email": "string" }
Body
- application/json
- text/json
- application/*+json
The client to add
The organization number of the client to add, must be unique for the connection.
- Mock serverhttps://developer.aritma.com/_mock/apis/accounting/erp-hub/openapi/erphub-openapi/api/v1/integrations/connections/{connectionId}/clients
- ErpHub APIhttps://erphub-api.aritma.io/api/v1/integrations/connections/{connectionId}/clients
- ErpHub API (Dev)https://erphub-api.dev.aritma.io/api/v1/integrations/connections/{connectionId}/clients
- Payload
- cURL
- C#
- JavaScript
- Python
- Go
- PHP
- Java
- Java 8
- application/json
- text/json
- application/*+json
{ "name": "string", "organizationNumber": "string", "currency": "string" }
Response
application/json
{ "success": true, "error": "string", "client": { "clientId": "string", "name": "string", "erpSystemType": "Unknown", "externalCompanyId": "string", "organizationNumber": "string", "accountingPeriodDeviation": 0, "currency": "string" } }
- Mock serverhttps://developer.aritma.com/_mock/apis/accounting/erp-hub/openapi/erphub-openapi/api/v1/integrations/clients/{clientId}/accounts
- ErpHub APIhttps://erphub-api.aritma.io/api/v1/integrations/clients/{clientId}/accounts
- ErpHub API (Dev)https://erphub-api.dev.aritma.io/api/v1/integrations/clients/{clientId}/accounts
- Payload
- cURL
- C#
- JavaScript
- Python
- Go
- PHP
- Java
- Java 8
- application/json
- text/json
- application/*+json
[ { "accountNumber": "string", "currency": "string", "description": "string", "bankAccountNumber": "string" } ]
Response
application/json
{ "success": true, "error": "string", "accounts": [ { … } ] }
- Mock serverhttps://developer.aritma.com/_mock/apis/accounting/erp-hub/openapi/erphub-openapi/api/v1/integrations/clients/{clientId}/transactions
- ErpHub APIhttps://erphub-api.aritma.io/api/v1/integrations/clients/{clientId}/transactions
- ErpHub API (Dev)https://erphub-api.dev.aritma.io/api/v1/integrations/clients/{clientId}/transactions
- Payload
- cURL
- C#
- JavaScript
- Python
- Go
- PHP
- Java
- Java 8
- application/json
- text/json
- application/*+json
[ { "accountNumber": "string", "currency": "string", "sourceReferenceId": "string", "batchNumber": "string", "voucherNumber": "string", "voucherLine": 0, "description": "string", "invoiceNumber": "string", "comment": "string", "voucherDate": "2019-08-24T14:15:22Z", "valueDate": "2019-08-24T14:15:22Z", "period": "string", "debitAmount": 0.1, "debitAmountInCurrency": 0.1, "creditAmount": 0.1, "creditAmountInCurrency": 0.1, "rate": 0.1, "year": 0 } ]
Response
application/json
{ "success": true, "errors": [ { … } ], "batchId": "5579c111-9c50-47e2-af92-f16d52e63189" }