tbusainvoicegen/README.md

23 lines
829 B
Markdown
Raw Normal View History

2019-06-28 22:11:04 +00:00
# Timebanks USA Invoice Generator
2019-06-28 20:54:40 +00:00
2019-06-28 22:11:04 +00:00
This extension will generate invoices for Community Weaver 3 for a specified billing period,
automatically determining which timebanks need an invoice and calculating the amount.
2019-06-28 20:54:40 +00:00
The extension is licensed under [AGPL-3.0](LICENSE.txt).
## Requirements
2019-06-28 22:11:04 +00:00
* PHP v5.5+
* CiviCRM 5.7+
2019-06-28 20:54:40 +00:00
## Usage
2019-06-28 22:11:04 +00:00
There is no UI for now. Instead:
* Go to **Support menu » Developer » API Explorer**.
* Set *Entity* to **Invoicegen** and *Action* to **Generate**.
* Enter a billing period in the following format: "2019-2"
* First number is the year; second is 1 for Jan-Jun, 2 for Jul-Dec.
* Optionally, select **Add Parameter** and select a single contact ID. If you don't, all timebanks eligible to receive an invoice in this billing period will receive one (unless it already exists).
* Press **Execute**.