Logotipo Hedhog

Get Hedhog updates in your inbox

New releases, fresh recipes, and breaking changes — no spam.

finance Submodule

titles-collections

Accounts payable/receivable installments, settlements, tags, extraction, and collection flows.

Source path: libraries/finance/src/finance-installments.controller.ts, finance-collections.controller.ts

Module file: finance.module.ts

Introduction

This is the transactional core of Finance. It manages payable and receivable titles through their installment lifecycle, including approval, rejection, cancellation, settlement, reversal, tagging, and extraction from files.

Collections extend the receivables side with default dunning messages and agreement registration, making this submodule the bridge between financial records and actual collection operations with people.

HTTP Endpoints

29 endpoints

List accounts-payable installments.

Get one accounts-payable installment.

Params
id (int)

Create an accounts-payable title/installment set.

Update an accounts-payable installment.

Params
id (int)

Approve an accounts-payable installment.

Params
id (int)

Reject an accounts-payable installment.

Params
id (int)

Cancel an accounts-payable installment.

Params
id (int)

Delete an accounts-payable installment.

Params
id (int)

Settle an accounts-payable installment.

Params
id (int)

Reverse an accounts-payable settlement.

Params
id (int), settlementId (int)

Replace installment tags.

Params
id (int)

Extract payable-title data from a file.

List accounts-receivable installments.

Get one accounts-receivable installment.

Params
id (int)

Create an accounts-receivable title/installment set.

Update an accounts-receivable installment.

Params
id (int)

Approve an accounts-receivable installment.

Params
id (int)

Cancel an accounts-receivable installment.

Params
id (int)

Delete an accounts-receivable installment.

Params
id (int)

Settle an accounts-receivable installment.

Params
id (int)

Reverse an accounts-receivable settlement.

Params
id (int), settlementId (int)

Replace receivable installment tags.

Params
id (int)

Extract receivable-title data from a file.

Get settlement history for a title.

Params
id (int)

Reverse a settlement by settlement ID.

Params
id (int)

Create a finance tag used by installments.

Get default collection settings.

Send a collection message to a person.

Params
personId (int)

Register a collection agreement.

Params
personId (int)

MCP Tools

Named tools callable by AI models via the Model Context Protocol (MCP).

  • finance.accounts-payable.installments.list

    List accounts-payable installments

  • finance.accounts-receivable.installments.list

    List accounts-receivable installments

  • finance.collections-default.get

    Get default collection settings

  • finance.collections-default.send

    Send a default collection message