Jupiter ERP
Account API

CreateReceiptRequest

Felder, Typen und Verweise auf andere Modelle.

CreateReceiptRequest (object)

FeldTypBeschreibung
account_user_idinteger
contact_idinteger
cost_center_idinteger
currency_codestring
date*stringDate in Y-m-d format
delivery_datestringDate in Y-m-d format
due_datestringDate in Y-m-d format
exchange_ratestringOptional exchange rate to EUR (foreign units per 1 EUR, ECB convention). When omitted, it is prefilled from the daily ECB rate for the receipt date.
file_hashstringSHA-256 hash returned by analyzeReceiptFile; attaches the staged upload to the receipt.
issuer_referencestring
positionsobject[]Required unless creating a draft with file_hash (document-only capture).

array

Elemente

FeldTypBeschreibung
booking_account_catalog_category_idintegerSnapshot of catalog category id at save time
booking_account_catalog_category_namestringSnapshot of catalog category name at save time
booking_account_catalog_idintegerSelected platform booking account catalog entry
booking_account_sourcestringOrigin of a booking account selection

string

  • catalog
  • custom
  • manual
booking_account_typestringBooking account catalog account type (Kontoart)

string

  • expense
  • revenue
  • tax
  • other
chart_of_accountsstringChart of accounts snapshot

string

  • deu-skr03
  • deu-skr04
custom_ledger_account_idintegerSelected tenant custom ledger account
depreciation_afa_ledger_account_namestringSnapshot of the mapped AfA expense ledger account name
depreciation_afa_ledger_account_numberstringSnapshot of the mapped AfA expense ledger account
depreciation_methodstringDepreciation method when this position is treated as a fixed asset

string

  • linear
  • gwg
depreciation_useful_life_yearsintegerUseful life in years (required for linear depreciation)
description*string
idintegerStable identifier of the persisted receipt position. Returned in responses; send it back on update to preserve position identity. Omit for newly added positions.
ledger_account_namestringLedger account name snapshot
ledger_account_numberstringLedger account number (category / account)
position*string
price_unit*integerNet line amount in cents (quantity is always 1)
tax_rate*number
positions_price_input_modestringWhether position unit prices were entered as net or gross (display preference; price_unit is always stored net).

string

  • net
  • gross
project_idinteger
receipt_type*string

string

  • expense
  • income
referencestring
service_date_fromstringDate in Y-m-d format
service_date_tostringDate in Y-m-d format
service_order_idinteger
start_analysisbooleanWhen true and a file is attached on a draft receipt, analysis starts automatically after save.
statusstring

string

  • draft
  • open
vat_rule_codestring
Beispiel (JSON)
{
  "receipt_type": "expense",
  "status": "draft",
  "date": "2025-01-14T00:00:00.000Z",
  "contact_id": 0,
  "cost_center_id": 0,
  "project_id": 0
}
Schema CreateReceiptRequest · Jupiter ERP