diff --git a/src/openapi/contracts/contracts-crud.yaml b/src/openapi/contracts/contracts-crud.yaml index 6733363..f39f4cb 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", @@ -745,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: @@ -807,6 +831,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 +853,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 +1224,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",