Skip to main content
PATCH
https://api.folkyn.com
/
api
/
v1
/
accounting
/
entries
/
{id}
Mark accounting entry as paid
curl --request PATCH \
  --url https://api.folkyn.com/api/v1/accounting/entries/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "paid"
}
'
{
  "data": {
    "entry": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "activity_report_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "invoice",
      "status": "waiting_payment",
      "amount_excl_vat": 123,
      "vat_amount": 123,
      "amount_incl_vat": 123,
      "paid_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z"
    }
  }
}

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <your_api_key>

Path Parameters

id
string<uuid>
required

Body

application/json
status
enum<string>
required

Must be paid (only marking as paid is supported via this API).

Available options:
paid

Response

Success

data
object