API for ErpHub
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/clients/{clientId}/voucher/attachments
- ErpHub APIhttps://erphub-api.aritma.io/api/v1/clients/{clientId}/voucher/attachments
- ErpHub API (Dev)https://erphub-api.dev.aritma.io/api/v1/clients/{clientId}/voucher/attachments
- Payload
- cURL
- C#
- JavaScript
- Python
- Go
- PHP
- Java
- Java 8
multipart/form-data
{
"files": [
"string"
]
}Response
application/json
{ "attachmentReference": "string" }
Body
- application/json
- text/json
- application/*+json
The details of the voucher to be created, including its lines and associated data.
- Mock serverhttps://developer.aritma.com/_mock/apis/accounting/erp-hub/openapi/erphub-openapi/api/v1/clients/{clientId}/voucher
- ErpHub APIhttps://erphub-api.aritma.io/api/v1/clients/{clientId}/voucher
- ErpHub API (Dev)https://erphub-api.dev.aritma.io/api/v1/clients/{clientId}/voucher
- Payload
- cURL
- C#
- JavaScript
- Python
- Go
- PHP
- Java
- Java 8
- application/json
- text/json
- application/*+json
{ "voucherSeriesNumber": "string", "valueDate": "2019-08-24T14:15:22Z", "autoUpdate": true, "batchDescription": "string", "lines": [ { … } ], "origin": "Manually", "attachmentReference": "string" }
Response
application/json
{ "errorMessage": "string", "voucherNumber": "string", "batchId": "string" }