@@ -, +, @@ --- Koha/REST/V1/Patrons/Account.pm | 2 ++ api/v1/swagger/definitions/account_line.json | 4 ++++ 2 files changed, 6 insertions(+) --- a/Koha/REST/V1/Patrons/Account.pm +++ a/Koha/REST/V1/Patrons/Account.pm @@ -228,6 +228,7 @@ sub _to_model { our $to_api_mapping = { accountlines_id => 'account_line_id', accounttype => 'account_type', + debit_type_code => 'debit_type', amountoutstanding => 'amount_outstanding', borrowernumber => 'patron_id', branchcode => 'library_id', @@ -244,6 +245,7 @@ our $to_api_mapping = { our $to_model_mapping = { account_line_id => 'accountlines_id', account_type => 'accounttype', + debit_type => 'debit_type_code', amount_outstanding => 'amountoutstanding', checkout_id => 'issue_id', internal_note => 'note', --- a/api/v1/swagger/definitions/account_line.json +++ a/api/v1/swagger/definitions/account_line.json @@ -43,6 +43,10 @@ "type": "string", "description": "Account line type" }, + "debit_type": { + "type": "string", + "description": "Account line debit type" + }, "payment_type": { "type": [ "string", --