OVPAY-1755 - Updated TaxMetadata.

This commit is contained in:
Bas Boterman 2025-04-28 14:34:43 +02:00
parent 7097b49097
commit a1175b57d8

View File

@ -2094,8 +2094,9 @@ paths:
- taxMetadataRowId
- taxMetadataId
- taxCode
- taxPercentageAmount
- taxPercentage
- description
- weFactTaxCode
- validFrom
- validUntil
- name: $select
@ -2113,7 +2114,7 @@ paths:
- taxMetadataRowId
- taxMetadataId
- taxCode
- taxPercentageAmount
- taxPercentage
- description
- validFrom
- validUntil
@ -2134,49 +2135,55 @@ paths:
- "@odata.etag": 4a758689-c28f-47d1-a230-e5422e9ad3be
taxMetadataRowId: 13
taxMetadataId: 2d444740-4131-4169-bb47-2d125641dc87
taxCode: V0
texPercantageAmount: 0
taxCode: V00
taxPercentage: 0
description: BTW VERKOOP NUL
weFactTaxCode: V0
validFrom: 2024-03-22T09:00:00
validUntil: null
- "@odata.etag": f848cce9-7fbe-4371-a70c-085fefe4613e
taxMetadataRowId: 14
taxMetadataId: b5f879d1-043d-4357-9655-2eeca8ebe9bf
taxCode: V09
taxPercentageAmount: 9
taxPercentage: 9
description: BTW VERKOOP LAAG 9%
weFactTaxCode: V9
validFrom: 2024-03-22T09:00:00
validUntil: null
- "@odata.etag": db06ae45-710d-4a4b-958b-cba61a8ba027
taxMetadataRowId: 15
taxMetadataId: 62e1abe7-d76f-4364-9207-591c0601ba55
taxCode: V21
taxPercentageAmount: 21
taxPercentage: 21
description: BTW VERKOOP HOOG 21%
weFactTaxCode: V21
validFrom: 2024-03-22T09:00:00
validUntil: null
- "@odata.etag": 3bc97433-06f8-431c-b931-f5e33641bf88
taxMetadataRowId: 16
taxMetadataId: 9a253fc3-e562-4c4a-925c-d9caf0dcc549
taxCode: ?0
taxPercentageAmount: 0
taxCode: I00
taxPercentage: 0
description: BTW DEBIT NUL
weFactTaxCode: I0
validFrom: 2024-03-22T09:00:00
validUntil: null
- "@odata.etag": 2262ab02-57a8-4425-a823-88d3c8d956bf
taxMetadataRowId: 17
taxMetadataId: 6243b848-5ca3-44e0-9860-4fb3a817f148
taxCode: ?09
taxPercentageAmount: 9
taxCode: I09
taxPercentage: 9
description: BTW DEBIT laag 9%
weFactTaxCode: I9
validFrom: 2024-03-22T09:00:00
validUntil: null
- "@odata.etag": 261794fa-11fa-47a2-9429-1e671638cb9d
taxMetadataRowId: 18
taxMetadataId: 0240d6e4-6037-4da0-ac10-1fde0229d439
taxCode: ?21
taxPercentageAmount: 21
taxCode: I21
taxPercentage: 21
description: BTW DEBIT hoog 21%
weFactTaxCode: I21
validFrom: 2024-03-22T09:00:00
validUntil: null
security:
@ -2201,8 +2208,9 @@ paths:
description: This example adds a new tax metadata record to the database.
value:
taxCode: V21.4
taxPercentageAmount: 21.4
taxPercentage: 21.4
description: BTW VERKOOP HOOG 21.4%
weFactTaxCode: V21.4
validFrom: 2025-03-22T09:00:00
validUntil: null
responses:
@ -2246,7 +2254,17 @@ paths:
examples:
Update tax metadata:
summary: Update tax metadata
description: In this example the tax metadata is updated. The validUntil field is updated to 2025-03-22T09:00:00.
description: In this example the tax metadata is updated.
value:
taxCode: V09
taxPercentage: 9
description: BTW VERKOOP LAAG 9%
weFactTaxCode: V9
validFrom: 2024-03-22T09:00:00
validUntil: 2025-03-22T09:00:00
Update tax metadata validity:
summary: Update tax metadata validity
description: In this example the validity of a tax metadata is updated. The validUntil field is updated to 2025-03-22T09:00:00.
value:
validUntil: 2025-03-22T09:00:00
responses:
@ -2266,6 +2284,20 @@ paths:
- default: []
x-auth-type: Application & Application User
x-throttling-tier: Unlimited
delete:
summary: Delete tax metadata.
description: |
Delete tax metadata. Note that tax metadata can only be deleted
if the validFrom is in the future.
tags:
- Metadata v2.2
responses:
"200":
description: OK
security:
- default: []
x-auth-type: Application & Application User
x-throttling-tier: Unlimited
/Odata/SourceMetadata:
get:
summary: Find source metadata.
@ -4215,12 +4247,16 @@ components:
taxCode:
type: string
example: V21
taxPercentageAmount:
taxPercentage:
type: number
example: 21
description:
type: string
example: BTW VERKOOP HOOG 21%
weFactTaxCode:
type: string
example: V21
nullable: true
validFrom:
type: string
format: date-time
@ -4242,12 +4278,16 @@ components:
taxCode:
type: string
example: V21
taxPercentageAmount:
taxPercentage:
type: number
example: 21
description:
type: string
example: BTW VERKOOP HOOG 21%
weFactTaxCode:
type: string
example: V21
nullable: true
validFrom:
type: string
format: date-time
@ -4277,16 +4317,24 @@ components:
taxCode:
type: string
example: V21
nullable: true
taxPercentageAmount:
type: number
example: 21
nullable: true
description:
type: string
example: BTW VERKOOP HOOG 21%
nullable: true
weFactTaxCode:
type: string
example: V21
nullable: true
validFrom:
type: string
format: date-time
example: 2024-03-22T09:00:00
nullable: true
validUntil:
type: string
format: date-time