Expenses

Create an expense payment

post/v1/expenses/{id}/payments

Request

  • Base URL: https://api.officina.it
  • URL: https://api.officina.it/v1/expenses/{id}/payments
  • Auth: HTTP bearer

Request body

amountnumber required
payment_methodstring nullable
payment_datestring nullable

Formato YYYY-MM-DD, fra 1900-01-01 e 2100-12-31. Se omesso vale la data odierna.

financial_account_idstring nullable

Response

Created. Unlike every other endpoint on this API this one answers with an EMPTY body — the payment is not echoed back. Re-read the expense to see the updated totals.

Changes

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