• improve visibility of amendments: generate new invoice (with new invoice number)

    -Through the chained invoices, we can have the traceability. We could even display the events in the last invoices of the chain.

    -We create a simple invoice data structure with order ID, Invoice ID, status, invoice lines (created from line items), timestamp, etc. And invoices are linked with one another when a new invoice is associated to the same order, cancel and replace the precedent.

    -A new order is generated in a web page. Each modification made to the order generates a new invoice

    -The first invoice is automatically generated (when order is complete), and then, modification happens, but a new invoice is generated (with all the gaps captured at once) on demand, if/when the hub click on “print/send invoice”.

  • Amendments should appear when:

    -A product is deleted (through BOM or single order edit)

    -A product is added

    -A product weight or volume has changed through BOM

    -A product quantity has changed (through BOM or single order edit)

  • Some users want to be able to put a note with an Order Amendment

  • French law requires to make invoice numbers sequential (seller should get a dedicated series for their sequence)

  • We need invoice numbers to differ from order number as multiple invoices can be issued for the same order.

  • make decision on whether to display unavailable products to sellers when they are producing the invoice