

Example: if order was created on 10 Feb it would be billed/invoiced on the 1 March for the hours between 10 - 28 Feb and again on the 1 April etc, if cancelled anytime, same 'Pro-rata' logic as for the first month applies. Our invoicing is done on the first of every month for the previous month's usage and orders are billed per hour.
#PRODUCT DATABASE IN SIMPLE INVOICES HOW TO#
How to retrieve orders due for invoicing and determine the billing period? Is it sensible to store invoice 'totals' in the db?Ĭurrently when invoice is produced, it's totals - :invoice/vat-amount, :invoice/total-inclusive and :invoice/total-exclusive are stored on the entity, but can be calculated from :invoice/items ? 2. Invoice-item :invoice-item/description string Invoice :invoice/date instant date/time when invoice was created :order/invoice-date instant last invoice date :order/date instant order creation date/time Can you show me how to put together something quick and simple I just need to be able to invoice my customers for a few products and my labor. I am looking to create a simple CRM for a. Order :order/status keyword :active or :cancelled How to generate invoice from account workbook, pulling data from product database / excel sheet (Group of cells). We use datomic for our db and clojure in the backend. This database has the following four tables: Well write a POJO. We are in the process of redesigning and improving (normalising data, tuning preformance, eliminating complexity where possible) our billing system, and need help understanding best practices around storing vs calculating some values in ordering and invoicing processes. In the context of the book ZUGFeRD: The Future of Invoicing, we need a simple invoice database.
