How online-invoices work