This doc describe the whole process of invoicing in FreedomCoop. It should detail the workflows, user roles, user permissions, translations, etc. This is not a tech doc but a description about how the future apps should work and what features are a must, desired, or optionals.
Customer: Organization or person invoiced. It receives the invoice and make a payment.
Partner: FreedomCoop partner wich wants to make an invoice to Customer.
Manager: FreedomCoop worker.
Admin: Supersuser, tech, issues, new features,...
## Workflow
### From partner to invoice
* A partner creates the invoice. He/she creates the customer if is not already created. Invoice is in state "draft". An email is send to managers group.
### From invoice to confirm payment customer
* Manager validates the invoice. How do they send the email? do It should send to customer or to partner?
### From confirm payment customer to partner payment
## Roles and permissions
### Admin
* RCWD all data
* Tech permissions and access
### Manager
* RWCD all customers and partners
* Validates/cancel/payment invoices
* Make,send and pay reversal invoice
### Partner
* Create customers
* read/write only own customers
* Do not read another partner
* Only can create invoices (no validate/Cancel/payment)
### Customer
* Only can see their own invoices and the partner data wich has invoiced him/her.