Skip to content

Commit

Permalink
Add currency to receipts (#285)
Browse files Browse the repository at this point in the history
add receipt currency
  • Loading branch information
repomaa committed Oct 11, 2023
1 parent 7394726 commit b8b1e6c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sections/receipts.md
Expand Up @@ -112,6 +112,7 @@ curl -X POST \
{
"date": "2020-02-02",
"title": "Lunch with coworkers",
"currency": "CHF",
"items": [
{
"vat_code_id": 186,
Expand All @@ -130,6 +131,7 @@ Mandatory fields are marked with a star (\*):

- **date\*** – "2020-02-02"
- **title\*** – "Lunch with coworkers"
- **currency\*** - "CHF"
- **items\*** – list of positions. At least one position must be present and every position has the following fields:
- **vat_code_id\*** – 186 (Vat Code ID)
- **gross_total\*** – 99.90
Expand All @@ -154,6 +156,7 @@ curl -X POST \
{
"date": "2020-02-02",
"title": "Lunch with customer",
"currency": "CHF",
"items": [
{
"vat_code_id": 186,
Expand Down

0 comments on commit b8b1e6c

Please sign in to comment.