Record money received from a customer, spread over invoices
post/accounting/receipts-in
Record money received from a customer, spread over invoices; the rest stays their credit.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
accounting:write- Sdk
accounting.customer.receive- Cli
accounting customer receive
Request bodyapplication/json, required
- contactKeystringrequiredAt most 254 characters.
- amountMinorintegerrequiredAt most 99999999999.
- currencystringrequiredPattern: ^[a-z]{3}$.
- methodstringOne of: manual, provider. Default: manual.
- receivedAtstring (date-time)
- refstringDefault: . At most 120 characters.
- notestringDefault: . At most 300 characters.
- allocationslist of objectDefault: [].
- invoiceIdstring (uuid)required
- amountMinorintegerrequiredAt most 99999999999.
- keepRemainderbooleanDefault: true.
- idempotencyKeystringrequiredAt most 120 characters.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring