Bug 39426

Summary: Inconsistency in handling debits and credits via the accounts endpoint
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: REST APIAssignee: Tomás Cohen Arazi (tcohen) <tomascohen>
Status: ASSIGNED --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Nick Clemens (kidclamp) 2025-03-23 16:21:42 UTC
We need to improve consistency here

patron_account.yaml uses:

patron_account_credit.yaml as the definition for credits
debits.yaml as the definition for debits
We should name these consistently

the credit file has 'date' as a 'date' field
the debit file has 'date' as a 'date-time' field
Comment 1 Tomás Cohen Arazi (tcohen) 2025-03-25 13:46:59 UTC
Will check while moving to OpenAPIv3