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

Updates the details of an existing bookkeeping rule for the specified client. The rule to update is identified by its unique rule ID.

Request

Path
clientIdstring(uuid)required
ruleIdstring(uuid)required
Body
displayNamestring

Sets the display name for the bookkeeping rule.

bookkeepingSettingIdstring(uuid)

Specifies the ID of the settings to link to. If no settings exist, create them before proceeding.

autoUpdateboolean

Sets if the voucher is automatically updated in the erp-system.

isFeeRuleboolean

True if the rule is a fee rule, false otherwise.

minOptionalMatchesinteger(int32)

Gets or sets the minimum number of filters that must match for the bookkeeping rule to apply. This property works in combination with the 'at least FilterCriteria' logic to determine applicability.

transactionPostingModestring(TransactionPostingMode)
Enum"CombineIntoSingleVoucher""PostAsSeparateVouchers""MultiLinedVoucher""MultiLinedVoucherWithUnmatched"
{ "displayName": "string", "bookkeepingSettingId": "07af9850-9db1-4b77-ba9e-74c705771ff8", "autoUpdate": true, "isFeeRule": true, "minOptionalMatches": 0, "transactionPostingMode": "CombineIntoSingleVoucher" }

Responses

OK

Bodyapplication/json
linksobjectread-only
clientIdstring(uuid)
ruleIdstring(uuid)
Response
application/json
{ "links": { "property1": { … }, "property2": { … } }, "clientId": "5e505642-9024-474d-9434-e5a44f505cc5", "ruleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac" }

Deletes a specific bookkeeping rule for the specified client. The rule to delete is identified by its unique rule ID.

Request

Path
clientIdstring(uuid)required
ruleIdstring(uuid)required
No request payload

Responses

No Content

Response
No content

Updates the priority for all bookkeeping rules associated with the specified client. All rules must be included in the request, identified by their unique rule IDs. Missing or unknown rules will result in a validation error.

Request

Path
clientIdstring(uuid)required
BodyArray [
ruleIdstring(uuid)

The unique identifier of the rule

priorityinteger(int32)

The priority you want to assign to this rule

]
[ { "ruleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "priority": 0 } ]

Responses

No Content

Response
No content

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