From commitment to cash
A confirmed sales order is a promise. The delivery keeps the promise, and the invoice asks for payment. This module connects the warehouse side and the accounting side of the sales flow.
In Odoo, the sales order remains the center of the story. The delivery order and the invoice are generated from it and linked back to it. You can open the sales order and see the delivery status and the invoice status without hunting through separate screens.
Order-to-cash in one sentence: confirm the order, deliver the goods, invoice the customer, register the payment, and reconcile the invoice. Each step has its own document and its own status.
Learning objectives
By the end of this module, you should be able to:
- Process a delivery from a confirmed sales order.
- Check stock availability and reserve stock.
- Handle a partial delivery and create a backorder.
- Create an invoice from a sales order or a delivery.
- Register a customer payment and confirm that the invoice is paid.
- Explain the difference between a draft invoice, a posted invoice, and a paid invoice.
Core concepts
Delivery orders
A delivery order is the warehouse document that moves stock from the warehouse to the customer. It is generated from a confirmed sales order. It has its own status: draft, waiting, ready, or done. The sales order shows the delivery status through a smart button or a status field.
Reservation, partial delivery, and backorders
Reservation means Odoo has set aside stock for the order. If the full quantity is available, the delivery can be validated in one step. If only part is available, you can deliver what you have and create a backorder for the rest. The backorder remains linked to the same sales order.
Do not validate a delivery to "clear" it. Validate only the quantity that actually leaves the warehouse. A wrong delivery quantity affects stock, the customer, and the invoice. If you are unsure, stop and ask the warehouse manager.
Invoicing policy
Odoo can invoice based on what was ordered or based on what was delivered. The policy is set on the product or the sales order. For a small distribution company, invoicing on delivered quantities is usually the safer default because the invoice matches what actually shipped. The bookkeeper should confirm the policy with the owners.
Invoice states
| State | What it means |
|---|---|
| Draft | The invoice exists but has not been posted. It can still be edited. |
| Posted | The invoice is final and affects the accounting. It should not be edited without a credit note. |
| Paid | The invoice has been fully paid and reconciled. |
| Cancelled | The invoice has been cancelled and no longer affects the balance. |
Payments and reconciliation
A payment records the money received from the customer. When you register a payment against an invoice, Odoo links the payment to the invoice and marks the invoice as paid when the amounts match. This is called reconciliation. If the payment is partial, the invoice remains partially paid.
Walkthrough
Follow along in the sandbox. Use the sales order you confirmed in Module 3, or create a new one if your sandbox was reset.
-
Open the confirmed sales order
Open the Sales app and find your confirmed sales order. Read the status and the smart buttons. You should see links for the delivery and the invoice. If a delivery was not created automatically, check the product type and the sales order configuration with the facilitator.
-
Open the delivery order
Click the delivery smart button. Review the delivery lines and the quantities. The delivery order shows what is expected to leave the warehouse. Check the source location and the destination. For a customer delivery, the destination is the customer address.
-
Check availability and reserve stock
Use the availability check or the reserve action if it is available. Odoo shows whether the stock is available. If the stock is not available, you can still deliver what is on hand and create a backorder for the rest. Do not force a quantity that is not physically in the warehouse.
-
Validate the delivery
Click Validate. If the full quantity is available, the delivery is marked as done. If only part is available, Odoo asks whether to create a backorder. Choose the option that matches the real shipment. For this exercise, validate the full quantity if the sandbox has enough stock.
-
Create or review the invoice
Return to the sales order and open the invoice. If an invoice draft exists, review it. If not, use the create invoice action. Check the customer, the invoice lines, the quantities, the taxes, and the totals. The invoice should match the delivered or ordered quantities according to the invoicing policy.
-
Post the invoice
Confirm the invoice. The state changes from draft to posted. Once posted, the invoice affects the accounting. If you find a mistake after posting, do not edit the posted invoice. Speak to the bookkeeper about a credit note or a correction.
-
Register the payment
Use the register payment action on the invoice. Choose the payment journal, the amount, and the payment date. For this exercise, pay the full amount. Confirm the payment. Odoo creates the payment record and reconciles it against the invoice.
-
Verify the result
Return to the invoice and confirm that it is marked as paid. Return to the sales order and confirm that the delivery and invoice statuses are updated. Open the chatter and note the history. This is the complete order-to-cash trail for one order.
Exercise
Deliver, invoice, and get paid
Complete these steps on your own in the sandbox.
- Open a confirmed sales order with at least one storable product line.
- Open the delivery order and check the availability.
- Validate the delivery for the full quantity if stock is available. If not, validate a partial quantity and create a backorder.
- Create or review the invoice and confirm that the lines and taxes match the order.
- Post the invoice.
- Register a full payment against the invoice.
- Confirm that the invoice is paid and that the sales order shows the delivery and invoice status.
Expected result: the delivery is done, the invoice is posted and paid, and the sales order shows the completed flow. The chatter records the delivery validation and the payment.
Check your understanding
Answer these questions before moving to the next module. Open each answer to check yourself.
1. What is a backorder?
A backorder is the remaining quantity of a delivery that could not be shipped at the same time. It stays linked to the original sales order so the rest can be delivered later.
2. What is the difference between a posted invoice and a paid invoice?
A posted invoice is final and affects the accounting, but it is still unpaid. A paid invoice has a payment registered against it and has been reconciled, so the customer no longer owes the amount.
3. Why does the invoicing policy matter?
The policy decides whether you invoice what was ordered or what was delivered. It affects the timing of revenue and the match between the invoice and the shipment. The bookkeeper and owners should agree on the policy before go-live.
4. What should you do if you find a mistake on a posted invoice?
Do not edit the posted invoice. Speak to the bookkeeper about a credit note or a correction. Posted accounting documents are meant to be corrected with a new document, not by editing history.
5. Why should you validate only the quantity that actually shipped?
Validating the wrong quantity changes the stock balance and can lead to incorrect invoices and unhappy customers. The delivery document should match the physical shipment.
Facilitator notes
Suggested timing: 15 minutes concepts, 30 minutes guided walkthrough, 35 minutes exercise, 10 minutes questions and close. The bookkeeper should demonstrate the payment step, and the sales team should demonstrate the delivery step.
- Before the session, confirm that the sandbox has enough stock to validate at least one full delivery.
- If stock is limited, prepare a partial delivery scenario so learners can see a backorder.
- Watch for invoices posted before the delivery is validated. That is valid under some policies, but it confuses learners. Explain the policy first.
- Have the bookkeeper explain the invoice states and the payment reconciliation. This is a good cross-training moment.
- Do not let learners cancel posted invoices or delete payments. If they make a mistake, use the sandbox reset or ask the facilitator.
Next steps
You can now complete the main sales flow. The next module covers returns, credit notes, and sales reporting, which are the exception paths you will need when a customer sends something back.