Jupiter ERP
Account API

List payable document suggestions for a bank transaction

Returns open invoices, credit notes, or dunnings that likely belong to the given bank transaction. Matches when the document open amount equals the transaction amount (or remaining assignable amount) exactly, or when the document number appears in the transaction reference or memo.

GETHTTP
get/api/account/bank-transactions/{id}/payable-suggestions

Beispielanfrage

GET https://api.jupiter-erp.com/api/account/bank-transactions/example-id/payable-suggestions

Code
curl -X GET 'https://api.jupiter-erp.com/api/account/bank-transactions/example-id/payable-suggestions' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
  -H 'Accept: application/json'

Parameter

NameInPflichtBeschreibung
idpathjaBank transaction id

Antworten

200OK
FeldTypBeschreibung
data*object[]

array

Elemente

FeldTypBeschreibung
amount_open_cents*integerOpen amount on the document in cents
amount_total_cents*integerTotal document amount in cents (e.g. sum gross or dunning fee)
contact_avatarobject
FeldTypBeschreibung
urlstring
contact_company_namestring
contact_first_namestring
contact_idinteger
contact_last_namestring
contact_namestring
contact_numberinteger
currency_codestring
document_datestring (date)
document_subjectstringDocument subject or title when available (invoice, credit note, dunning)
match_reasons*string[]Why this document was suggested (amount exact match, counterparty name, and/or document number in reference/memo)

array

Elemente

string

  • amount
  • counterparty
  • document_number
payable_id*integer
payable_label*string
payable_type*string

string

  • Invoice
  • CreditNote
  • Dunning
suggested_amount_cents*integerSuggested booking amount in cents (positive, capped by open amount and assignable remainder)
Beispiel Response
{
  "data": [
    {
      "payable_type": "Invoice",
      "payable_id": 0,
      "payable_label": "string",
      "contact_id": 0,
      "contact_name": "string",
      "contact_first_name": "string",
      "amount_total_cents": 0,
      "amount_open_cents": 0,
      "match_reasons": [
        "amount"
      ],
      "suggested_amount_cents": 0
    }
  ]
}
404Bank transaction not found

Kein JSON-Schema dokumentiert.

Bank Transactions

Fragen zur Integration?

GET /api/account/bank-transactions/{id}/payable-suggestions · Jupiter ERP