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.
121 lines
2.8 KiB
121 lines
2.8 KiB
{
|
|
"type": "object",
|
|
"properties": {
|
|
"account_line_id": {
|
|
"type": "integer",
|
|
"description": "Internal account line identifier"
|
|
},
|
|
"checkout_id": {
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
],
|
|
"description": "Internal identifier for the checkout the account line is related to"
|
|
},
|
|
"patron_id": {
|
|
"type": "integer",
|
|
"description": "Internal identifier for the patron the account line belongs to"
|
|
},
|
|
"item_id": {
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
],
|
|
"description": "Internal identifier for the item the account line is related to"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"description": "Date the account line was created"
|
|
},
|
|
"amount": {
|
|
"type": "number",
|
|
"description": "Account line amount"
|
|
},
|
|
"description": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"description": "Account line description"
|
|
},
|
|
"account_type": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"description": "Account line type"
|
|
},
|
|
"debit_type": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"description": "Account line debit type"
|
|
},
|
|
"credit_type": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"description": "Account line credit type"
|
|
},
|
|
"payment_type": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"description": "Payment type"
|
|
},
|
|
"amount_outstanding": {
|
|
"type": "number",
|
|
"description": "Outstanding amount"
|
|
},
|
|
"last_increment": {
|
|
"type": [
|
|
"number",
|
|
"null"
|
|
],
|
|
"description": "The amount the line was increased last time"
|
|
},
|
|
"timestamp": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"description": "Timestamp for the latest line update"
|
|
},
|
|
"internal_note": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"description": "Internal note"
|
|
},
|
|
"user_id": {
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
],
|
|
"description": "Internal patron identifier for the staff member that introduced the account line"
|
|
},
|
|
"library_id": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"description": "Internal identifier for the library in which the transaction took place"
|
|
},
|
|
"interface": {
|
|
"type": [ "string", "null" ],
|
|
"description": "Interface in which the account line was generated (values can be: api, cron, commandline, intranet, opac and sip)"
|
|
},
|
|
"status": {
|
|
"type": [ "string", "null" ],
|
|
"description": "The credit/debit status"
|
|
},
|
|
"cash_register_id": {
|
|
"type": [ "integer", "null" ],
|
|
"description": "Internal identifier for the cash register used for the payment (if any)"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
|