Shipping Charge Calculations
From NewHaven Software Wiki
Contents |
Overview
Shipping charges (S&H) in CMS can be calculated and affected in several ways. This article will elaborate on the settings and actions that control shipping charges.
Order vs Invoice
The first point to be clear on is that CMS charges are all order-driven for standard and fulfillment invoices. This means that the financials for the invoice are a subset, or pulling from, the order total. In other words, the order (summary) is not a sum of the invoices per se, the invoices are derivatives of the order. This is an important distinction to understand, particularly as it relates to S&H, since the total/max S&H charge is determined at the time of order save and all subsequent fulfillment invoices will be deducting from that total.
We believe the initial order placed by the customer is a form of contract to deliver goods at an agreed upon price. CMS was designed to help our users meet the terms of that purchase contract by ensuring that the sum of all of the fulfillments do not exceed the financials in the order total, including the shipping charge.
This behavior is different than returns and exchanges which are modifications to the original sale and thus those invoices can have their own S&H and other financials not driven by the order. In other words, returns and exchanges will update the order summary totals while fulfillment invoices will always be a subset of the order totals.
Fulfillments
With the above in mind, the next question might then be - "How does CMS calculate S&H for fulfillments?" As you might now guess, S&H for a fulfillment invoice can only equal to or less than the original S&H charge on the order, if any at all. CMS will use the applicable S&H formula on the -1 invoice (just for the items fulfilling on that invoice). If the formula comes up with any amount up to the order's S&H total, that amount will be used. If the formula comes up with a higher amount the the order's S&H, CMS will then use the order's S&H.
For each fulfillment, CMS will repeat the above, use the applicable formula and use the lower of the two amounts:
- Formula calc for the new invoice
- Amount of the order's S&H that has not been charged yet (order S&H total - S&H assessed on all invoices)
This methodology for calculating S&H charges has the following benefits:
- It ensures that the total S&H charged never exceeds the order's S&H total
- It front loads S&H charges so that if a customer later cancels the unfulfilled items, you have still collected appropriate S&H fees for the items that have shipped
Exceptions
There are three exceptions to the above behavior:
- Bill Delayed - The full S&H amount will appear on the -1 (as do all the order financials)
- Fulfillment option to "Apply Shipping Charges to first Fulfillment" - Full S&H will appear on the first fulfillment invoice (not necessarily -1, if nothing is shipping on -1, for example)
- Manual overrides - For imported orders or for those you manually typed in a shipping charge, both of these supersede CMS's formula calculations. In such cases CMS cannot know how your charge was calculated and, to be safe, will apply the full S&H to the first fulfillment, as if you had the Fulfillment option above checked.
Formulas
work in progress