From e668b95b8b3f0786275c524057797299838063e1 Mon Sep 17 00:00:00 2001 From: "b.boterman@htm.nl" Date: Thu, 10 Jul 2025 14:55:37 +0200 Subject: [PATCH 1/2] OVPAY-1893 - Added ContractInvoice.invoiceDate. --- src/openapi/contracts/contracts-crud.yaml | 14 ++++++++++++++ src/openapi/contracts/contracts-se.yaml | 3 +++ 2 files changed, 17 insertions(+) diff --git a/src/openapi/contracts/contracts-crud.yaml b/src/openapi/contracts/contracts-crud.yaml index 6733363..7495a5b 100644 --- a/src/openapi/contracts/contracts-crud.yaml +++ b/src/openapi/contracts/contracts-crud.yaml @@ -209,6 +209,7 @@ paths: "contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f", "externalReference": "F2024-0001", "term": 1, + "invoiceDate": "2024-06-02", "created": "2024-06-02 15:01:00.000", "updated": "2024-06-02 15:01:00.000", "state": "invoice_created", @@ -231,6 +232,7 @@ paths: "contractInvoiceId": "1c345237-4d84-47f0-93c2-7b94338e3355", "externalReference": "F2024-0002", "term": 2, + "invoiceDate": "2024-07-02", "created": "2024-07-02 15:01:00.000", "updated": "2024-07-02 15:01:00.000", "state": "invoice_created", @@ -293,6 +295,7 @@ paths: "contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f", "externalReference": "F2024-0003", "term": 1, + "invoiceDate": "2024-06-02", "created": "2024-06-02 15:01:00.000", "updated": "2024-06-02 15:01:00.000", "state": "invoice_created", @@ -315,6 +318,7 @@ paths: "contractInvoiceId": "1c345237-4d84-47f0-93c2-7b94338e3355", "externalReference": "F2024-0004", "term": 2, + "invoiceDate": "2024-07-02", "created": "2024-07-02 15:01:00.000", "updated": "2024-07-02 15:01:00.000", "state": "invoice_created", @@ -447,6 +451,7 @@ paths: "contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f", "externalReference": "F2024-0001", "term": 1, + "invoiceDate": "2024-07-02", "created": "2024-07-02 15:01:00.000", "updated": "2024-07-02 15:01:00.000", "state": "invoice_created", @@ -624,6 +629,7 @@ paths: "contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f", "externalReference": "F2024-0001", "term": 1, + "invoiceDate": "2024-07-02", "created": "2024-07-02 15:01:00.000", "updated": "2024-07-02 15:01:00.000", "state": "invoice_sent", @@ -644,6 +650,7 @@ paths: "contractInvoiceId": "dadff658-4ff5-4eb8-b516-492f1f6c6245", "externalReference": "F2024-0002", "term": 2, + "invoiceDate": "2024-08-02", "created": "2024-08-02 15:01:00.000", "updated": "2024-08-02 15:01:00.000", "state": "invoice_created", @@ -678,6 +685,7 @@ paths: { "externalReference": "F2024-0001", "term": 1, + "invoiceDate": "2024-07-02", "created": "2024-07-02 15:01:00.000", "updated": "2024-07-02 15:01:00.000", "state": "invoice_created", @@ -807,6 +815,7 @@ paths: "contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f", "externalReference": "F2024-0030", "term": 1, + "invoiceDate": "2024-06-02", "created": "2024-06-02 15:01:00.000", "updated": "2024-06-02 15:01:00.000", "state": "invoice_created", @@ -828,6 +837,7 @@ paths: "contractInvoiceId": "dadff658-4ff5-4eb8-b516-492f1f6c6245", "externalReference": "F2024-0002", "term": 2, + "invoiceDate": "2024-08-02", "created": "2024-08-02 15:01:00.000", "updated": "2024-08-02 15:01:00.000", "state": "invoice_created", @@ -1198,6 +1208,10 @@ components: term: type: integer example: 1 + invoiceDate: + type: string + format: date + example: 2024-07-02 created: type: string format: date-time diff --git a/src/openapi/contracts/contracts-se.yaml b/src/openapi/contracts/contracts-se.yaml index f22307f..f1b49a7 100644 --- a/src/openapi/contracts/contracts-se.yaml +++ b/src/openapi/contracts/contracts-se.yaml @@ -208,6 +208,7 @@ paths: "contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f", "externalReference": "F2024-0001", "term": 1, + "invoiceDate": "2024-07-02", "created": "2024-07-02 15:01:00.000", "updated": "2024-07-02 15:01:00.000", "state": "invoice_created", @@ -266,6 +267,7 @@ paths: "contractId": "9e224750-3065-471d-af57-85b9cffa7c89", "externalReference": "F2024-0001", "term": 1, + "invoiceDate": "2024-07-02", "created": "2024-07-02 15:01:34.000", "updated": "2024-07-04 00:04:56.000", "state": "invoice_created", @@ -277,6 +279,7 @@ paths: "contractId": "9e224750-3065-471d-af57-85b9cffa7c89", "externalReference": "F2024-0002", "term": 2, + "invoiceDate": "2024-08-02", "created": "2024-08-02 15:01:34.000", "updated": "2024-08-04 00:04:56.000", "state": "invoice_created", -- 2.45.2 From 69e9392410a9270451370b49c4bfd51e0d7c855e Mon Sep 17 00:00:00 2001 From: "b.boterman@htm.nl" Date: Thu, 10 Jul 2025 15:09:00 +0200 Subject: [PATCH 2/2] OVPAY-1893 - Added invoiceDate query param. --- src/openapi/contracts/contracts-crud.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/openapi/contracts/contracts-crud.yaml b/src/openapi/contracts/contracts-crud.yaml index 7495a5b..f39f4cb 100644 --- a/src/openapi/contracts/contracts-crud.yaml +++ b/src/openapi/contracts/contracts-crud.yaml @@ -753,6 +753,22 @@ paths: example: 4 required: false description: Term of the invoice. + - in: query + name: invoiceDateFrom + schema: + type: string + format: date + example: 2024-06-02 + required: false + description: Invoice date of the invoice (from). + - in: query + name: invoiceDateUntil + schema: + type: string + format: date + example: 2024-06-02 + required: false + description: Invoice date of the invoice (until). - in: query name: createdFrom schema: -- 2.45.2