Skip to content

Commit

Permalink
Extend purchase item with receipt info (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsations authored Apr 23, 2024
1 parent b84cd1c commit 1766901
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sections/purchases.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Includes among the standard fields for purchases also:
- 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`)
- Items.receipt (the associated receipt or `null`)

```json
{
Expand Down Expand Up @@ -82,6 +83,12 @@ Includes among the standard fields for purchases also:
"id": 23345545,
"company_id": 54345
}
},
"receipt": {
"id": 9857765,
"title": "SBB Ticket",
"date": "2018-10-01",
"attachment_url": "https://..."
}
}
],
Expand Down

0 comments on commit 1766901

Please sign in to comment.