With cash on delivery, the courier collects your money and pays it out later, minus fees, for orders that were delivered. Returns, partial deliveries and fees make the payout hard to match to orders.
FlexCode Middle East is part of FlexCode Systems GmbH, an Odoo Silver Partner. We implement Odoo, and our own apps are mentioned where they fit.
Key points
- Courier as a customer. Treat money held by the courier as a receivable from the courier.
- Match by AWB. Every order carries its tracking number into Odoo.
- Fees on their own line. Shipping and collection fees are booked, not netted away.
Integrates with



The order to cash flow
- The order arrives from Shopify into Odoo as a sales order.
- Odoo creates the Bosta shipment and prints the label.
- Delivery status syncs back automatically.
- Delivered orders are invoiced, and the amount moves to a courier receivable account.
- The courier payout is matched against those orders, with fees booked separately.
Returns and failed deliveries

A refused order comes back to the warehouse and must not be invoiced. Keep the delivery status as the trigger for invoicing, and receive the returned stock as soon as it arrives, so your stock and your receivables stay true.
Online payments next to cash
Card and wallet payments through gateways such as Paymob or Fawry settle on their own schedule, also net of fees. Use one clearing account per gateway and match each settlement report to its orders, the same way you match the courier.
The numbers to watch weekly
- Cash held by each courier and how old it is.
- Return rate by city and by product.
- Fees as a share of revenue.
Connect Shopify, Bosta and Odoo
Our Shopify Connector and Bosta Shipping apps automate the flow, and we set up the reconciliation.
Frequently asked questions
Do I invoice when the order is placed or when it is delivered?
For cash on delivery, invoice on delivery. It keeps refused orders out of your revenue.
Can Odoo create Bosta shipments?
Yes, with our Bosta Shipping app, including labels and tracking.
What about other couriers?
The accounting method is the same. We connect other couriers through their APIs.
Talk to us about how Odoo fits your business. Book a free call
This article explains the rules in general terms and is not tax or legal advice. Check the details for your company with your tax adviser.
Run invoicing, stock and accounts from one system.
FlexCode Middle East implements Odoo in Arabic and English, with e-invoicing set up for Egypt, Saudi Arabia and the UAE.