Utils
hypha.apply.projects.services.sageintacct.utils
¶
fetch_deliverables
¶
Fetch deliverables from IntAcct using the program project id(DEPARTMENTID).
Returns a list of deliverables or an empty list.
Also logs any error that occurred during the API call.
Source code in hypha/apply/projects/services/sageintacct/utils.py
get_deliverables_json
¶
Get a json format of deliverables attached to the invoice.
Used when creating invoice in IntAcct.
Source code in hypha/apply/projects/services/sageintacct/utils.py
create_intacct_invoice
¶
Creates a Contract Invoice Release at IntAcct.
Note that the order of field send in the query is important.
API call may also fail if the order of the field is not correct.
Source code in hypha/apply/projects/services/sageintacct/utils.py
fetch_project_details
¶
Fetch detail of a project contract from IntAcct.
These details will be further used to fetch deliverables and create invoices.