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",