Receipts

Create receipt

Create a new receipt for a business. Supports idempotency via external_id.

post/v1/platform/businesses/{business_id}/receipts/

Request

  • Base URL
    https://docs.thredfi.com (the document declares no server; this is the origin it was published from)
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP basic
    • or HTTP bearer
    • or HTTP bearer

Path parameters

business_idstring required

Request body

external_idstring
vendor_idstring uuid nullable
receipt_datestring date required
total_amount_centsinteger required

Total amount in cents

receipt_numberstring
descriptionstring
payment_method'cash' | 'credit_card' | 'debit_card' | 'bank_transfer' | 'check' | 'other' | '' | 'null' nullable
  • cash - Cash
  • credit_card - Credit Card
  • debit_card - Debit Card
  • bank_transfer - Bank Transfer
  • check - Check
  • other - Other
currency'EUR' | 'GBP' | 'USD' | 'SEK' | 'NOK' | 'DKK' | 'ISK' | 'MYR' | 'SGD' | ''
  • EUR - Euro
  • GBP - British Pound
  • USD - US Dollar
  • SEK - Swedish Krona
  • NOK - Norwegian Krone
  • DKK - Danish Krone
  • ISK - Icelandic Króna
  • MYR - Malaysian Ringgit
  • SGD - Singapore Dollar
metadataunknown

Response

typestring required
idstring uuid required
business_idstring uuid required
external_idstring
receipt_numberstring
receipt_datestring date-time required
descriptionstring
payment_methodstring
metadataunknown
currencystring required
total_amountinteger required

Total receipt amount in cents

created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.