updated tax fields in orders
This commit is contained in:
parent
53b36f29a8
commit
2726ddb332
@ -5,6 +5,7 @@ info:
|
||||
description: CRUD APIs for ABT Orders database. These are NOT the functional APIs from Service Engine.
|
||||
servers:
|
||||
- url: https://api.integratielaag.nl/v1
|
||||
- url: https://api.integratielaag.nl/v2
|
||||
paths:
|
||||
/orders:
|
||||
get:
|
||||
@ -12,6 +13,8 @@ paths:
|
||||
- Order
|
||||
summary: P1. Find orders.
|
||||
description: Find orders.
|
||||
servers:
|
||||
- url: https://api.integratielaag.nl/v1
|
||||
parameters:
|
||||
- in: query
|
||||
name: externalOrderId
|
||||
@ -169,13 +172,8 @@ paths:
|
||||
"productCode": "HTM-MND-20",
|
||||
"productDescription": "HTM Maandkorting 20%",
|
||||
"taxAmount": 21,
|
||||
"taxMetadata":
|
||||
{
|
||||
"taxMetadataId": "06270769-a263-4325-82d6-f49396f39d03",
|
||||
"taxCode": "V21",
|
||||
"taxPercentageAmount": 21,
|
||||
"description": "21% BTW",
|
||||
},
|
||||
"taxCode": "V21",
|
||||
"taxPercentage": 21,
|
||||
"amountExclTax": 100,
|
||||
"amountInclTax": 121,
|
||||
"quantity": 1,
|
||||
@ -347,7 +345,8 @@ paths:
|
||||
"productCode": "HTM-MND-20",
|
||||
"productDescription": "HTM Maandkorting 20%",
|
||||
"taxAmount": 21,
|
||||
"taxMetadataId": "7275b910-37d9-40c1-aaac-80d8ceb62ff9",
|
||||
"taxCode: "V21",
|
||||
"taxPercentage": 21,
|
||||
"amountExclTax": 100,
|
||||
"amountInclTax": 121,
|
||||
"quantity": 1,
|
||||
@ -518,13 +517,8 @@ paths:
|
||||
"productCode": "HTM-MND-20",
|
||||
"productDescription": "HTM Maandkorting 20%",
|
||||
"taxAmount": 21,
|
||||
"taxMetadata":
|
||||
{
|
||||
"taxMetadataId": "06270769-a263-4325-82d6-f49396f39d03",
|
||||
"taxCode": "V21",
|
||||
"taxPercentageAmount": 21,
|
||||
"description": "21% BTW",
|
||||
},
|
||||
"taxCode": "V21",
|
||||
"taxPercentage": 21,
|
||||
"amountExclTax": 100,
|
||||
"amountInclTax": 121,
|
||||
"quantity": 1,
|
||||
@ -744,7 +738,8 @@ paths:
|
||||
"productCode": "HTM-MND-20",
|
||||
"productDescription": "HTM Maandkorting 20%",
|
||||
"taxAmount": 21,
|
||||
"taxMetadataId": "1d6f1725-1072-4f08-982c-3df51dd854a1",
|
||||
"taxCode": "V21",
|
||||
"taxPercentage": 21,
|
||||
"amountExclTax": 100,
|
||||
"amountInclTax": 121,
|
||||
"quantity": 1,
|
||||
@ -949,13 +944,21 @@ paths:
|
||||
required: false
|
||||
description: The amount of tax calculated.
|
||||
- in: query
|
||||
name: taxMetadataId
|
||||
name: taxCode
|
||||
schema:
|
||||
type: string
|
||||
format: uuid
|
||||
example: 3435119f-6a99-4f90-967b-25086b9a8bac
|
||||
example: "V21"
|
||||
required: false
|
||||
description: The technical id of the tax code.
|
||||
description: The tax code.
|
||||
- in: query
|
||||
name: taxPercentage
|
||||
schema:
|
||||
type: string
|
||||
format: uuid
|
||||
example: 21
|
||||
required: false
|
||||
description: The tax percentage.
|
||||
- in: query
|
||||
name: amountExclTax
|
||||
schema:
|
||||
@ -1068,13 +1071,8 @@ paths:
|
||||
"productCode": "HTM-MND-20",
|
||||
"productDescription": "HTM Maandkorting 20%",
|
||||
"taxAmount": 21,
|
||||
"taxMetadata":
|
||||
{
|
||||
"taxMetadataId": "06270769-a263-4325-82d6-f49396f39d03",
|
||||
"taxCode": "V21",
|
||||
"taxPercentageAmount": 21,
|
||||
"description": "21% BTW",
|
||||
},
|
||||
"taxCode": "V21",
|
||||
"taxPercentage": 21,
|
||||
"amountExclTax": 100,
|
||||
"amountInclTax": 121,
|
||||
"quantity": 1,
|
||||
@ -1150,13 +1148,14 @@ paths:
|
||||
example:
|
||||
{
|
||||
"taxAmount": 21,
|
||||
"taxMetadataId": "0574440e-7fa0-401f-b907-539c91633a5d",
|
||||
"taxCode": "V21",
|
||||
"taxPercentage": 21,
|
||||
"amountExclTax": 100,
|
||||
"amountInclTax": 121,
|
||||
"quantity": 1,
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": "2025-03-22T09:00:00",
|
||||
"orderLineStatusId": 4,
|
||||
"orderLineStatusId": 1,
|
||||
}
|
||||
responses:
|
||||
"200":
|
||||
|
||||
Loading…
Reference in New Issue
Block a user