Invoices

There are a wide range of problems associated with invoices generated by OFN and they have been discussed many times- both here and in github issues.
I wondered if it would be good to have a thread where we can list all the problems in one place.

As food hubs grow and prosper on OFN the more sustainable the platform becomes. We want to keep large food hubs engaged with OFN rather than moving onto different software platforms when they reach a critical size. One of the main limitations of our software at the moment, in terms of what the large users need, is legal and compliant invoicing.

In some respects, since the current invoices generated by OFN are not legal and hence require hubs to do extra work to amend them appropriately, is there an argument for removing the invoice option from Reports/Orders and instead improving guides to integrate OFN with outside accounting software (such as Xero or Quick Books)?

Issues which need to be resolved:

  1. Tracing amendments to orders
    Trace order amendments through invoice lines and generate legally compliant invoices
    https://github.com/openfoodfoundation/openfoodnetwork/issues/4203

  2. VAT/tax documentation on invoices
    https://github.com/openfoodfoundation/openfoodnetwork/issues/4161 relates to TAX on enterprise fees which are flat percent rate
    Also for flat rate (per order) enterprise fees no VAT is documented on the invoice.
    VAT rounding on invoices
    https://github.com/openfoodfoundation/openfoodnetwork/issues/1500

Thoughts? Please add further problems if you are aware of them.