Skip to main content

Receivables

A receivable is any document that represents debt or modifies it on a receivable account: invoices, credit notes, merchandise returns, retentions, adjustments. It is the unit with which the customer records what is expected to be collected (or no longer owed) from each client.

Receivable is not an AFIP voucher nor a movement

The receivable is an accounting record within Max Pay, not the AFIP voucher itself. Voucher data (legalNumber, pointOfSale, authCode, etc.) is optional and referential. It is also not a money movement: incoming money is recorded as a separate movement, with no automatic link to the receivable. See Lifecycle.

Pages

Model

{
"id": 99001,
"receivableAccountId": 4242,
"clientId": 1042,
"associateId": null,
"amount": 45000.00,
"currencyCode": "ARS",
"receivableType": "INVOICE",
"status": "PENDING",
"legalNumber": "0001-00012345",
"description": "Order 5678 - 12 boxes",
"externalRoutingCode": null,
"issueDate": "2026-05-15",
"dueDate": "2026-05-30",
"receivableDate": "2026-05-15",
"parentReceivableId": null,
"attachmentUri": null,

"invoiceData": {
"version": "1",
"pointOfSale": "0001",
"quote": "12345",
"rawDocumentType": "FA",
"recipientDocumentType": "CUIT",
"authCodeType": "CAE",
"authCode": "70123456789012"
},

"creationDate": "2026-05-15T10:00:00-03:00",
"modificationDate": "2026-05-15T10:00:00-03:00"
}

Main fields

FieldTypeDescription
idint64Unique receivable identifier.
receivableAccountIdint64Receivable account on which it is issued.
clientIdint64Client. Inherited from the account if not specified.
associateIdint64Operator registering the receivable (optional). If specified and the account has no associate, post-hoc binds the associate to the account. See post-hoc binding.
amountdecimalNotice amount. Always positive. The accounting sign comes from the receivableType.
currencyCodestringMust match the account currency. Today always ARS.
receivableTypeenumSee table below. Defines whether it adds or subtracts debt.
statusenumSee Lifecycle.
legalNumberstringVoucher number. Unique per customer when provided: reusing an existing legalNumber returns 409 duplicated-legal-number.
descriptionstringFree-form description of the receivable.
externalRoutingCodestringOperational route code (e.g. driver's route sheet).
issueDateYYYY-MM-DDIssue date of the voucher.
dueDateYYYY-MM-DDDue date.
receivableDateYYYY-MM-DDDate the receivable is registered in the system.
parentReceivableIdint64If this receivable is linked to another (typical: credit notes). See Credit notes.
attachmentUristringURL to the attached voucher.
invoiceDataobjectAFIP voucher data (CAE, point of sale, etc.). Optional.

Receivable types

receivableTypeAccounting signDescription
INVOICE+ (adds debt)Invoice
DEBT+Non-fiscal debt (debit note, balance reinforcement)
CREDIT_NOTE- (reduces debt)AFIP credit note
MISSING_PRODUCT-Missing merchandise
RETURN_PRODUCT-Returned merchandise
BROKEN_PRODUCT-Broken merchandise
ADJUSTMENT-Favorable adjustment for the client
RETENTION-Tax retention by client
Negative receivables must link to a parent

CREDIT_NOTE, MISSING_PRODUCT, RETURN_PRODUCT, BROKEN_PRODUCT, ADJUSTMENT and RETENTION are always issued against a previous positive receivable, identified in parentReceivableId. See Credit notes.

Endpoints

MethodPathDescription
GET/v1/receivablesList cross-account with filters
POST/v1/receivablesCreate one
POST/v1/receivables/batchesBulk create
GET/v1/receivables/{id}Detail
PUT/v1/receivables/{id}Update editable fields
PATCH/v1/receivables/{id}/statusChange status (e.g. mark as PAID). See Lifecycle
GET/v1/receivable-accounts/{id}/receivablesReceivables of a specific account

Listing filters

GET /v1/receivables
ParameterTypeDescription
receivableAccountIdint64Specific account
clientIdint64Client
associateIdint64Operator
statusenumPENDING, PAID, SETTLED, EXPIRED, DISABLED
receivableTypeenumFilter by type
fromDate, toDateISO 8601Range by receivable creation date (toDate inclusive). E.g. 2026-05-01T00:00:00-03:00
fromDueDate, toDueDateYYYY-MM-DDDue date range
fromIssueDate, toIssueDateYYYY-MM-DDIssue date range
legalNumberstringVoucher number
externalRoutingCodestringRoute code
parentReceivableIdint64Children of a receivable (e.g. all credit notes linked to it)
minAmount, maxAmountdecimalAmount range
page, countintPagination