Koha/api/v1/swagger/definitions/patron_account_credit.yaml
Aleisha Amohia 974359ed85
Bug 23012: Show the PROCESSING_FOUND account credit type
Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-10-24 17:43:28 -03:00

36 lines
903 B
YAML

---
type: object
properties:
credit_type:
type: string
description: Type of credit ('CREDIT', 'FORGIVEN', 'LOST_FOUND', 'PAYMENT', 'WRITEOFF', 'PROCESSING_FOUND' )
amount:
type: number
minimum: 0
description: Credit amount
library_id:
type:
- string
- "null"
description: Internal identifier for the library in which the transaction took place
account_lines_ids:
type: array
items:
type: integer
description: List of account line ids the credit goes against (optional)
payment_type:
type: string
description: Payment type (only applies when credit_type=payment)
date:
type: string
format: date
description: Date the credit was recorded (optional)
description:
type: string
description: Description
note:
type: string
description: Internal note
required:
- amount
additionalProperties: false