Jupiter ERP
Account API

PayableDocumentSuggestion

Fields, types, and references to other models.

PayableDocumentSuggestion (object)

FieldTypeDescription
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
FieldTypeDescription
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

Elements

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)
Example (JSON)
{
  "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
}
Schema PayableDocumentSuggestion · Jupiter ERP