We need a system which reads and saves all invoice related order and customer-data via the shopify-api to a database. All the data from the past should be included and all the new orders coming in. After that, pdf-invoices and credit-notes should be generated for each order.
This should be made for all the past orders and the new ones coming in every day.
The invoices should be saved to a logically directory like /year/month/day/[login to view URL]
In addition to that, there should be a way to generate credit-notes manually.
To manage that there should be the possibility to type in the order-id, after that the customer and order-data should written into the credit-note and the credit-amount should be entered manually.
The pdf-invoices need to include the following data:
-shop company and address (this varies due to address-changes in the past, depending on order-date)
-customer-name and address and country
-invoice-date (should be the order-date)
-order-date (should be the order-date)
-payment-date (should be the order-date)
-Paymentmethod (paypal or creditcard etc.)
-invoice-number or credit-number (should be start with 1 for the first order or the first credit etc and ongoing)
-order-id (should be the order-id)
-articel-name with quantity, price per unit and sum)
-sum of all articels
-vat (varies depending on customer-country and date due to vat-changes in the past)
I can provide a digitalocean vps for development.
There are about 170k of invoices from the past that needs to be generated and about 100 new ones per day.