Bug 9598

Summary: Ability to split up shipping cost between all items and funds on an invoice
Product: Koha Reporter: Nicole C. Engard <nengard>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P5 - low CC: andrew, catrina, tomascohen
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Nicole C. Engard 2013-02-12 16:47:56 UTC
It would be nice if Koha could pro-rate the shipping when receiving. That way it splits up the shipping cost between all of the funds used in the basket and not just one fund selected when receiving the basket.
Comment 1 Andrew Fuerste-Henry 2019-06-26 12:18:15 UTC
Giving this enhancement request a bump. 6 years later, this continues to be a feature libraries ask for.
Comment 2 Tomás Cohen Arazi (tcohen) 2021-01-05 16:35:10 UTC
Maybe it needs a more detailed behavior description. Does is need to list the used funds and allow setting percentages? Maybe it could allow choosing other funds?
Comment 3 Andrew Fuerste-Henry 2025-09-02 20:05:35 UTC
(In reply to Tomás Cohen Arazi (tcohen) from comment #2)
> Maybe it needs a more detailed behavior description. Does is need to list
> the used funds and allow setting percentages? Maybe it could allow choosing
> other funds?

My thinking was that the shipping total would be split across all funds present in the basket according to the percentage of items on the invoice assigned to each fund.

So if an invoice has 10 items and a $100 shipping cost, with 4 items on the invoice charged to Fund A, 4 items to Fund B, 2 items to Fund C, we'd charge $40 shipping to Fund A, $40 to Fund B, $20 to Fund C.