Invoice shipped
o2c_invoice_shippedIssue an invoice for everything shipped on this order and not yet billed. We bill what shipped, never what was ordered. That single rule is what keeps AR reconcilable: every invoice line traces to a delivery line, and an order that shipped in three parts produces three invoices, not one guess.
The due date comes from the customer's terms. Do not pass a due date; if the terms are wrong, fix the terms. Effects: invoice created; order_line.qty_invoiced increased; order.status -> closed when fully billed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | The order to bill. An existing order id. |