From 4d9b1217a6949ce68caa4bda1a2daa9c2c4f6270 Mon Sep 17 00:00:00 2001 From: Codat Pipeline Bot Date: Wed, 21 Jan 2026 14:06:46 +0000 Subject: [PATCH] Latest Open API Specification --- static/oas/Codat-Lending.json | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/static/oas/Codat-Lending.json b/static/oas/Codat-Lending.json index 9c344893a..e8e48b431 100644 --- a/static/oas/Codat-Lending.json +++ b/static/oas/Codat-Lending.json @@ -110422,7 +110422,14 @@ "$ref": "#/components/schemas/FinancialSummary" }, "example": { - "booksClosedDate": "2025-05-31T00:00:00Z", + "booksClosedDate": { + "date": "2025-05-31T00:00:00Z", + "reason": [ + "One or more accounts show a deviation from expected movements for March 2025", + "One of the marketing accounts haven't been booked for February 2025", + "One of the inventory accounts haven't been booked for March 2025" + ] + }, "accountingScore": { "score": 90, "reason": [ @@ -120800,9 +120807,28 @@ "type": "object", "properties": { "booksClosedDate": { - "type": "string", + "type": "object", "description": "The date time in UTC the books closed.", - "example": "2025-05-31T00:00:00Z" + "properties": { + "date": { + "type": "string", + "format": "date-time", + "description": "The date time in UTC the books closed.", + "example": "2025-05-31T00:00:00Z" + }, + "reason": { + "type": "array", + "description": "List of reasons explaining the books closed date.", + "items": { + "type": "string" + }, + "example": [ + "One or more accounts show a deviation from expected movements for March 2025", + "One of the marketing accounts haven't been booked for February 2025", + "One of the inventory accounts haven't been booked for March 2025" + ] + } + } }, "accountingScore": { "type": "object",