Main Koha release repository https://koha-community.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

44 lines
1.1 KiB

{
"type": "object",
"properties": {
"credit_type": {
"type": "string",
"description": "Type of credit ('CREDIT', 'FORGIVEN', 'LOST_FOUND', 'PAYMENT', 'WRITEOFF' )"
},
"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
}