[IMP] inventory: invoice shipping

closes odoo/documentation#8376

X-original-commit: 2733aac1fc
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
Co-authored-by: Zachary Straub <zst@odoo.com>
This commit is contained in:
Felicious 2024-03-22 01:57:17 +00:00 committed by Sam Lieber (sali)
parent 878da9318e
commit 6bd2a67549
14 changed files with 91 additions and 56 deletions

View File

@ -1,90 +1,125 @@
================================================= =======================
How to invoice the shipping cost to the customer? Shipping cost invoicing
================================================= =======================
.. _inventory/shipping/invoice: .. _inventory/shipping/invoice:
Overview Invoicing customers for shipping after delivery ensures accurate charges based on real-time shipping
======== factors like distance, weight, and method.
There are two ways to invoice the shipping costs: In Odoo, shipping costs can be invoiced in two ways:
1. Agree with the customer over a cost and seal it down in the sale #. Agree with the customer on a fixed cost and :ref:`include it in the sale order.
order <inventory/shipping/invoice-so>`
2. Invoice the real cost of the shipping. #. :ref:`Invoice shipping costs to the customer post-delivery
<inventory/shipping/invoice-shipping>`, reflecting the actual expenses incurred by the business.
Configuration Configuration
============= =============
To configure the price of your delivery methods, go to the **Inventory** To set prices to delivery methods, go to :menuselection:`Inventory app --> Configuration -->
app, click on :menuselection:`Configuration --> Delivery --> Delivery Methods`. Settings`. Under the :guilabel:`Shipping` section, enable the :guilabel:`Delivery Methods` feature.
Then, click :guilabel:`Save`.
You can manually set a price for the shipping: It can be fixed or based .. image:: invoicing/enable-delivery.png
on rules.
Or you can use the transportation company computation system by :doc:`integrating a third-party
shipper <../setup_configuration/third_party_shipper>`.
How to invoice the shipping costs to the customer?
==================================================
Invoice the price set on the sale order
---------------------------------------
On your sale order, choose the carrier that will be used. Click on
**Delivery Method** to choose the right one.
.. image:: invoicing/invoicing06.png
:align: center :align: center
:alt: Enable the "Delivery Methods" feature in Settings.
The price is computed when you **save** the sale order or when you click on Add shipping method
**Set price**. ===================
To invoice the price of the delivery charge on the sale order, click on Next, configure the the price of each delivery method by going to :menuselection:`Inventory app -->
**Set price**, it will add a line with the name of the delivery method as Configuration --> Shipping Methods` and click the :guilabel:`Create` button. Doing so opens a form
a product. It may vary from the real price. to provide details about the shipping provider, including:
When you create the invoice, it will take the price set on the sale - :guilabel:`Shipping Method` (*required*) the name of the delivery method (e.g. `flat-rate
order. shipping`, `same day delivery`, etc.).
- :guilabel:`Provider` (*required*): choose the delivery service, like FedEx, if using a
.. image:: invoicing/invoicing01.png third-party carrier Ensure the integration with the shipping carrier is properly installed and
:align: center select the provider from the drop-down menu.
Invoice the real shipping costs
-------------------------------
On your sale order, choose the carrier that will be used. Click on
**Delivery Method** to choose the right one.
.. image:: invoicing/invoicing05.png
:align: center
The price is computed when you **save** the sale order. Confirm the sale
order and proceed to deliver the product.
The real shipping cost is computed when the delivery order is
validated, you can see the real cost in the chatter of the delivery order.
.. image:: invoicing/invoicing02.png
:align: center
Go back to the sale order, the real cost is now added to the sale
order.
.. image:: invoicing/invoicing03.png
:align: center
When you create the invoice, it will take the price computed by the
carrier.
.. image:: invoicing/invoicing04.png
:align: center
.. note::
If you split the delivery and make several ones, each delivery
order will add a line to the sale order.
.. seealso:: .. seealso::
* :doc:`../setup_configuration/third_party_shipper` :doc:`../setup_configuration/third_party_shipper`
* :doc:`labels`
- :guilabel:`Company`: if the shipping method should apply to a specific company, select it from the
drop-down menu. Leave the field blank to apply the method to all companies.
- :guilabel:`Website`: configure shipping methods for an e-commerce page. Select the applicable
website from the drop-down menu, or leave it blank to apply the method to all web pages.
- :guilabel:`Delivery Product` (*required*): the product listed on the :ref:`sales order line
<inventory/shipping/invoice-on-so>` as the delivery charge.
- :guilabel:`Free if order amount is above`: checking this box enables free shipping if the customer
spends above the specified amount.
.. _inventory/shipping/invoice-so:
Invoice cost on sales order
===========================
To invoice shipping costs on the sales order, before the item is delivered, go to the
:menuselection:`Sales app` and select the desired sales order.
On the sales order, click the :guilabel:`Add Shipping` button at the bottom-right corner.
.. image:: invoicing/add-shipping.png
:align: center
:alt: Click "Add Shipping" button at the bottom right, near the total.
In the :guilabel:`Add a shipping method` pop-up window, choose the intended carrier in the
:guilabel:`Shipping Method` field.
Then, click the :guilabel:`Get Rate` button to the calculate shipping price based on real-time
shipping data Odoo's shipping carrier integration.
The :guilabel:`Cost` is automatically calculated using the weight of the items in the order.
Finally, click the :guilabel:`Add` button to close the window.
.. image:: invoicing/add-a-shipping-method.png
:align: center
:alt: Calculate shipping by selecting a shipping method.
.. _inventory/shipping/invoice-on-so:
On the sales order, the delivery product appears in the :guilabel:`Order Lines` tab, with the
:guilabel:`Unit Price` set as the shipping cost calculated in the :guilabel:`Add a shipping method`
pop-up window.
.. image:: invoicing/delivery-product.png
:align: center
:alt: Show delivery product on the sales order line.
Finally, after the product is delivered, click the :guilabel:`Create invoice` button, and an invoice
is created that includes the shipping cost that was added earlier.
.. image:: invoicing/create-invoice.png
:align: center
:alt: Show "Create Invoice" button.
Then, click the :guilabel:`Create and View Invoice` button, and a draft invoice is generated, with
the shipping cost included in the :guilabel:`Invoice Lines` tab.
.. image:: invoicing/invoice-line.png
:align: center
:alt: Show delivery product in the invoice line.
.. _inventory/shipping/invoice-shipping:
Invoice real shipping costs
===========================
To modify the invoice to reflect the real cost of shipping, follow the steps :ref:`above
<inventory/shipping/invoice-so>` to create an invoice with a delivery product with a :guilabel:`Unit
Price` of zero.
Then, on a draft invoice, modify the :guilabel:`Unit Price` to reflect the real shipping cost.
Finally, invoice the customer the adjusted shipping cost by clicking :guilabel:`Confirm`.
.. image:: invoicing/invoice-cost.png
:align: center
:alt: Show delivery product on the invoice line.
.. seealso::
- :doc:`../setup_configuration/third_party_shipper`
- :doc:`labels`