-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing process bill payments (#519)
* Changing process bill payments * comment resolved and test fix * dec code cov
- Loading branch information
1 parent
564cdda
commit 8de7a23
Showing
5 changed files
with
66 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,34 @@ | ||
data = { | ||
'expense':[{ | ||
"id": 1, | ||
"employee_email": "[email protected]", | ||
"employee_name": None, | ||
"category": "Accounts Payable", | ||
"sub_category": "Accounts Payable", | ||
"project": None, | ||
"project_id": None, | ||
"org_id": "or79Cob97KSh", | ||
"expense_id": "txjvDntD9ZXR", | ||
"expense_number": "E/2021/11/T/11", | ||
"claim_number": "C/2021/11/R/5", | ||
"amount": 50.0, | ||
"currency": "USD", | ||
"foreign_amount": None, | ||
"foreign_currency": None, | ||
"tax_amount": None, | ||
"tax_group_id": None, | ||
"settlement_id": "set6GUp6tcEEp", | ||
"reimbursable": True, | ||
"billable": None, | ||
"state": "PAID", | ||
"vendor": None, | ||
"cost_center": "Treasury", | ||
"purpose": None, | ||
"report_id": "rpuN3bgphxbK", | ||
"report_title": None, | ||
"corporate_card_id": None, | ||
"file_ids": None | ||
}], | ||
'bill_payload': {'WHENCREATED': '9/28/2022', 'SUPDOCID': None, 'VENDORID': 'Ashwin', 'RECORDID': 'Reimbursable expense - C/2022/09/R/21', 'WHENDUE': '9/28/2022', 'BASECURR': 'USD', 'CURRENCY': 'USD', 'EXCH_RATE_TYPE_ID': None, 'APBILLITEMS': {'APBILLITEM': [{'CLASS': 'sample', 'ACCOUNTNO': '20100', 'TRX_AMOUNT': 0.0, 'TOTALTRXAMOUNT': 21.0, 'TASKID': None, 'COSTTYPEID': None, 'ENTRYDESCRIPTION': '[email protected] - Food - 2022-09-20 - C/2022/09/R/21 - - https://staging.fyle.tech/app/admin/#/enterprise/view_expense/txR9dyrqr1Jn?org_id=or79Cob97KSh', 'LOCATIONID': '600', 'DEPARTMENTID': '300', 'PROJECTID': '10061', 'CUSTOMERID': '10061', 'ITEMID': None, 'CLASSID': '600', 'BILLABLE': False, 'TAXENTRIES': {'TAXENTRY': {'DETAILID': 'Capital Goods Imported'}}, 'customfields': {'customfield': [{'customfieldname': 'FYLE_EXPENSE_URL', 'customfieldvalue': 'https://staging.fyle.tech/app/admin/#/enterprise/view_expense/txR9dyrqr1Jn?org_id=or79Cob97KSh'}]}, 'INCLUSIVETAX': True, 'TAXSOLUTIONID': 'South Africa - VAT'}]}}, | ||
'expense_report_payload': { | ||
'employeeid': 'Joanna', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters