From 1c8183632aa873fcf90a7d73a1ca7dd22efbeac9 Mon Sep 17 00:00:00 2001 From: "b.boterman@htm.nl" Date: Wed, 1 Oct 2025 14:01:43 +0200 Subject: [PATCH] OVPAY-2186 - Updated examples. --- src/openapi/contracts/contracts-crud.yaml | 86 +++++++++++------------ 1 file changed, 40 insertions(+), 46 deletions(-) diff --git a/src/openapi/contracts/contracts-crud.yaml b/src/openapi/contracts/contracts-crud.yaml index 63bd2ef..2f755cb 100644 --- a/src/openapi/contracts/contracts-crud.yaml +++ b/src/openapi/contracts/contracts-crud.yaml @@ -48,8 +48,6 @@ paths: "touchpointId": 2, "contractStatus": { "contractStatusId": 2, "name": "active" }, - "productId": 1, - "productName": "HTM Maand 20% korting", "termDuration": "P0Y1M0D", "billingDay": 15, "highestInvoiceTerm": 1, @@ -64,8 +62,6 @@ paths: "touchpointId": 2, "contractStatus": { "contractStatusId": 1, "name": "new" }, - "productId": 1, - "productName": "HTM Maand 20% korting", "termDuration": "P0Y1M0D", "billingDay": 15, "highestInvoiceTerm": 1, @@ -91,8 +87,6 @@ paths: "orderLineId": "52efbbfc-8c28-4016-9ece-dc3ef9a70bd8", "touchpointId": 2, "contractStatusId": 1, - "productId": 1, - "productName": "HTM Maand 20% korting", "termDuration": "P0Y1M0D", "billingDay": 15, "highestInvoiceTerm": 0, @@ -100,10 +94,11 @@ paths: [ { "termsAndConditions": "https://www.htm.nl/reisproducten/productvoorwaarden/htm-maandkorting/", - "termAmountExclTax": 1200, - "taxCode": "V21", - "taxAmount": 108, - "termAmountInclTax": 1308, + "productId": 1, + "productName": "HTM Maand 20% korting", + "taxCode": "V9", + "taxPercentage": 9.0, + "termAmountInclTax": 400, "start": "2024-07-04 15:01:00.000", "end": "", }, @@ -198,8 +193,6 @@ paths: "touchpointId": 2, "contractStatus": { "contractStatusId": 2, "name": "active" }, - "productId": 1, - "productName": "HTM Maand 20% korting", "termDuration": "P0Y1M0D", "billingDay": 15, "highestInvoiceTerm": 1, @@ -257,20 +250,22 @@ paths: { "contractVersionId": 1, "termsAndConditions": "https://www.htm.nl/reisproducten/productvoorwaarden/htm-maandkorting/", - "termAmountExclTax": 1200, - "taxCode": "V21", - "taxAmount": 108, - "termAmountInclTax": 1308, + "productId": 1, + "productName": "HTM Maand 20% korting", + "taxCode": "V9", + "taxPercentage": 9.0, + "termAmountInclTax": 400, "start": "2024-07-04 15:01:00.000", "end": "2024-12-31 15:01:00.000", }, { "contractVersionId": 2, "termsAndConditions": "https://www.htm.nl/reisproducten/productvoorwaarden/htm-maandkorting/", - "termAmountExclTax": 1300, - "taxCode": "V21", - "taxAmount": 117, - "termAmountInclTax": 1417, + "productId": 1, + "productName": "HTM Maand 20% korting", + "taxCode": "V9", + "taxPercentage": 9.0, + "termAmountInclTax": 400, "start": "2025-01-01 15:01:00.000", }, ], @@ -284,8 +279,6 @@ paths: "touchpointId": 2, "contractStatus": { "contractStatusId": 1, "name": "new" }, - "productId": 1, - "productName": "HTM Maand 20% korting", "termDuration": "P0Y1M0D", "billingDay": 15, "highestInvoiceTerm": 1, @@ -343,20 +336,22 @@ paths: { "contractVersionId": 1, "termsAndConditions": "https://www.htm.nl/reisproducten/productvoorwaarden/htm-maandkorting/", - "termAmountExclTax": 1200, - "taxCode": "V21", - "taxAmount": 108, - "termAmountInclTax": 1308, + "productId": 1, + "productName": "HTM Maand 20% korting", + "taxCode": "V9", + "taxPercentage": 9.0, + "termAmountInclTax": 400, "start": "2024-07-04 15:01:00.000", "end": "2024-12-31 15:01:00.000", }, { "contractVersionId": 2, "termsAndConditions": "https://www.htm.nl/reisproducten/productvoorwaarden/htm-maandkorting/", - "termAmountExclTax": 1300, - "taxCode": "V21", - "taxAmount": 117, - "termAmountInclTax": 1417, + "productId": 1, + "productName": "HTM Maand 20% korting", + "taxCode": "V9", + "taxPercentage": 9.0, + "termAmountInclTax": 400, "start": "2025-01-01 15:01:00.000", }, ], @@ -397,8 +392,6 @@ paths: "touchpointId": 2, "contractStatus": { "contractStatusId": 2, "name": "active" }, - "productId": 1, - "productName": "HTM Maand 20% korting", "termDuration": "P0Y1M0D", "billingDay": 15, "highestInvoiceTerm": 1, @@ -407,20 +400,22 @@ paths: { "contractVersionId": 1, "termsAndConditions": "https://www.htm.nl/reisproducten/productvoorwaarden/htm-maandkorting/", - "termAmountExclTax": 1200, - "taxCode": "V21", - "taxAmount": 108, - "termAmountInclTax": 1308, + "productId": 1, + "productName": "HTM Maand 20% korting", + "taxCode": "V9", + "taxPercentage": 9.0, + "termAmountInclTax": 400, "start": "2024-07-04 15:01:00.000", "end": "2024-12-31 15:01:00.000", }, { "contractVersionId": 2, "termsAndConditions": "https://www.htm.nl/reisproducten/productvoorwaarden/htm-maandkorting/", - "termAmountExclTax": 1300, - "taxCode": "V21", - "taxAmount": 117, - "termAmountInclTax": 1417, + "productId": 1, + "productName": "HTM Maand 20% korting", + "taxCode": "V9", + "taxPercentage": 9.0, + "termAmountInclTax": 400, "start": "2025-01-01 15:01:00.000", }, ], @@ -486,8 +481,6 @@ paths: "contract": { "contractStatusId": 2, - "productId": 1, - "productName": "HTM 20% korting 2024", "billingDay": 15, "highestInvoiceTerm": 2, }, @@ -532,10 +525,11 @@ paths: "contractVersion": { "termsAndConditions": "https://www.htm.nl/reisproducten/productvoorwaarden/htm-maandkorting/", - "termAmountExclTax": 1200, - "taxCode": "V21", - "taxAmount": 108, - "termAmountInclTax": 1308, + "productId": 1, + "productName": "HTM Maand 20% korting", + "taxCode": "V9", + "taxPercentage": 9.0, + "termAmountInclTax": 400, "start": "2024-07-08 15:01:00.000", "end": "", },