Skip to content

ErpHub API (1)

API for ErpHub

Download OpenAPI description
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

Account

Handles account related operations.

Operations

Bookkeeping

Handles the bookkeeping for the client

Operations

Clients

Handles ERP client related operations

Operations

Connection

Handles the connection between the ERPHub and the ERP

Operations

Integrations

Operations

Mandates

Controller for managing mandates.

Operations

Pay

Handles pay related operations.

Operations

Transaction

Handles ERP transaction related operations

Operations

Voucher

Controller responsible for handling voucher operations in the ERP Hub.

Operations

Uploads voucher attachment files to blob storage before posting a voucher.

Request

Path
clientIdstring(uuid)required

The unique identifier of the client.

Bodymultipart/form-data
filesArray of strings

The attachment files to upload (max 15MB per file).

multipart/form-data
{
  "files": [
    "string"
  ]
}

Responses

OK

Bodyapplication/json
attachmentReferencestring
Response
application/json
{ "attachmentReference": "string" }

Posts a new voucher for a specified client.

Request

Path
clientIdstring(uuid)required

The unique identifier of the client to which the voucher will be posted.

Body

The details of the voucher to be created, including its lines and associated data.

voucherSeriesNumberstring
valueDatestring or null(date-time)
autoUpdateboolean
batchDescriptionstring or null
linesArray of objects(VoucherLine)required
debitAccountNumberinteger(int32)
creditAccountNumberinteger(int32)
matchingReferencestring or null
unitsArray of objects(UnitRequest)
descriptionstring or null
bookingDatestring or null(date-time)
valueDatestring or null(date-time)
externalIdstring or null
currencystring or null
currencyNointeger or null(int32)
amountDomesticnumber or null(double)
amountInCurrencynumber or null(double)
amountInCurrency2number or null(double)
exchangeRatenumber or null(double)
externalReference2string or null
exchangeRate2number or null(double)
currencyNo2integer or null(int32)
voucherTypestring or null
additionalTextstring or null
invoiceNumberstring or null
archiveReferencestring or null
cidstring or null
originstring(OriginType)
Enum"Manually""Ocr""DirectPayment""ExternalApplication"
attachmentReferencestring or null
{ "voucherSeriesNumber": "string", "valueDate": "2019-08-24T14:15:22Z", "autoUpdate": true, "batchDescription": "string", "lines": [ {} ], "origin": "Manually", "attachmentReference": "string" }

Responses

OK

Bodyapplication/json
errorMessagestring
voucherNumberstring
batchIdstring
Response
application/json
{ "errorMessage": "string", "voucherNumber": "string", "batchId": "string" }