Bug 19036

Summary: Number payment receipts / payment slips
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: black23, gmcharlt, indradg, josef.moravec, kyle.m.hall, martin.renvoize, sujan.lib
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10708
Change sponsored?: --- Patch complexity: ---
Who signed the patch off: Text to go in the release notes:
Version(s) released in:
Bug Depends on: 14826    
Bug Blocks: 13985    

Description Katrin Fischer 2017-08-04 10:35:03 UTC
In some areas it's required to sequentially number payment slips / receipts. 

At the moment this is not easily possible in Koha, as we don't have a sequential internal number for the payments, but will hopefully be possible in some point in the future with the work on the Accounts module.
Comment 1 Katrin Fischer 2018-02-28 06:37:07 UTC
*** Bug 20309 has been marked as a duplicate of this bug. ***
Comment 2 Martin Renvoize 2019-07-18 16:15:04 UTC
Do these actually need to be sequential?

At this point we could use the accountlineid for the 'payment' type accountline that's associated with the slip.
Comment 3 Katrin Fischer 2019-10-02 13:20:38 UTC
As I understood this is a legal requirement in some countries, possibly relating to anti-corruption laws, where they have to keep a tight track of all the monetary transactions. I believe the number has to be sequential to avoid problems (like getting asked about missing receipts for missing numbers).
Comment 4 Katrin Fischer 2019-10-02 13:22:48 UTC
Ah, also accountlines_id is on the wrong level I think - we want to number the payments - a payment might include changes to multiple accountlines.