The steps involved in invoice creation and processing are:
A user asks for an invoice to be generated upon checkout and provides a purchase order number. An
invoiceRequestpayment group is created and attached to the order. See the Invoices in Checkout section. At this time, processors in the commerce pipeline validate theinvoiceRequest, allowing checkout to proceed. For more information on these processors, see the Configuring Purchase Process Services chapter in this manual.When the order is fulfilled, the
PaymentManagerdebits its payment groups. For invoices, thePaymentManagerperforms a debit by calling on theInvoiceManagerto generate a newInvoiceobject, just as with credit cards thePaymentManagerperforms a debit by contacting a billing service to bill the credit card.The
Invoiceis created and stored in the Invoice repository.JMS messages are generated informing the Dynamo Scenario Manager and any other modules you designate that an invoice has been created.
The rest of this chapter explains the pieces involved in invoice processing, in the order they are mentioned above.

