Bug 19850

Summary: Enhance invoicing functionality for each line item
Product: Koha Reporter: Jeff Brown <j.j.brown>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: J.P.Knight, janet.mcgowan, joe.mcglynn, martin.renvoize, niamh.walker-headon
Version: unspecified   
Hardware: All   
OS: All   
URL: https://wiki.koha-community.org/wiki/Advanced_Invoicing_RFC
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
RMNOTE - Wrong bug number - Remove from 19.05 release notes before release!
Version(s) released in:
Circulation function:

Description Jeff Brown 2017-12-20 14:49:02 UTC
Enhancement to the invoicing functionality: 
Currently when paying an invoice the accounting form for each line item just has a Tax percentage field. This is inadequate for accounting purposes. We would like to see 2 fields which allow you to input an amount (not based upon a percentage) – 1 for tax, 1 for additional costs. These fields should then be added to the price of the book to give a total/actual cost of each book.

For example, a CD with a book and servicing may need 3 tax elements for a single order line. That is Book 0%, CD 20%, Servicing 20%. This may be achievable with a separate table of aqtaxamounts attached to aqinvoices? We need to use amounts (rather than any sort of %). This would make it compatible with EDI INVOIC which only sends a value. It would require changes to database structure, UI and EDI code. Add a system preference to leave as it is now or switch on “advanced invoicing”.
Comment 1 Katrin Fischer 2018-02-19 07:24:49 UTC
Hi Jeff, could you write up an example of how this would look like to make it clearer how you'd like to enter the data? I think we have a similar problem here with electronic and print taxed differently and the need to divide up costs for some packages.
Comment 2 Martin Renvoize (ashimema) 2018-05-21 14:57:51 UTC
I am working on a proposal for this and intend to submit it as an RFC.. I'll post here when complete.
Comment 3 Martin Renvoize (ashimema) 2018-08-10 09:53:46 UTC
https://wiki.koha-community.org/wiki/Advanced_Invoicing_RFC
Comment 4 Katrin Fischer 2019-02-17 12:20:41 UTC
This bug number got into the 19.05 release notes because of a typo: 

http://git.koha-community.org/gitweb/?p=koha.git;a=commit;h=6d44f9dac8235dfe0259ea5b935c5a8908d2e441
Comment 5 Katrin Fischer 2019-02-17 12:23:15 UTC
(In reply to Katrin Fischer from comment #4)
> This bug number got into the 19.05 release notes because of a typo: 
> 
> http://git.koha-community.org/gitweb/?p=koha.git;a=commit;
> h=6d44f9dac8235dfe0259ea5b935c5a8908d2e441

I added an issue to the release notes repository:
https://gitlab.com/koha-community/koha-release-notes/issues/6