Skip to content

Commit

Permalink
Add approval_status to purchases (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
nethad authored Oct 16, 2024
1 parent 2cafd60 commit 8be44b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sections/purchases.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ Includes among the standard fields for purchases also:
- company (if the purchase is associated to a supplier)
- payments (list of payments made for the purchase)
- user
- status ("pending" = Inbox, "approved" = Archive)
- status (`pending` = Inbox, `approved` = Archive)
- approval_status (`none` = no approval requested, `approved` = all requests approved, `denied` = at least 1 denial none pending, `pending` = approvals still pending)
- items
- items.vat ("tax", "reverse_charge", "intra_eu" (intra community trade, only applicable for accounts in the EU))
- items.expense (the associated project expense or `null`)
Expand All @@ -46,6 +47,7 @@ Includes among the standard fields for purchases also:
"file_url": null,
"custom_properties": { "Various": "some stuff" },
"tags": ["Transportation"],
"approval_status": "approved",
"company": {
"id": 5552,
"name": "Schweizerische Bundesbahnen SBB",
Expand Down

0 comments on commit 8be44b0

Please sign in to comment.