@codat/lending 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +20 -0
- package/dist/internal/utils/contenttype.d.ts +1 -0
- package/dist/internal/utils/contenttype.js +33 -0
- package/dist/internal/utils/headers.d.ts +4 -0
- package/dist/internal/utils/headers.js +92 -0
- package/dist/internal/utils/index.d.ts +8 -0
- package/dist/internal/utils/index.js +27 -0
- package/dist/internal/utils/pathparams.d.ts +2 -0
- package/dist/internal/utils/pathparams.js +53 -0
- package/dist/internal/utils/queryparams.d.ts +2 -0
- package/dist/internal/utils/queryparams.js +178 -0
- package/dist/internal/utils/requestbody.d.ts +2 -0
- package/dist/internal/utils/requestbody.js +318 -0
- package/dist/internal/utils/retries.d.ts +20 -0
- package/dist/internal/utils/retries.js +250 -0
- package/dist/internal/utils/security.d.ts +2 -0
- package/dist/internal/utils/security.js +188 -0
- package/dist/internal/utils/utils.d.ts +37 -0
- package/dist/internal/utils/utils.js +370 -0
- package/dist/sdk/accountingbankdata.d.ts +51 -0
- package/dist/sdk/accountingbankdata.js +303 -0
- package/dist/sdk/accountspayable.d.ts +209 -0
- package/dist/sdk/accountspayable.js +1210 -0
- package/dist/sdk/accountsreceivable.d.ts +289 -0
- package/dist/sdk/accountsreceivable.js +1689 -0
- package/dist/sdk/cashflow.d.ts +112 -0
- package/dist/sdk/cashflow.js +628 -0
- package/dist/sdk/companies.d.ts +52 -0
- package/dist/sdk/companies.js +446 -0
- package/dist/sdk/companyinfo.d.ts +27 -0
- package/dist/sdk/companyinfo.js +220 -0
- package/dist/sdk/connections.d.ts +49 -0
- package/dist/sdk/connections.js +444 -0
- package/dist/sdk/dataintegrity.d.ts +45 -0
- package/dist/sdk/dataintegrity.js +297 -0
- package/dist/sdk/excelreports.d.ts +52 -0
- package/dist/sdk/excelreports.js +311 -0
- package/dist/sdk/fileupload.d.ts +42 -0
- package/dist/sdk/fileupload.js +321 -0
- package/dist/sdk/financials.d.ts +75 -0
- package/dist/sdk/financials.js +559 -0
- package/dist/sdk/index.d.ts +1 -0
- package/dist/sdk/index.js +20 -0
- package/dist/sdk/liabilities.d.ts +35 -0
- package/dist/sdk/liabilities.js +229 -0
- package/dist/sdk/managedata.d.ts +52 -0
- package/dist/sdk/managedata.js +414 -0
- package/dist/sdk/models/errors/index.d.ts +1 -0
- package/dist/sdk/models/errors/index.js +20 -0
- package/dist/sdk/models/errors/sdkerror.d.ts +7 -0
- package/dist/sdk/models/errors/sdkerror.js +40 -0
- package/dist/sdk/models/operations/createcompany.d.ts +16 -0
- package/dist/sdk/models/operations/createcompany.js +83 -0
- package/dist/sdk/models/operations/createconnection.d.ts +23 -0
- package/dist/sdk/models/operations/createconnection.js +113 -0
- package/dist/sdk/models/operations/deletecompany.d.ts +15 -0
- package/dist/sdk/models/operations/deletecompany.js +91 -0
- package/dist/sdk/models/operations/deleteconnection.d.ts +16 -0
- package/dist/sdk/models/operations/deleteconnection.js +95 -0
- package/dist/sdk/models/operations/downloadaccountingbillattachment.d.ts +28 -0
- package/dist/sdk/models/operations/downloadaccountingbillattachment.js +107 -0
- package/dist/sdk/models/operations/downloadaccountingcustomerattachment.d.ts +25 -0
- package/dist/sdk/models/operations/downloadaccountingcustomerattachment.js +107 -0
- package/dist/sdk/models/operations/downloadaccountingdirectcostattachment.d.ts +28 -0
- package/dist/sdk/models/operations/downloadaccountingdirectcostattachment.js +107 -0
- package/dist/sdk/models/operations/downloadaccountingdirectincomeattachment.d.ts +28 -0
- package/dist/sdk/models/operations/downloadaccountingdirectincomeattachment.js +107 -0
- package/dist/sdk/models/operations/downloadaccountinginvoiceattachment.d.ts +28 -0
- package/dist/sdk/models/operations/downloadaccountinginvoiceattachment.js +107 -0
- package/dist/sdk/models/operations/downloadaccountinginvoicepdf.d.ts +18 -0
- package/dist/sdk/models/operations/downloadaccountinginvoicepdf.js +71 -0
- package/dist/sdk/models/operations/downloadaccountingsupplierattachment.d.ts +28 -0
- package/dist/sdk/models/operations/downloadaccountingsupplierattachment.js +107 -0
- package/dist/sdk/models/operations/downloadexcelreport.d.ts +20 -0
- package/dist/sdk/models/operations/downloadexcelreport.js +99 -0
- package/dist/sdk/models/operations/downloadfiles.d.ts +23 -0
- package/dist/sdk/models/operations/downloadfiles.js +99 -0
- package/dist/sdk/models/operations/generateexcelreport.d.ts +23 -0
- package/dist/sdk/models/operations/generateexcelreport.js +99 -0
- package/dist/sdk/models/operations/getaccountingaccount.d.ts +23 -0
- package/dist/sdk/models/operations/getaccountingaccount.js +99 -0
- package/dist/sdk/models/operations/getaccountingaccounttransaction.d.ts +21 -0
- package/dist/sdk/models/operations/getaccountingaccounttransaction.js +103 -0
- package/dist/sdk/models/operations/getaccountingagedcreditorsreport.d.ts +32 -0
- package/dist/sdk/models/operations/getaccountingagedcreditorsreport.js +108 -0
- package/dist/sdk/models/operations/getaccountingageddebtorsreport.d.ts +32 -0
- package/dist/sdk/models/operations/getaccountingageddebtorsreport.js +108 -0
- package/dist/sdk/models/operations/getaccountingbalancesheet.d.ts +28 -0
- package/dist/sdk/models/operations/getaccountingbalancesheet.js +107 -0
- package/dist/sdk/models/operations/getaccountingbankaccount.d.ts +24 -0
- package/dist/sdk/models/operations/getaccountingbankaccount.js +103 -0
- package/dist/sdk/models/operations/getaccountingbill.d.ts +23 -0
- package/dist/sdk/models/operations/getaccountingbill.js +99 -0
- package/dist/sdk/models/operations/getaccountingbillattachment.d.ts +28 -0
- package/dist/sdk/models/operations/getaccountingbillattachment.js +107 -0
- package/dist/sdk/models/operations/getaccountingbillcreditnote.d.ts +20 -0
- package/dist/sdk/models/operations/getaccountingbillcreditnote.js +99 -0
- package/dist/sdk/models/operations/getaccountingbillpayment.d.ts +20 -0
- package/dist/sdk/models/operations/getaccountingbillpayment.js +99 -0
- package/dist/sdk/models/operations/getaccountingcashflowstatement.d.ts +28 -0
- package/dist/sdk/models/operations/getaccountingcashflowstatement.js +107 -0
- package/dist/sdk/models/operations/getaccountingcompanyinfo.d.ts +19 -0
- package/dist/sdk/models/operations/getaccountingcompanyinfo.js +95 -0
- package/dist/sdk/models/operations/getaccountingcreditnote.d.ts +20 -0
- package/dist/sdk/models/operations/getaccountingcreditnote.js +99 -0
- package/dist/sdk/models/operations/getaccountingcustomer.d.ts +20 -0
- package/dist/sdk/models/operations/getaccountingcustomer.js +99 -0
- package/dist/sdk/models/operations/getaccountingcustomerattachment.d.ts +25 -0
- package/dist/sdk/models/operations/getaccountingcustomerattachment.js +107 -0
- package/dist/sdk/models/operations/getaccountingdirectcost.d.ts +24 -0
- package/dist/sdk/models/operations/getaccountingdirectcost.js +103 -0
- package/dist/sdk/models/operations/getaccountingdirectcostattachment.d.ts +28 -0
- package/dist/sdk/models/operations/getaccountingdirectcostattachment.js +107 -0
- package/dist/sdk/models/operations/getaccountingdirectincome.d.ts +21 -0
- package/dist/sdk/models/operations/getaccountingdirectincome.js +103 -0
- package/dist/sdk/models/operations/getaccountingdirectincomeattachment.d.ts +29 -0
- package/dist/sdk/models/operations/getaccountingdirectincomeattachment.js +111 -0
- package/dist/sdk/models/operations/getaccountinginvoice.d.ts +23 -0
- package/dist/sdk/models/operations/getaccountinginvoice.js +99 -0
- package/dist/sdk/models/operations/getaccountinginvoiceattachment.d.ts +28 -0
- package/dist/sdk/models/operations/getaccountinginvoiceattachment.js +107 -0
- package/dist/sdk/models/operations/getaccountingjournal.d.ts +20 -0
- package/dist/sdk/models/operations/getaccountingjournal.js +99 -0
- package/dist/sdk/models/operations/getaccountingjournalentry.d.ts +20 -0
- package/dist/sdk/models/operations/getaccountingjournalentry.js +99 -0
- package/dist/sdk/models/operations/getaccountingpayment.d.ts +20 -0
- package/dist/sdk/models/operations/getaccountingpayment.js +99 -0
- package/dist/sdk/models/operations/getaccountingprofitandloss.d.ts +28 -0
- package/dist/sdk/models/operations/getaccountingprofitandloss.js +107 -0
- package/dist/sdk/models/operations/getaccountingsupplier.d.ts +23 -0
- package/dist/sdk/models/operations/getaccountingsupplier.js +99 -0
- package/dist/sdk/models/operations/getaccountingsupplierattachment.d.ts +28 -0
- package/dist/sdk/models/operations/getaccountingsupplierattachment.js +107 -0
- package/dist/sdk/models/operations/getaccountingtransfer.d.ts +21 -0
- package/dist/sdk/models/operations/getaccountingtransfer.js +103 -0
- package/dist/sdk/models/operations/getbankingaccount.d.ts +20 -0
- package/dist/sdk/models/operations/getbankingaccount.js +99 -0
- package/dist/sdk/models/operations/getbankingtransaction.d.ts +20 -0
- package/dist/sdk/models/operations/getbankingtransaction.js +99 -0
- package/dist/sdk/models/operations/getbankingtransactioncategory.d.ts +20 -0
- package/dist/sdk/models/operations/getbankingtransactioncategory.js +99 -0
- package/dist/sdk/models/operations/getcommercecompanyinfo.d.ts +20 -0
- package/dist/sdk/models/operations/getcommercecompanyinfo.js +99 -0
- package/dist/sdk/models/operations/getcommercecustomer.d.ts +24 -0
- package/dist/sdk/models/operations/getcommercecustomer.js +103 -0
- package/dist/sdk/models/operations/getcommercecustomerretentionmetrics.d.ts +40 -0
- package/dist/sdk/models/operations/getcommercecustomerretentionmetrics.js +119 -0
- package/dist/sdk/models/operations/getcommercedispute.d.ts +24 -0
- package/dist/sdk/models/operations/getcommercedispute.js +103 -0
- package/dist/sdk/models/operations/getcommercelifetimevaluemetrics.d.ts +40 -0
- package/dist/sdk/models/operations/getcommercelifetimevaluemetrics.js +119 -0
- package/dist/sdk/models/operations/getcommercelocation.d.ts +24 -0
- package/dist/sdk/models/operations/getcommercelocation.js +103 -0
- package/dist/sdk/models/operations/getcommerceorder.d.ts +24 -0
- package/dist/sdk/models/operations/getcommerceorder.js +103 -0
- package/dist/sdk/models/operations/getcommerceordersreport.d.ts +40 -0
- package/dist/sdk/models/operations/getcommerceordersreport.js +119 -0
- package/dist/sdk/models/operations/getcommercepayment.d.ts +24 -0
- package/dist/sdk/models/operations/getcommercepayment.js +103 -0
- package/dist/sdk/models/operations/getcommercepaymentmethod.d.ts +24 -0
- package/dist/sdk/models/operations/getcommercepaymentmethod.js +103 -0
- package/dist/sdk/models/operations/getcommerceproduct.d.ts +24 -0
- package/dist/sdk/models/operations/getcommerceproduct.js +103 -0
- package/dist/sdk/models/operations/getcommerceproductcategory.d.ts +24 -0
- package/dist/sdk/models/operations/getcommerceproductcategory.js +103 -0
- package/dist/sdk/models/operations/getcommercerefundsmetrics.d.ts +40 -0
- package/dist/sdk/models/operations/getcommercerefundsmetrics.js +119 -0
- package/dist/sdk/models/operations/getcommercerevenuemetrics.d.ts +40 -0
- package/dist/sdk/models/operations/getcommercerevenuemetrics.js +119 -0
- package/dist/sdk/models/operations/getcommercetransaction.d.ts +24 -0
- package/dist/sdk/models/operations/getcommercetransaction.js +103 -0
- package/dist/sdk/models/operations/getcompany.d.ts +19 -0
- package/dist/sdk/models/operations/getcompany.js +95 -0
- package/dist/sdk/models/operations/getconnection.d.ts +20 -0
- package/dist/sdk/models/operations/getconnection.js +99 -0
- package/dist/sdk/models/operations/getdataintegritystatus.d.ts +23 -0
- package/dist/sdk/models/operations/getdataintegritystatus.js +99 -0
- package/dist/sdk/models/operations/getdataintegritysummaries.d.ts +27 -0
- package/dist/sdk/models/operations/getdataintegritysummaries.js +103 -0
- package/dist/sdk/models/operations/getdatastatus.d.ts +19 -0
- package/dist/sdk/models/operations/getdatastatus.js +95 -0
- package/dist/sdk/models/operations/getenhancedbalancesheetaccounts.d.ts +27 -0
- package/dist/sdk/models/operations/getenhancedbalancesheetaccounts.js +103 -0
- package/dist/sdk/models/operations/getenhancedcashflowtransactions.d.ts +31 -0
- package/dist/sdk/models/operations/getenhancedcashflowtransactions.js +107 -0
- package/dist/sdk/models/operations/getenhancedinvoicesreport.d.ts +31 -0
- package/dist/sdk/models/operations/getenhancedinvoicesreport.js +107 -0
- package/dist/sdk/models/operations/getenhancedprofitandlossaccounts.d.ts +27 -0
- package/dist/sdk/models/operations/getenhancedprofitandlossaccounts.js +103 -0
- package/dist/sdk/models/operations/getexcelreportgenerationstatus.d.ts +23 -0
- package/dist/sdk/models/operations/getexcelreportgenerationstatus.js +99 -0
- package/dist/sdk/models/operations/getloansummary.d.ts +19 -0
- package/dist/sdk/models/operations/getloansummary.js +95 -0
- package/dist/sdk/models/operations/getpulloperation.d.ts +23 -0
- package/dist/sdk/models/operations/getpulloperation.js +99 -0
- package/dist/sdk/models/operations/index.d.ts +121 -0
- package/dist/sdk/models/operations/index.js +140 -0
- package/dist/sdk/models/operations/isagedcreditorsreportavailable.d.ts +14 -0
- package/dist/sdk/models/operations/isagedcreditorsreportavailable.js +67 -0
- package/dist/sdk/models/operations/isageddebtorreportavailable.d.ts +14 -0
- package/dist/sdk/models/operations/isageddebtorreportavailable.js +67 -0
- package/dist/sdk/models/operations/listaccountingaccounts.d.ts +35 -0
- package/dist/sdk/models/operations/listaccountingaccounts.js +111 -0
- package/dist/sdk/models/operations/listaccountingaccounttransactions.d.ts +36 -0
- package/dist/sdk/models/operations/listaccountingaccounttransactions.js +115 -0
- package/dist/sdk/models/operations/listaccountingbankaccounts.d.ts +36 -0
- package/dist/sdk/models/operations/listaccountingbankaccounts.js +115 -0
- package/dist/sdk/models/operations/listaccountingbankaccounttransactions.d.ts +40 -0
- package/dist/sdk/models/operations/listaccountingbankaccounttransactions.js +119 -0
- package/dist/sdk/models/operations/listaccountingbillattachments.d.ts +24 -0
- package/dist/sdk/models/operations/listaccountingbillattachments.js +103 -0
- package/dist/sdk/models/operations/listaccountingbillcreditnotes.d.ts +35 -0
- package/dist/sdk/models/operations/listaccountingbillcreditnotes.js +111 -0
- package/dist/sdk/models/operations/listaccountingbillpayments.d.ts +35 -0
- package/dist/sdk/models/operations/listaccountingbillpayments.js +111 -0
- package/dist/sdk/models/operations/listaccountingbills.d.ts +35 -0
- package/dist/sdk/models/operations/listaccountingbills.js +111 -0
- package/dist/sdk/models/operations/listaccountingcreditnotes.d.ts +35 -0
- package/dist/sdk/models/operations/listaccountingcreditnotes.js +111 -0
- package/dist/sdk/models/operations/listaccountingcustomerattachments.d.ts +21 -0
- package/dist/sdk/models/operations/listaccountingcustomerattachments.js +103 -0
- package/dist/sdk/models/operations/listaccountingcustomers.d.ts +35 -0
- package/dist/sdk/models/operations/listaccountingcustomers.js +111 -0
- package/dist/sdk/models/operations/listaccountingdirectcostattachments.d.ts +24 -0
- package/dist/sdk/models/operations/listaccountingdirectcostattachments.js +103 -0
- package/dist/sdk/models/operations/listaccountingdirectcosts.d.ts +36 -0
- package/dist/sdk/models/operations/listaccountingdirectcosts.js +115 -0
- package/dist/sdk/models/operations/listaccountingdirectincomeattachments.d.ts +24 -0
- package/dist/sdk/models/operations/listaccountingdirectincomeattachments.js +103 -0
- package/dist/sdk/models/operations/listaccountingdirectincomes.d.ts +36 -0
- package/dist/sdk/models/operations/listaccountingdirectincomes.js +115 -0
- package/dist/sdk/models/operations/listaccountinginvoiceattachments.d.ts +24 -0
- package/dist/sdk/models/operations/listaccountinginvoiceattachments.js +103 -0
- package/dist/sdk/models/operations/listaccountinginvoices.d.ts +35 -0
- package/dist/sdk/models/operations/listaccountinginvoices.js +111 -0
- package/dist/sdk/models/operations/listaccountingjournalentries.d.ts +35 -0
- package/dist/sdk/models/operations/listaccountingjournalentries.js +111 -0
- package/dist/sdk/models/operations/listaccountingjournals.d.ts +35 -0
- package/dist/sdk/models/operations/listaccountingjournals.js +111 -0
- package/dist/sdk/models/operations/listaccountingpayments.d.ts +35 -0
- package/dist/sdk/models/operations/listaccountingpayments.js +111 -0
- package/dist/sdk/models/operations/listaccountingsupplierattachments.d.ts +24 -0
- package/dist/sdk/models/operations/listaccountingsupplierattachments.js +103 -0
- package/dist/sdk/models/operations/listaccountingsuppliers.d.ts +35 -0
- package/dist/sdk/models/operations/listaccountingsuppliers.js +111 -0
- package/dist/sdk/models/operations/listaccountingtransfers.d.ts +36 -0
- package/dist/sdk/models/operations/listaccountingtransfers.js +115 -0
- package/dist/sdk/models/operations/listbankingaccountbalances.d.ts +36 -0
- package/dist/sdk/models/operations/listbankingaccountbalances.js +115 -0
- package/dist/sdk/models/operations/listbankingaccounts.d.ts +36 -0
- package/dist/sdk/models/operations/listbankingaccounts.js +115 -0
- package/dist/sdk/models/operations/listbankingtransactioncategories.d.ts +36 -0
- package/dist/sdk/models/operations/listbankingtransactioncategories.js +115 -0
- package/dist/sdk/models/operations/listbankingtransactions.d.ts +36 -0
- package/dist/sdk/models/operations/listbankingtransactions.js +115 -0
- package/dist/sdk/models/operations/listcommercecustomers.d.ts +36 -0
- package/dist/sdk/models/operations/listcommercecustomers.js +115 -0
- package/dist/sdk/models/operations/listcommercedisputes.d.ts +36 -0
- package/dist/sdk/models/operations/listcommercedisputes.js +115 -0
- package/dist/sdk/models/operations/listcommercelocations.d.ts +20 -0
- package/dist/sdk/models/operations/listcommercelocations.js +99 -0
- package/dist/sdk/models/operations/listcommerceorders.d.ts +36 -0
- package/dist/sdk/models/operations/listcommerceorders.js +115 -0
- package/dist/sdk/models/operations/listcommercepaymentmethods.d.ts +36 -0
- package/dist/sdk/models/operations/listcommercepaymentmethods.js +115 -0
- package/dist/sdk/models/operations/listcommercepayments.d.ts +36 -0
- package/dist/sdk/models/operations/listcommercepayments.js +115 -0
- package/dist/sdk/models/operations/listcommerceproductcategories.d.ts +36 -0
- package/dist/sdk/models/operations/listcommerceproductcategories.js +115 -0
- package/dist/sdk/models/operations/listcommerceproducts.d.ts +36 -0
- package/dist/sdk/models/operations/listcommerceproducts.js +115 -0
- package/dist/sdk/models/operations/listcommercetransactions.d.ts +36 -0
- package/dist/sdk/models/operations/listcommercetransactions.js +115 -0
- package/dist/sdk/models/operations/listcompanies.d.ts +34 -0
- package/dist/sdk/models/operations/listcompanies.js +107 -0
- package/dist/sdk/models/operations/listconnections.d.ts +35 -0
- package/dist/sdk/models/operations/listconnections.js +111 -0
- package/dist/sdk/models/operations/listdataintegritydetails.d.ts +39 -0
- package/dist/sdk/models/operations/listdataintegritydetails.js +115 -0
- package/dist/sdk/models/operations/listfiles.d.ts +19 -0
- package/dist/sdk/models/operations/listfiles.js +95 -0
- package/dist/sdk/models/operations/listloantransactions.d.ts +31 -0
- package/dist/sdk/models/operations/listloantransactions.js +108 -0
- package/dist/sdk/models/operations/listpulloperations.d.ts +35 -0
- package/dist/sdk/models/operations/listpulloperations.js +111 -0
- package/dist/sdk/models/operations/refreshalldatatypes.d.ts +15 -0
- package/dist/sdk/models/operations/refreshalldatatypes.js +91 -0
- package/dist/sdk/models/operations/refreshdatatype.d.ts +27 -0
- package/dist/sdk/models/operations/refreshdatatype.js +103 -0
- package/dist/sdk/models/operations/unlinkconnection.d.ts +24 -0
- package/dist/sdk/models/operations/unlinkconnection.js +117 -0
- package/dist/sdk/models/operations/updatecompany.d.ts +20 -0
- package/dist/sdk/models/operations/updatecompany.js +99 -0
- package/dist/sdk/models/operations/uploadfiles.d.ts +21 -0
- package/dist/sdk/models/operations/uploadfiles.js +117 -0
- package/dist/sdk/models/shared/accountbalance.d.ts +19 -0
- package/dist/sdk/models/shared/accountbalance.js +60 -0
- package/dist/sdk/models/shared/accountbalanceamounts.d.ts +18 -0
- package/dist/sdk/models/shared/accountbalanceamounts.js +58 -0
- package/dist/sdk/models/shared/accountcategorylevel.d.ts +14 -0
- package/dist/sdk/models/shared/accountcategorylevel.js +53 -0
- package/dist/sdk/models/shared/accountidentifiers.d.ts +42 -0
- package/dist/sdk/models/shared/accountidentifiers.js +79 -0
- package/dist/sdk/models/shared/accountidentifiertype.d.ts +12 -0
- package/dist/sdk/models/shared/accountidentifiertype.js +19 -0
- package/dist/sdk/models/shared/accountingaccount.d.ts +160 -0
- package/dist/sdk/models/shared/accountingaccount.js +214 -0
- package/dist/sdk/models/shared/accountingaccounts.d.ts +13 -0
- package/dist/sdk/models/shared/accountingaccounts.js +72 -0
- package/dist/sdk/models/shared/accountingaccounttransaction.d.ts +133 -0
- package/dist/sdk/models/shared/accountingaccounttransaction.js +142 -0
- package/dist/sdk/models/shared/accountingaccounttransactions.d.ts +13 -0
- package/dist/sdk/models/shared/accountingaccounttransactions.js +72 -0
- package/dist/sdk/models/shared/accountingaddress.d.ts +32 -0
- package/dist/sdk/models/shared/accountingaddress.js +76 -0
- package/dist/sdk/models/shared/accountingaddresstype.d.ts +8 -0
- package/dist/sdk/models/shared/accountingaddresstype.js +15 -0
- package/dist/sdk/models/shared/accountingagedcreditorreport.d.ts +92 -0
- package/dist/sdk/models/shared/accountingagedcreditorreport.js +93 -0
- package/dist/sdk/models/shared/accountingageddebtorreport.d.ts +92 -0
- package/dist/sdk/models/shared/accountingageddebtorreport.js +93 -0
- package/dist/sdk/models/shared/accountingattachment.d.ts +75 -0
- package/dist/sdk/models/shared/accountingattachment.js +102 -0
- package/dist/sdk/models/shared/accountingbalancesheet.d.ts +90 -0
- package/dist/sdk/models/shared/accountingbalancesheet.js +84 -0
- package/dist/sdk/models/shared/accountingbankaccount.d.ts +105 -0
- package/dist/sdk/models/shared/accountingbankaccount.js +138 -0
- package/dist/sdk/models/shared/accountingbankaccounts.d.ts +13 -0
- package/dist/sdk/models/shared/accountingbankaccounts.js +72 -0
- package/dist/sdk/models/shared/accountingbankaccounttype.d.ts +12 -0
- package/dist/sdk/models/shared/accountingbankaccounttype.js +19 -0
- package/dist/sdk/models/shared/accountingbanktransaction.d.ts +60 -0
- package/dist/sdk/models/shared/accountingbanktransaction.js +111 -0
- package/dist/sdk/models/shared/accountingbanktransactions.d.ts +13 -0
- package/dist/sdk/models/shared/accountingbanktransactions.js +72 -0
- package/dist/sdk/models/shared/accountingbill.d.ts +147 -0
- package/dist/sdk/models/shared/accountingbill.js +217 -0
- package/dist/sdk/models/shared/accountingbillcreditnote.d.ts +184 -0
- package/dist/sdk/models/shared/accountingbillcreditnote.js +183 -0
- package/dist/sdk/models/shared/accountingbillcreditnotes.d.ts +13 -0
- package/dist/sdk/models/shared/accountingbillcreditnotes.js +72 -0
- package/dist/sdk/models/shared/accountingbillpayment.d.ts +232 -0
- package/dist/sdk/models/shared/accountingbillpayment.js +280 -0
- package/dist/sdk/models/shared/accountingbillpayments.d.ts +13 -0
- package/dist/sdk/models/shared/accountingbillpayments.js +72 -0
- package/dist/sdk/models/shared/accountingbills.d.ts +13 -0
- package/dist/sdk/models/shared/accountingbills.js +72 -0
- package/dist/sdk/models/shared/accountingcashflowstatement.d.ts +95 -0
- package/dist/sdk/models/shared/accountingcashflowstatement.js +91 -0
- package/dist/sdk/models/shared/accountingcompanyinfo.d.ts +163 -0
- package/dist/sdk/models/shared/accountingcompanyinfo.js +169 -0
- package/dist/sdk/models/shared/accountingcreditnote.d.ts +173 -0
- package/dist/sdk/models/shared/accountingcreditnote.js +189 -0
- package/dist/sdk/models/shared/accountingcreditnotes.d.ts +13 -0
- package/dist/sdk/models/shared/accountingcreditnotes.js +72 -0
- package/dist/sdk/models/shared/accountingcustomer.d.ts +83 -0
- package/dist/sdk/models/shared/accountingcustomer.js +136 -0
- package/dist/sdk/models/shared/accountingcustomerref.d.ts +11 -0
- package/dist/sdk/models/shared/accountingcustomerref.js +50 -0
- package/dist/sdk/models/shared/accountingcustomers.d.ts +13 -0
- package/dist/sdk/models/shared/accountingcustomers.js +72 -0
- package/dist/sdk/models/shared/accountingdirectcost.d.ts +140 -0
- package/dist/sdk/models/shared/accountingdirectcost.js +149 -0
- package/dist/sdk/models/shared/accountingdirectcosts.d.ts +13 -0
- package/dist/sdk/models/shared/accountingdirectcosts.js +72 -0
- package/dist/sdk/models/shared/accountingdirectincome.d.ts +135 -0
- package/dist/sdk/models/shared/accountingdirectincome.js +150 -0
- package/dist/sdk/models/shared/accountingdirectincomes.d.ts +13 -0
- package/dist/sdk/models/shared/accountingdirectincomes.js +72 -0
- package/dist/sdk/models/shared/accountinginvoice.d.ts +236 -0
- package/dist/sdk/models/shared/accountinginvoice.js +235 -0
- package/dist/sdk/models/shared/accountinginvoices.d.ts +13 -0
- package/dist/sdk/models/shared/accountinginvoices.js +72 -0
- package/dist/sdk/models/shared/accountingjournal.d.ts +93 -0
- package/dist/sdk/models/shared/accountingjournal.js +125 -0
- package/dist/sdk/models/shared/accountingjournalentries.d.ts +13 -0
- package/dist/sdk/models/shared/accountingjournalentries.js +72 -0
- package/dist/sdk/models/shared/accountingjournalentry.d.ts +141 -0
- package/dist/sdk/models/shared/accountingjournalentry.js +136 -0
- package/dist/sdk/models/shared/accountingjournals.d.ts +13 -0
- package/dist/sdk/models/shared/accountingjournals.js +72 -0
- package/dist/sdk/models/shared/accountingpayment.d.ts +793 -0
- package/dist/sdk/models/shared/accountingpayment.js +807 -0
- package/dist/sdk/models/shared/accountingpaymentallocation.d.ts +78 -0
- package/dist/sdk/models/shared/accountingpaymentallocation.js +81 -0
- package/dist/sdk/models/shared/accountingpayments.d.ts +13 -0
- package/dist/sdk/models/shared/accountingpayments.js +72 -0
- package/dist/sdk/models/shared/accountingprofitandlossreport.d.ts +91 -0
- package/dist/sdk/models/shared/accountingprofitandlossreport.js +94 -0
- package/dist/sdk/models/shared/accountingsupplier.d.ts +67 -0
- package/dist/sdk/models/shared/accountingsupplier.js +126 -0
- package/dist/sdk/models/shared/accountingsuppliers.d.ts +13 -0
- package/dist/sdk/models/shared/accountingsuppliers.js +72 -0
- package/dist/sdk/models/shared/accountingtransfer.d.ts +79 -0
- package/dist/sdk/models/shared/accountingtransfer.js +140 -0
- package/dist/sdk/models/shared/accountingtransfers.d.ts +13 -0
- package/dist/sdk/models/shared/accountingtransfers.js +72 -0
- package/dist/sdk/models/shared/accountinstitution.d.ts +14 -0
- package/dist/sdk/models/shared/accountinstitution.js +53 -0
- package/dist/sdk/models/shared/accountref.d.ts +14 -0
- package/dist/sdk/models/shared/accountref.js +53 -0
- package/dist/sdk/models/shared/accounts.d.ts +40 -0
- package/dist/sdk/models/shared/accounts.js +77 -0
- package/dist/sdk/models/shared/accountspayabletracking.d.ts +15 -0
- package/dist/sdk/models/shared/accountspayabletracking.js +75 -0
- package/dist/sdk/models/shared/accountsreceivabletracking.d.ts +40 -0
- package/dist/sdk/models/shared/accountsreceivabletracking.js +106 -0
- package/dist/sdk/models/shared/accountstatus.d.ts +9 -0
- package/dist/sdk/models/shared/accountstatus.js +16 -0
- package/dist/sdk/models/shared/accounttransactionline.d.ts +20 -0
- package/dist/sdk/models/shared/accounttransactionline.js +57 -0
- package/dist/sdk/models/shared/accounttype.d.ts +11 -0
- package/dist/sdk/models/shared/accounttype.js +18 -0
- package/dist/sdk/models/shared/agedcreditor.d.ts +16 -0
- package/dist/sdk/models/shared/agedcreditor.js +57 -0
- package/dist/sdk/models/shared/agedcurrencyoutstanding.d.ts +20 -0
- package/dist/sdk/models/shared/agedcurrencyoutstanding.js +52 -0
- package/dist/sdk/models/shared/ageddebtor.d.ts +16 -0
- package/dist/sdk/models/shared/ageddebtor.js +57 -0
- package/dist/sdk/models/shared/agedoutstandingamount.d.ts +60 -0
- package/dist/sdk/models/shared/agedoutstandingamount.js +62 -0
- package/dist/sdk/models/shared/agedoutstandingamountdetail.d.ts +11 -0
- package/dist/sdk/models/shared/agedoutstandingamountdetail.js +50 -0
- package/dist/sdk/models/shared/attachments.d.ts +8 -0
- package/dist/sdk/models/shared/attachments.js +50 -0
- package/dist/sdk/models/shared/balancesheet.d.ts +35 -0
- package/dist/sdk/models/shared/balancesheet.js +69 -0
- package/dist/sdk/models/shared/bankaccountref.d.ts +14 -0
- package/dist/sdk/models/shared/bankaccountref.js +53 -0
- package/dist/sdk/models/shared/bankingaccount.d.ts +58 -0
- package/dist/sdk/models/shared/bankingaccount.js +111 -0
- package/dist/sdk/models/shared/bankingaccountbalance.d.ts +51 -0
- package/dist/sdk/models/shared/bankingaccountbalance.js +80 -0
- package/dist/sdk/models/shared/bankingaccountbalances.d.ts +13 -0
- package/dist/sdk/models/shared/bankingaccountbalances.js +72 -0
- package/dist/sdk/models/shared/bankingaccounts.d.ts +13 -0
- package/dist/sdk/models/shared/bankingaccounts.js +72 -0
- package/dist/sdk/models/shared/bankingtransaction.d.ts +96 -0
- package/dist/sdk/models/shared/bankingtransaction.js +112 -0
- package/dist/sdk/models/shared/bankingtransactioncategories.d.ts +13 -0
- package/dist/sdk/models/shared/bankingtransactioncategories.js +72 -0
- package/dist/sdk/models/shared/bankingtransactioncategory.d.ts +26 -0
- package/dist/sdk/models/shared/bankingtransactioncategory.js +79 -0
- package/dist/sdk/models/shared/bankingtransactionref.d.ts +33 -0
- package/dist/sdk/models/shared/bankingtransactionref.js +75 -0
- package/dist/sdk/models/shared/bankingtransactions.d.ts +13 -0
- package/dist/sdk/models/shared/bankingtransactions.js +72 -0
- package/dist/sdk/models/shared/banktransactiontype.d.ts +23 -0
- package/dist/sdk/models/shared/banktransactiontype.js +30 -0
- package/dist/sdk/models/shared/billcreditnotelineitem.d.ts +112 -0
- package/dist/sdk/models/shared/billcreditnotelineitem.js +171 -0
- package/dist/sdk/models/shared/billcreditnotestatus.d.ts +11 -0
- package/dist/sdk/models/shared/billcreditnotestatus.js +18 -0
- package/dist/sdk/models/shared/billedtotype.d.ts +6 -0
- package/dist/sdk/models/shared/billedtotype.js +13 -0
- package/dist/sdk/models/shared/billedtotype1.d.ts +5 -0
- package/dist/sdk/models/shared/billedtotype1.js +12 -0
- package/dist/sdk/models/shared/billlineitem.d.ts +73 -0
- package/dist/sdk/models/shared/billlineitem.js +120 -0
- package/dist/sdk/models/shared/billpaymentline.d.ts +33 -0
- package/dist/sdk/models/shared/billpaymentline.js +57 -0
- package/dist/sdk/models/shared/billpaymentlinelink.d.ts +51 -0
- package/dist/sdk/models/shared/billpaymentlinelink.js +61 -0
- package/dist/sdk/models/shared/billpaymentlinelinktype.d.ts +15 -0
- package/dist/sdk/models/shared/billpaymentlinelinktype.js +22 -0
- package/dist/sdk/models/shared/billstatus.d.ts +11 -0
- package/dist/sdk/models/shared/billstatus.js +18 -0
- package/dist/sdk/models/shared/cashflowstatement.d.ts +54 -0
- package/dist/sdk/models/shared/cashflowstatement.js +63 -0
- package/dist/sdk/models/shared/commerceaddress.d.ts +32 -0
- package/dist/sdk/models/shared/commerceaddress.js +76 -0
- package/dist/sdk/models/shared/commerceaddresstype.d.ts +10 -0
- package/dist/sdk/models/shared/commerceaddresstype.js +17 -0
- package/dist/sdk/models/shared/commercecompanyinfo.d.ts +90 -0
- package/dist/sdk/models/shared/commercecompanyinfo.js +122 -0
- package/dist/sdk/models/shared/commercecustomer.d.ts +62 -0
- package/dist/sdk/models/shared/commercecustomer.js +99 -0
- package/dist/sdk/models/shared/commercecustomerref.d.ts +14 -0
- package/dist/sdk/models/shared/commercecustomerref.js +53 -0
- package/dist/sdk/models/shared/commercecustomers.d.ts +13 -0
- package/dist/sdk/models/shared/commercecustomers.js +72 -0
- package/dist/sdk/models/shared/commercedispute.d.ts +99 -0
- package/dist/sdk/models/shared/commercedispute.js +105 -0
- package/dist/sdk/models/shared/commercedisputes.d.ts +13 -0
- package/dist/sdk/models/shared/commercedisputes.js +72 -0
- package/dist/sdk/models/shared/commercelocation.d.ts +24 -0
- package/dist/sdk/models/shared/commercelocation.js +76 -0
- package/dist/sdk/models/shared/commercelocations.d.ts +13 -0
- package/dist/sdk/models/shared/commercelocations.js +72 -0
- package/dist/sdk/models/shared/commerceorder.d.ts +134 -0
- package/dist/sdk/models/shared/commerceorder.js +174 -0
- package/dist/sdk/models/shared/commerceorders.d.ts +13 -0
- package/dist/sdk/models/shared/commerceorders.js +72 -0
- package/dist/sdk/models/shared/commercepayment.d.ts +94 -0
- package/dist/sdk/models/shared/commercepayment.js +102 -0
- package/dist/sdk/models/shared/commercepaymentmethod.d.ts +25 -0
- package/dist/sdk/models/shared/commercepaymentmethod.js +73 -0
- package/dist/sdk/models/shared/commercepaymentmethods.d.ts +13 -0
- package/dist/sdk/models/shared/commercepaymentmethods.js +72 -0
- package/dist/sdk/models/shared/commercepayments.d.ts +13 -0
- package/dist/sdk/models/shared/commercepayments.js +72 -0
- package/dist/sdk/models/shared/commerceproduct.d.ts +37 -0
- package/dist/sdk/models/shared/commerceproduct.js +80 -0
- package/dist/sdk/models/shared/commerceproductcategories.d.ts +13 -0
- package/dist/sdk/models/shared/commerceproductcategories.js +72 -0
- package/dist/sdk/models/shared/commerceproductcategory.d.ts +29 -0
- package/dist/sdk/models/shared/commerceproductcategory.js +79 -0
- package/dist/sdk/models/shared/commerceproducts.d.ts +13 -0
- package/dist/sdk/models/shared/commerceproducts.js +72 -0
- package/dist/sdk/models/shared/commercerecordref.d.ts +11 -0
- package/dist/sdk/models/shared/commercerecordref.js +50 -0
- package/dist/sdk/models/shared/commercereport.d.ts +57 -0
- package/dist/sdk/models/shared/commercereport.js +118 -0
- package/dist/sdk/models/shared/commercereportcomponent.d.ts +10 -0
- package/dist/sdk/models/shared/commercereportcomponent.js +73 -0
- package/dist/sdk/models/shared/commercereportdimension.d.ts +10 -0
- package/dist/sdk/models/shared/commercereportdimension.js +74 -0
- package/dist/sdk/models/shared/commercereporterror.d.ts +6 -0
- package/dist/sdk/models/shared/commercereporterror.js +55 -0
- package/dist/sdk/models/shared/commercereportmeasure.d.ts +7 -0
- package/dist/sdk/models/shared/commercereportmeasure.js +60 -0
- package/dist/sdk/models/shared/commercetransaction.d.ts +111 -0
- package/dist/sdk/models/shared/commercetransaction.js +107 -0
- package/dist/sdk/models/shared/commercetransactions.d.ts +13 -0
- package/dist/sdk/models/shared/commercetransactions.js +72 -0
- package/dist/sdk/models/shared/companies.d.ts +13 -0
- package/dist/sdk/models/shared/companies.js +72 -0
- package/dist/sdk/models/shared/company.d.ts +83 -0
- package/dist/sdk/models/shared/company.js +96 -0
- package/dist/sdk/models/shared/companyrequestbody.d.ts +11 -0
- package/dist/sdk/models/shared/companyrequestbody.js +50 -0
- package/dist/sdk/models/shared/connection.d.ts +106 -0
- package/dist/sdk/models/shared/connection.js +133 -0
- package/dist/sdk/models/shared/connections.d.ts +13 -0
- package/dist/sdk/models/shared/connections.js +72 -0
- package/dist/sdk/models/shared/contact.d.ts +47 -0
- package/dist/sdk/models/shared/contact.js +75 -0
- package/dist/sdk/models/shared/contactref.d.ts +8 -0
- package/dist/sdk/models/shared/contactref.js +53 -0
- package/dist/sdk/models/shared/creditnotelineitem.d.ts +74 -0
- package/dist/sdk/models/shared/creditnotelineitem.js +120 -0
- package/dist/sdk/models/shared/creditnotestatus.d.ts +8 -0
- package/dist/sdk/models/shared/creditnotestatus.js +15 -0
- package/dist/sdk/models/shared/customerstatus.d.ts +8 -0
- package/dist/sdk/models/shared/customerstatus.js +15 -0
- package/dist/sdk/models/shared/dataconnectionerror.d.ts +30 -0
- package/dist/sdk/models/shared/dataconnectionerror.js +60 -0
- package/dist/sdk/models/shared/dataconnectionstatus.d.ts +9 -0
- package/dist/sdk/models/shared/dataconnectionstatus.js +16 -0
- package/dist/sdk/models/shared/dataintegrityamounts.d.ts +26 -0
- package/dist/sdk/models/shared/dataintegrityamounts.js +58 -0
- package/dist/sdk/models/shared/dataintegritybyamount.d.ts +31 -0
- package/dist/sdk/models/shared/dataintegritybyamount.js +65 -0
- package/dist/sdk/models/shared/dataintegritybycount.d.ts +19 -0
- package/dist/sdk/models/shared/dataintegritybycount.js +60 -0
- package/dist/sdk/models/shared/dataintegrityconnectionid.d.ts +11 -0
- package/dist/sdk/models/shared/dataintegrityconnectionid.js +50 -0
- package/dist/sdk/models/shared/dataintegritydatatype.d.ts +9 -0
- package/dist/sdk/models/shared/dataintegritydatatype.js +16 -0
- package/dist/sdk/models/shared/dataintegritydates.d.ts +102 -0
- package/dist/sdk/models/shared/dataintegritydates.js +63 -0
- package/dist/sdk/models/shared/dataintegritydetail.d.ts +61 -0
- package/dist/sdk/models/shared/dataintegritydetail.js +82 -0
- package/dist/sdk/models/shared/dataintegritydetails.d.ts +13 -0
- package/dist/sdk/models/shared/dataintegritydetails.js +72 -0
- package/dist/sdk/models/shared/dataintegritymatch.d.ts +39 -0
- package/dist/sdk/models/shared/dataintegritymatch.js +75 -0
- package/dist/sdk/models/shared/dataintegritystatus.d.ts +21 -0
- package/dist/sdk/models/shared/dataintegritystatus.js +73 -0
- package/dist/sdk/models/shared/dataintegritystatuses.d.ts +8 -0
- package/dist/sdk/models/shared/dataintegritystatuses.js +50 -0
- package/dist/sdk/models/shared/dataintegritystatusinfo.d.ts +36 -0
- package/dist/sdk/models/shared/dataintegritystatusinfo.js +56 -0
- package/dist/sdk/models/shared/dataintegritysummaries.d.ts +8 -0
- package/dist/sdk/models/shared/dataintegritysummaries.js +50 -0
- package/dist/sdk/models/shared/dataintegritysummary.d.ts +11 -0
- package/dist/sdk/models/shared/dataintegritysummary.js +59 -0
- package/dist/sdk/models/shared/datasource.d.ts +8 -0
- package/dist/sdk/models/shared/datasource.js +47 -0
- package/dist/sdk/models/shared/datastatus.d.ts +34 -0
- package/dist/sdk/models/shared/datastatus.js +68 -0
- package/dist/sdk/models/shared/datatype.d.ts +47 -0
- package/dist/sdk/models/shared/datatype.js +54 -0
- package/dist/sdk/models/shared/definitionsitemref.d.ts +15 -0
- package/dist/sdk/models/shared/definitionsitemref.js +55 -0
- package/dist/sdk/models/shared/directcostlineitem.d.ts +77 -0
- package/dist/sdk/models/shared/directcostlineitem.js +115 -0
- package/dist/sdk/models/shared/directincomelineitem.d.ts +76 -0
- package/dist/sdk/models/shared/directincomelineitem.js +108 -0
- package/dist/sdk/models/shared/disputestatus.d.ts +16 -0
- package/dist/sdk/models/shared/disputestatus.js +23 -0
- package/dist/sdk/models/shared/enhancedcashflowitem.d.ts +8 -0
- package/dist/sdk/models/shared/enhancedcashflowitem.js +47 -0
- package/dist/sdk/models/shared/enhancedcashflowtransaction.d.ts +56 -0
- package/dist/sdk/models/shared/enhancedcashflowtransaction.js +91 -0
- package/dist/sdk/models/shared/enhancedcashflowtransactions.d.ts +21 -0
- package/dist/sdk/models/shared/enhancedcashflowtransactions.js +70 -0
- package/dist/sdk/models/shared/enhancedfinancialreport.d.ts +52 -0
- package/dist/sdk/models/shared/enhancedfinancialreport.js +91 -0
- package/dist/sdk/models/shared/enhancedinvoicereportitem.d.ts +113 -0
- package/dist/sdk/models/shared/enhancedinvoicereportitem.js +110 -0
- package/dist/sdk/models/shared/enhancedinvoicesreport.d.ts +13 -0
- package/dist/sdk/models/shared/enhancedinvoicesreport.js +57 -0
- package/dist/sdk/models/shared/enhancedreportaccountcategory.d.ts +9 -0
- package/dist/sdk/models/shared/enhancedreportaccountcategory.js +52 -0
- package/dist/sdk/models/shared/enhancedreportinfo.d.ts +47 -0
- package/dist/sdk/models/shared/enhancedreportinfo.js +60 -0
- package/dist/sdk/models/shared/errormessage.d.ts +12 -0
- package/dist/sdk/models/shared/errormessage.js +73 -0
- package/dist/sdk/models/shared/excelreporttypes.d.ts +9 -0
- package/dist/sdk/models/shared/excelreporttypes.js +16 -0
- package/dist/sdk/models/shared/excelstatus.d.ts +59 -0
- package/dist/sdk/models/shared/excelstatus.js +84 -0
- package/dist/sdk/models/shared/file.d.ts +30 -0
- package/dist/sdk/models/shared/file.js +60 -0
- package/dist/sdk/models/shared/halref.d.ts +4 -0
- package/dist/sdk/models/shared/halref.js +45 -0
- package/dist/sdk/models/shared/index.d.ts +235 -0
- package/dist/sdk/models/shared/index.js +254 -0
- package/dist/sdk/models/shared/integritystatus.d.ts +9 -0
- package/dist/sdk/models/shared/integritystatus.js +16 -0
- package/dist/sdk/models/shared/invoicelineitem.d.ts +74 -0
- package/dist/sdk/models/shared/invoicelineitem.js +120 -0
- package/dist/sdk/models/shared/invoicestatus.d.ts +19 -0
- package/dist/sdk/models/shared/invoicestatus.js +26 -0
- package/dist/sdk/models/shared/itemref.d.ts +14 -0
- package/dist/sdk/models/shared/itemref.js +53 -0
- package/dist/sdk/models/shared/items.d.ts +12 -0
- package/dist/sdk/models/shared/items.js +51 -0
- package/dist/sdk/models/shared/journalline.d.ts +31 -0
- package/dist/sdk/models/shared/journalline.js +86 -0
- package/dist/sdk/models/shared/journalref.d.ts +14 -0
- package/dist/sdk/models/shared/journalref.js +53 -0
- package/dist/sdk/models/shared/journalstatus.d.ts +8 -0
- package/dist/sdk/models/shared/journalstatus.js +15 -0
- package/dist/sdk/models/shared/lendingcustomerref.d.ts +11 -0
- package/dist/sdk/models/shared/lendingcustomerref.js +50 -0
- package/dist/sdk/models/shared/links.d.ts +8 -0
- package/dist/sdk/models/shared/links.js +65 -0
- package/dist/sdk/models/shared/loanref.d.ts +15 -0
- package/dist/sdk/models/shared/loanref.js +55 -0
- package/dist/sdk/models/shared/loansummary.d.ts +13 -0
- package/dist/sdk/models/shared/loansummary.js +57 -0
- package/dist/sdk/models/shared/loansummaryintegrationtype.d.ts +8 -0
- package/dist/sdk/models/shared/loansummaryintegrationtype.js +15 -0
- package/dist/sdk/models/shared/loansummaryrecordref.d.ts +21 -0
- package/dist/sdk/models/shared/loansummaryrecordref.js +62 -0
- package/dist/sdk/models/shared/loansummaryrecordreftype.d.ts +8 -0
- package/dist/sdk/models/shared/loansummaryrecordreftype.js +15 -0
- package/dist/sdk/models/shared/loansummaryreportinfo.d.ts +35 -0
- package/dist/sdk/models/shared/loansummaryreportinfo.js +55 -0
- package/dist/sdk/models/shared/loansummaryreportitem.d.ts +45 -0
- package/dist/sdk/models/shared/loansummaryreportitem.js +72 -0
- package/dist/sdk/models/shared/loantransactions.d.ts +17 -0
- package/dist/sdk/models/shared/loantransactions.js +62 -0
- package/dist/sdk/models/shared/loantransactionsreportinfo.d.ts +47 -0
- package/dist/sdk/models/shared/loantransactionsreportinfo.js +70 -0
- package/dist/sdk/models/shared/locationref.d.ts +14 -0
- package/dist/sdk/models/shared/locationref.js +53 -0
- package/dist/sdk/models/shared/metadata.d.ts +7 -0
- package/dist/sdk/models/shared/metadata.js +45 -0
- package/dist/sdk/models/shared/orderdiscountallocation.d.ts +11 -0
- package/dist/sdk/models/shared/orderdiscountallocation.js +50 -0
- package/dist/sdk/models/shared/orderlineitem.d.ts +48 -0
- package/dist/sdk/models/shared/orderlineitem.js +98 -0
- package/dist/sdk/models/shared/payment.d.ts +77 -0
- package/dist/sdk/models/shared/payment.js +77 -0
- package/dist/sdk/models/shared/paymentallocationpayment.d.ts +90 -0
- package/dist/sdk/models/shared/paymentallocationpayment.js +82 -0
- package/dist/sdk/models/shared/paymentline.d.ts +33 -0
- package/dist/sdk/models/shared/paymentline.js +57 -0
- package/dist/sdk/models/shared/paymentlinelink.d.ts +62 -0
- package/dist/sdk/models/shared/paymentlinelink.js +61 -0
- package/dist/sdk/models/shared/paymentlinktype.d.ts +27 -0
- package/dist/sdk/models/shared/paymentlinktype.js +34 -0
- package/dist/sdk/models/shared/paymentmethodstatus.d.ts +8 -0
- package/dist/sdk/models/shared/paymentmethodstatus.js +15 -0
- package/dist/sdk/models/shared/paymentref.d.ts +87 -0
- package/dist/sdk/models/shared/paymentref.js +92 -0
- package/dist/sdk/models/shared/paymentstatus.d.ts +11 -0
- package/dist/sdk/models/shared/paymentstatus.js +18 -0
- package/dist/sdk/models/shared/paymenttype.d.ts +17 -0
- package/dist/sdk/models/shared/paymenttype.js +24 -0
- package/dist/sdk/models/shared/periodunit.d.ts +9 -0
- package/dist/sdk/models/shared/periodunit.js +16 -0
- package/dist/sdk/models/shared/phonenumbertype.d.ts +10 -0
- package/dist/sdk/models/shared/phonenumbertype.js +17 -0
- package/dist/sdk/models/shared/productinventory.d.ts +9 -0
- package/dist/sdk/models/shared/productinventory.js +55 -0
- package/dist/sdk/models/shared/productinventorylocation.d.ts +9 -0
- package/dist/sdk/models/shared/productinventorylocation.js +52 -0
- package/dist/sdk/models/shared/productprice.d.ts +16 -0
- package/dist/sdk/models/shared/productprice.js +50 -0
- package/dist/sdk/models/shared/productref.d.ts +14 -0
- package/dist/sdk/models/shared/productref.js +53 -0
- package/dist/sdk/models/shared/productvariant.d.ts +79 -0
- package/dist/sdk/models/shared/productvariant.js +121 -0
- package/dist/sdk/models/shared/productvariantref.d.ts +14 -0
- package/dist/sdk/models/shared/productvariantref.js +53 -0
- package/dist/sdk/models/shared/productvariantstatus.d.ts +5 -0
- package/dist/sdk/models/shared/productvariantstatus.js +12 -0
- package/dist/sdk/models/shared/profitandlossreport.d.ts +73 -0
- package/dist/sdk/models/shared/profitandlossreport.js +101 -0
- package/dist/sdk/models/shared/projectref.d.ts +5 -0
- package/dist/sdk/models/shared/projectref.js +50 -0
- package/dist/sdk/models/shared/pulloperation.d.ts +66 -0
- package/dist/sdk/models/shared/pulloperation.js +117 -0
- package/dist/sdk/models/shared/pulloperations.d.ts +13 -0
- package/dist/sdk/models/shared/pulloperations.js +72 -0
- package/dist/sdk/models/shared/recordref.d.ts +18 -0
- package/dist/sdk/models/shared/recordref.js +57 -0
- package/dist/sdk/models/shared/reportbasis.d.ts +8 -0
- package/dist/sdk/models/shared/reportbasis.js +15 -0
- package/dist/sdk/models/shared/reportcomponentmeasure.d.ts +6 -0
- package/dist/sdk/models/shared/reportcomponentmeasure.js +55 -0
- package/dist/sdk/models/shared/reportinfo.d.ts +30 -0
- package/dist/sdk/models/shared/reportinfo.js +73 -0
- package/dist/sdk/models/shared/reportinput.d.ts +8 -0
- package/dist/sdk/models/shared/reportinput.js +15 -0
- package/dist/sdk/models/shared/reportitems.d.ts +42 -0
- package/dist/sdk/models/shared/reportitems.js +76 -0
- package/dist/sdk/models/shared/reportline.d.ts +19 -0
- package/dist/sdk/models/shared/reportline.js +61 -0
- package/dist/sdk/models/shared/security.d.ts +4 -0
- package/dist/sdk/models/shared/security.js +45 -0
- package/dist/sdk/models/shared/servicecharge.d.ts +33 -0
- package/dist/sdk/models/shared/servicecharge.js +78 -0
- package/dist/sdk/models/shared/servicechargetype.d.ts +9 -0
- package/dist/sdk/models/shared/servicechargetype.js +16 -0
- package/dist/sdk/models/shared/sourceref.d.ts +10 -0
- package/dist/sdk/models/shared/sourceref.js +48 -0
- package/dist/sdk/models/shared/supplementaldata.d.ts +11 -0
- package/dist/sdk/models/shared/supplementaldata.js +52 -0
- package/dist/sdk/models/shared/supplierref.d.ts +14 -0
- package/dist/sdk/models/shared/supplierref.js +53 -0
- package/dist/sdk/models/shared/supplierstatus.d.ts +8 -0
- package/dist/sdk/models/shared/supplierstatus.js +15 -0
- package/dist/sdk/models/shared/taxcomponentallocation.d.ts +12 -0
- package/dist/sdk/models/shared/taxcomponentallocation.js +52 -0
- package/dist/sdk/models/shared/taxcomponentref.d.ts +14 -0
- package/dist/sdk/models/shared/taxcomponentref.js +53 -0
- package/dist/sdk/models/shared/taxrateref.d.ts +29 -0
- package/dist/sdk/models/shared/taxrateref.js +69 -0
- package/dist/sdk/models/shared/tracking.d.ts +13 -0
- package/dist/sdk/models/shared/tracking.js +53 -0
- package/dist/sdk/models/shared/trackingcategoryref.d.ts +10 -0
- package/dist/sdk/models/shared/trackingcategoryref.js +55 -0
- package/dist/sdk/models/shared/transactioncategory.d.ts +11 -0
- package/dist/sdk/models/shared/transactioncategory.js +50 -0
- package/dist/sdk/models/shared/transactioncategoryref.d.ts +14 -0
- package/dist/sdk/models/shared/transactioncategoryref.js +53 -0
- package/dist/sdk/models/shared/transactioncategorystatus.d.ts +5 -0
- package/dist/sdk/models/shared/transactioncategorystatus.js +12 -0
- package/dist/sdk/models/shared/transactioncode.d.ts +20 -0
- package/dist/sdk/models/shared/transactioncode.js +27 -0
- package/dist/sdk/models/shared/transactionsourceref.d.ts +9 -0
- package/dist/sdk/models/shared/transactionsourceref.js +51 -0
- package/dist/sdk/models/shared/transactionsourcetype.d.ts +7 -0
- package/dist/sdk/models/shared/transactionsourcetype.js +14 -0
- package/dist/sdk/models/shared/transactiontype.d.ts +23 -0
- package/dist/sdk/models/shared/transactiontype.js +30 -0
- package/dist/sdk/models/shared/transferaccount.d.ts +24 -0
- package/dist/sdk/models/shared/transferaccount.js +57 -0
- package/dist/sdk/models/shared/weblinksitems.d.ts +22 -0
- package/dist/sdk/models/shared/weblinksitems.js +62 -0
- package/dist/sdk/models/shared/withholdingtaxitems.d.ts +5 -0
- package/dist/sdk/models/shared/withholdingtaxitems.js +50 -0
- package/dist/sdk/sales.d.ts +377 -0
- package/dist/sdk/sales.js +1780 -0
- package/dist/sdk/sdk.d.ts +128 -0
- package/dist/sdk/sdk.js +122 -0
- package/dist/sdk/transactions.d.ts +181 -0
- package/dist/sdk/transactions.js +1012 -0
- package/dist/sdk/types/index.d.ts +1 -0
- package/dist/sdk/types/index.js +20 -0
- package/dist/sdk/types/rfcdate.d.ts +9 -0
- package/dist/sdk/types/rfcdate.js +59 -0
- package/docs/models/operations/createcompanyresponse.md +12 -0
- package/docs/models/operations/createconnectionrequest.md +9 -0
- package/docs/models/operations/createconnectionrequestbody.md +8 -0
- package/docs/models/operations/createconnectionresponse.md +12 -0
- package/docs/models/operations/deletecompanyrequest.md +8 -0
- package/docs/models/operations/deletecompanyresponse.md +11 -0
- package/docs/models/operations/deleteconnectionrequest.md +9 -0
- package/docs/models/operations/deleteconnectionresponse.md +11 -0
- package/docs/models/operations/downloadaccountingbillattachmentrequest.md +11 -0
- package/docs/models/operations/downloadaccountingbillattachmentresponse.md +12 -0
- package/docs/models/operations/downloadaccountingcustomerattachmentrequest.md +11 -0
- package/docs/models/operations/downloadaccountingcustomerattachmentresponse.md +12 -0
- package/docs/models/operations/downloadaccountingdirectcostattachmentrequest.md +11 -0
- package/docs/models/operations/downloadaccountingdirectcostattachmentresponse.md +12 -0
- package/docs/models/operations/downloadaccountingdirectincomeattachmentrequest.md +11 -0
- package/docs/models/operations/downloadaccountingdirectincomeattachmentresponse.md +12 -0
- package/docs/models/operations/downloadaccountinginvoiceattachmentrequest.md +11 -0
- package/docs/models/operations/downloadaccountinginvoiceattachmentresponse.md +12 -0
- package/docs/models/operations/downloadaccountinginvoicepdfrequest.md +9 -0
- package/docs/models/operations/downloadaccountinginvoicepdfresponse.md +11 -0
- package/docs/models/operations/downloadaccountingsupplierattachmentrequest.md +11 -0
- package/docs/models/operations/downloadaccountingsupplierattachmentresponse.md +12 -0
- package/docs/models/operations/downloadexcelreportrequest.md +9 -0
- package/docs/models/operations/downloadexcelreportresponse.md +12 -0
- package/docs/models/operations/downloadfilesrequest.md +9 -0
- package/docs/models/operations/downloadfilesresponse.md +12 -0
- package/docs/models/operations/generateexcelreportrequest.md +9 -0
- package/docs/models/operations/generateexcelreportresponse.md +12 -0
- package/docs/models/operations/getaccountingaccountrequest.md +9 -0
- package/docs/models/operations/getaccountingaccountresponse.md +12 -0
- package/docs/models/operations/getaccountingaccounttransactionrequest.md +10 -0
- package/docs/models/operations/getaccountingaccounttransactionresponse.md +12 -0
- package/docs/models/operations/getaccountingagedcreditorsreportrequest.md +11 -0
- package/docs/models/operations/getaccountingagedcreditorsreportresponse.md +12 -0
- package/docs/models/operations/getaccountingageddebtorsreportrequest.md +11 -0
- package/docs/models/operations/getaccountingageddebtorsreportresponse.md +12 -0
- package/docs/models/operations/getaccountingbalancesheetrequest.md +11 -0
- package/docs/models/operations/getaccountingbalancesheetresponse.md +12 -0
- package/docs/models/operations/getaccountingbankaccountrequest.md +10 -0
- package/docs/models/operations/getaccountingbankaccountresponse.md +12 -0
- package/docs/models/operations/getaccountingbillattachmentrequest.md +11 -0
- package/docs/models/operations/getaccountingbillattachmentresponse.md +12 -0
- package/docs/models/operations/getaccountingbillcreditnoterequest.md +9 -0
- package/docs/models/operations/getaccountingbillcreditnoteresponse.md +12 -0
- package/docs/models/operations/getaccountingbillpaymentrequest.md +9 -0
- package/docs/models/operations/getaccountingbillpaymentresponse.md +12 -0
- package/docs/models/operations/getaccountingbillrequest.md +9 -0
- package/docs/models/operations/getaccountingbillresponse.md +12 -0
- package/docs/models/operations/getaccountingcashflowstatementrequest.md +11 -0
- package/docs/models/operations/getaccountingcashflowstatementresponse.md +12 -0
- package/docs/models/operations/getaccountingcompanyinforequest.md +8 -0
- package/docs/models/operations/getaccountingcompanyinforesponse.md +12 -0
- package/docs/models/operations/getaccountingcreditnoterequest.md +9 -0
- package/docs/models/operations/getaccountingcreditnoteresponse.md +12 -0
- package/docs/models/operations/getaccountingcustomerattachmentrequest.md +11 -0
- package/docs/models/operations/getaccountingcustomerattachmentresponse.md +12 -0
- package/docs/models/operations/getaccountingcustomerrequest.md +9 -0
- package/docs/models/operations/getaccountingcustomerresponse.md +12 -0
- package/docs/models/operations/getaccountingdirectcostattachmentrequest.md +11 -0
- package/docs/models/operations/getaccountingdirectcostattachmentresponse.md +12 -0
- package/docs/models/operations/getaccountingdirectcostrequest.md +10 -0
- package/docs/models/operations/getaccountingdirectcostresponse.md +12 -0
- package/docs/models/operations/getaccountingdirectincomeattachmentrequest.md +12 -0
- package/docs/models/operations/getaccountingdirectincomeattachmentresponse.md +12 -0
- package/docs/models/operations/getaccountingdirectincomerequest.md +10 -0
- package/docs/models/operations/getaccountingdirectincomeresponse.md +12 -0
- package/docs/models/operations/getaccountinginvoiceattachmentrequest.md +11 -0
- package/docs/models/operations/getaccountinginvoiceattachmentresponse.md +12 -0
- package/docs/models/operations/getaccountinginvoicerequest.md +9 -0
- package/docs/models/operations/getaccountinginvoiceresponse.md +12 -0
- package/docs/models/operations/getaccountingjournalentryrequest.md +9 -0
- package/docs/models/operations/getaccountingjournalentryresponse.md +12 -0
- package/docs/models/operations/getaccountingjournalrequest.md +9 -0
- package/docs/models/operations/getaccountingjournalresponse.md +12 -0
- package/docs/models/operations/getaccountingpaymentrequest.md +9 -0
- package/docs/models/operations/getaccountingpaymentresponse.md +12 -0
- package/docs/models/operations/getaccountingprofitandlossrequest.md +11 -0
- package/docs/models/operations/getaccountingprofitandlossresponse.md +12 -0
- package/docs/models/operations/getaccountingsupplierattachmentrequest.md +11 -0
- package/docs/models/operations/getaccountingsupplierattachmentresponse.md +12 -0
- package/docs/models/operations/getaccountingsupplierrequest.md +9 -0
- package/docs/models/operations/getaccountingsupplierresponse.md +12 -0
- package/docs/models/operations/getaccountingtransferrequest.md +10 -0
- package/docs/models/operations/getaccountingtransferresponse.md +12 -0
- package/docs/models/operations/getbankingaccountrequest.md +10 -0
- package/docs/models/operations/getbankingaccountresponse.md +11 -0
- package/docs/models/operations/getbankingtransactioncategoryrequest.md +10 -0
- package/docs/models/operations/getbankingtransactioncategoryresponse.md +11 -0
- package/docs/models/operations/getbankingtransactionrequest.md +10 -0
- package/docs/models/operations/getbankingtransactionresponse.md +11 -0
- package/docs/models/operations/getcommercecompanyinforequest.md +9 -0
- package/docs/models/operations/getcommercecompanyinforesponse.md +12 -0
- package/docs/models/operations/getcommercecustomerrequest.md +10 -0
- package/docs/models/operations/getcommercecustomerresponse.md +12 -0
- package/docs/models/operations/getcommercecustomerretentionmetricsrequest.md +14 -0
- package/docs/models/operations/getcommercecustomerretentionmetricsresponse.md +12 -0
- package/docs/models/operations/getcommercedisputerequest.md +10 -0
- package/docs/models/operations/getcommercedisputeresponse.md +12 -0
- package/docs/models/operations/getcommercelifetimevaluemetricsrequest.md +14 -0
- package/docs/models/operations/getcommercelifetimevaluemetricsresponse.md +12 -0
- package/docs/models/operations/getcommercelocationrequest.md +10 -0
- package/docs/models/operations/getcommercelocationresponse.md +12 -0
- package/docs/models/operations/getcommerceorderrequest.md +10 -0
- package/docs/models/operations/getcommerceorderresponse.md +12 -0
- package/docs/models/operations/getcommerceordersreportrequest.md +14 -0
- package/docs/models/operations/getcommerceordersreportresponse.md +12 -0
- package/docs/models/operations/getcommercepaymentmethodrequest.md +10 -0
- package/docs/models/operations/getcommercepaymentmethodresponse.md +12 -0
- package/docs/models/operations/getcommercepaymentrequest.md +10 -0
- package/docs/models/operations/getcommercepaymentresponse.md +12 -0
- package/docs/models/operations/getcommerceproductcategoryrequest.md +10 -0
- package/docs/models/operations/getcommerceproductcategoryresponse.md +12 -0
- package/docs/models/operations/getcommerceproductrequest.md +10 -0
- package/docs/models/operations/getcommerceproductresponse.md +12 -0
- package/docs/models/operations/getcommercerefundsmetricsrequest.md +14 -0
- package/docs/models/operations/getcommercerefundsmetricsresponse.md +12 -0
- package/docs/models/operations/getcommercerevenuemetricsrequest.md +14 -0
- package/docs/models/operations/getcommercerevenuemetricsresponse.md +12 -0
- package/docs/models/operations/getcommercetransactionrequest.md +10 -0
- package/docs/models/operations/getcommercetransactionresponse.md +12 -0
- package/docs/models/operations/getcompanyrequest.md +8 -0
- package/docs/models/operations/getcompanyresponse.md +12 -0
- package/docs/models/operations/getconnectionrequest.md +9 -0
- package/docs/models/operations/getconnectionresponse.md +12 -0
- package/docs/models/operations/getdataintegritystatusrequest.md +9 -0
- package/docs/models/operations/getdataintegritystatusresponse.md +12 -0
- package/docs/models/operations/getdataintegritysummariesrequest.md +10 -0
- package/docs/models/operations/getdataintegritysummariesresponse.md +12 -0
- package/docs/models/operations/getdatastatusrequest.md +8 -0
- package/docs/models/operations/getdatastatusresponse.md +12 -0
- package/docs/models/operations/getenhancedbalancesheetaccountsrequest.md +10 -0
- package/docs/models/operations/getenhancedbalancesheetaccountsresponse.md +12 -0
- package/docs/models/operations/getenhancedcashflowtransactionsrequest.md +11 -0
- package/docs/models/operations/getenhancedcashflowtransactionsresponse.md +12 -0
- package/docs/models/operations/getenhancedinvoicesreportrequest.md +11 -0
- package/docs/models/operations/getenhancedinvoicesreportresponse.md +12 -0
- package/docs/models/operations/getenhancedprofitandlossaccountsrequest.md +10 -0
- package/docs/models/operations/getenhancedprofitandlossaccountsresponse.md +12 -0
- package/docs/models/operations/getexcelreportgenerationstatusrequest.md +9 -0
- package/docs/models/operations/getexcelreportgenerationstatusresponse.md +12 -0
- package/docs/models/operations/getloansummaryrequest.md +8 -0
- package/docs/models/operations/getloansummaryresponse.md +12 -0
- package/docs/models/operations/getpulloperationrequest.md +9 -0
- package/docs/models/operations/getpulloperationresponse.md +12 -0
- package/docs/models/operations/isagedcreditorsreportavailablerequest.md +8 -0
- package/docs/models/operations/isagedcreditorsreportavailableresponse.md +11 -0
- package/docs/models/operations/isageddebtorreportavailablerequest.md +8 -0
- package/docs/models/operations/isageddebtorreportavailableresponse.md +11 -0
- package/docs/models/operations/listaccountingaccountsrequest.md +12 -0
- package/docs/models/operations/listaccountingaccountsresponse.md +12 -0
- package/docs/models/operations/listaccountingaccounttransactionsrequest.md +13 -0
- package/docs/models/operations/listaccountingaccounttransactionsresponse.md +12 -0
- package/docs/models/operations/listaccountingbankaccountsrequest.md +13 -0
- package/docs/models/operations/listaccountingbankaccountsresponse.md +12 -0
- package/docs/models/operations/listaccountingbankaccounttransactionsrequest.md +14 -0
- package/docs/models/operations/listaccountingbankaccounttransactionsresponse.md +12 -0
- package/docs/models/operations/listaccountingbillattachmentsrequest.md +10 -0
- package/docs/models/operations/listaccountingbillattachmentsresponse.md +12 -0
- package/docs/models/operations/listaccountingbillcreditnotesrequest.md +12 -0
- package/docs/models/operations/listaccountingbillcreditnotesresponse.md +12 -0
- package/docs/models/operations/listaccountingbillpaymentsrequest.md +12 -0
- package/docs/models/operations/listaccountingbillpaymentsresponse.md +12 -0
- package/docs/models/operations/listaccountingbillsrequest.md +12 -0
- package/docs/models/operations/listaccountingbillsresponse.md +12 -0
- package/docs/models/operations/listaccountingcreditnotesrequest.md +12 -0
- package/docs/models/operations/listaccountingcreditnotesresponse.md +12 -0
- package/docs/models/operations/listaccountingcustomerattachmentsrequest.md +10 -0
- package/docs/models/operations/listaccountingcustomerattachmentsresponse.md +12 -0
- package/docs/models/operations/listaccountingcustomersrequest.md +12 -0
- package/docs/models/operations/listaccountingcustomersresponse.md +12 -0
- package/docs/models/operations/listaccountingdirectcostattachmentsrequest.md +10 -0
- package/docs/models/operations/listaccountingdirectcostattachmentsresponse.md +12 -0
- package/docs/models/operations/listaccountingdirectcostsrequest.md +13 -0
- package/docs/models/operations/listaccountingdirectcostsresponse.md +12 -0
- package/docs/models/operations/listaccountingdirectincomeattachmentsrequest.md +10 -0
- package/docs/models/operations/listaccountingdirectincomeattachmentsresponse.md +12 -0
- package/docs/models/operations/listaccountingdirectincomesrequest.md +13 -0
- package/docs/models/operations/listaccountingdirectincomesresponse.md +12 -0
- package/docs/models/operations/listaccountinginvoiceattachmentsrequest.md +10 -0
- package/docs/models/operations/listaccountinginvoiceattachmentsresponse.md +12 -0
- package/docs/models/operations/listaccountinginvoicesrequest.md +12 -0
- package/docs/models/operations/listaccountinginvoicesresponse.md +12 -0
- package/docs/models/operations/listaccountingjournalentriesrequest.md +12 -0
- package/docs/models/operations/listaccountingjournalentriesresponse.md +12 -0
- package/docs/models/operations/listaccountingjournalsrequest.md +12 -0
- package/docs/models/operations/listaccountingjournalsresponse.md +12 -0
- package/docs/models/operations/listaccountingpaymentsrequest.md +12 -0
- package/docs/models/operations/listaccountingpaymentsresponse.md +12 -0
- package/docs/models/operations/listaccountingsupplierattachmentsrequest.md +10 -0
- package/docs/models/operations/listaccountingsupplierattachmentsresponse.md +12 -0
- package/docs/models/operations/listaccountingsuppliersrequest.md +12 -0
- package/docs/models/operations/listaccountingsuppliersresponse.md +12 -0
- package/docs/models/operations/listaccountingtransfersrequest.md +13 -0
- package/docs/models/operations/listaccountingtransfersresponse.md +12 -0
- package/docs/models/operations/listbankingaccountbalancesrequest.md +13 -0
- package/docs/models/operations/listbankingaccountbalancesresponse.md +12 -0
- package/docs/models/operations/listbankingaccountsrequest.md +13 -0
- package/docs/models/operations/listbankingaccountsresponse.md +12 -0
- package/docs/models/operations/listbankingtransactioncategoriesrequest.md +13 -0
- package/docs/models/operations/listbankingtransactioncategoriesresponse.md +12 -0
- package/docs/models/operations/listbankingtransactionsrequest.md +13 -0
- package/docs/models/operations/listbankingtransactionsresponse.md +12 -0
- package/docs/models/operations/listcommercecustomersrequest.md +13 -0
- package/docs/models/operations/listcommercecustomersresponse.md +12 -0
- package/docs/models/operations/listcommercedisputesrequest.md +13 -0
- package/docs/models/operations/listcommercedisputesresponse.md +12 -0
- package/docs/models/operations/listcommercelocationsrequest.md +9 -0
- package/docs/models/operations/listcommercelocationsresponse.md +12 -0
- package/docs/models/operations/listcommerceordersrequest.md +13 -0
- package/docs/models/operations/listcommerceordersresponse.md +12 -0
- package/docs/models/operations/listcommercepaymentmethodsrequest.md +13 -0
- package/docs/models/operations/listcommercepaymentmethodsresponse.md +12 -0
- package/docs/models/operations/listcommercepaymentsrequest.md +13 -0
- package/docs/models/operations/listcommercepaymentsresponse.md +12 -0
- package/docs/models/operations/listcommerceproductcategoriesrequest.md +13 -0
- package/docs/models/operations/listcommerceproductcategoriesresponse.md +12 -0
- package/docs/models/operations/listcommerceproductsrequest.md +13 -0
- package/docs/models/operations/listcommerceproductsresponse.md +12 -0
- package/docs/models/operations/listcommercetransactionsrequest.md +13 -0
- package/docs/models/operations/listcommercetransactionsresponse.md +12 -0
- package/docs/models/operations/listcompaniesrequest.md +11 -0
- package/docs/models/operations/listcompaniesresponse.md +12 -0
- package/docs/models/operations/listconnectionsrequest.md +12 -0
- package/docs/models/operations/listconnectionsresponse.md +12 -0
- package/docs/models/operations/listdataintegritydetailsrequest.md +13 -0
- package/docs/models/operations/listdataintegritydetailsresponse.md +12 -0
- package/docs/models/operations/listfilesrequest.md +8 -0
- package/docs/models/operations/listfilesresponse.md +12 -0
- package/docs/models/operations/listloantransactionsrequest.md +9 -0
- package/docs/models/operations/listloantransactionsresponse.md +12 -0
- package/docs/models/operations/listloantransactionssourcetype.md +12 -0
- package/docs/models/operations/listpulloperationsrequest.md +12 -0
- package/docs/models/operations/listpulloperationsresponse.md +12 -0
- package/docs/models/operations/refreshalldatatypesrequest.md +8 -0
- package/docs/models/operations/refreshalldatatypesresponse.md +11 -0
- package/docs/models/operations/refreshdatatyperequest.md +10 -0
- package/docs/models/operations/refreshdatatyperesponse.md +12 -0
- package/docs/models/operations/unlinkconnectionrequest.md +10 -0
- package/docs/models/operations/unlinkconnectionrequestbody.md +8 -0
- package/docs/models/operations/unlinkconnectionresponse.md +12 -0
- package/docs/models/operations/updatecompanyrequest.md +9 -0
- package/docs/models/operations/updatecompanyresponse.md +12 -0
- package/docs/models/operations/uploadfilesrequest.md +10 -0
- package/docs/models/operations/uploadfilesrequestbody.md +9 -0
- package/docs/models/operations/uploadfilesresponse.md +11 -0
- package/docs/models/shared/accountbalance.md +11 -0
- package/docs/models/shared/accountbalanceamounts.md +12 -0
- package/docs/models/shared/accountcategorylevel.md +11 -0
- package/docs/models/shared/accountidentifiers.md +16 -0
- package/docs/models/shared/accountidentifiertype.md +16 -0
- package/docs/models/shared/accountingaccount.md +51 -0
- package/docs/models/shared/accountingaccounts.md +14 -0
- package/docs/models/shared/accountingaccounttransaction.md +38 -0
- package/docs/models/shared/accountingaccounttransactions.md +14 -0
- package/docs/models/shared/accountingaccounttransactionstatus.md +13 -0
- package/docs/models/shared/accountingaccountvaliddatatypelinks.md +50 -0
- package/docs/models/shared/accountingaddress.md +14 -0
- package/docs/models/shared/accountingaddresstype.md +12 -0
- package/docs/models/shared/accountingagedcreditorreport.md +43 -0
- package/docs/models/shared/accountingageddebtorreport.md +43 -0
- package/docs/models/shared/accountingattachment.md +34 -0
- package/docs/models/shared/accountingbalancesheet.md +30 -0
- package/docs/models/shared/accountingbankaccount.md +39 -0
- package/docs/models/shared/accountingbankaccounts.md +14 -0
- package/docs/models/shared/accountingbankaccounttype.md +14 -0
- package/docs/models/shared/accountingbanktransaction.md +34 -0
- package/docs/models/shared/accountingbanktransactions.md +14 -0
- package/docs/models/shared/accountingbill.md +48 -0
- package/docs/models/shared/accountingbillcreditnote.md +46 -0
- package/docs/models/shared/accountingbillcreditnotes.md +14 -0
- package/docs/models/shared/accountingbillpayment.md +174 -0
- package/docs/models/shared/accountingbillpayments.md +14 -0
- package/docs/models/shared/accountingbillpurchaseorderreference.md +9 -0
- package/docs/models/shared/accountingbills.md +14 -0
- package/docs/models/shared/accountingbillwithholdingtax.md +9 -0
- package/docs/models/shared/accountingcashflowstatement.md +27 -0
- package/docs/models/shared/accountingcompanyinfo.md +28 -0
- package/docs/models/shared/accountingcompanyinfophone.md +9 -0
- package/docs/models/shared/accountingcompanyinfoweblink.md +11 -0
- package/docs/models/shared/accountingcompanyinfoweblinktype.md +12 -0
- package/docs/models/shared/accountingcreditnote.md +44 -0
- package/docs/models/shared/accountingcreditnotes.md +14 -0
- package/docs/models/shared/accountingcustomer.md +31 -0
- package/docs/models/shared/accountingcustomerref.md +9 -0
- package/docs/models/shared/accountingcustomers.md +14 -0
- package/docs/models/shared/accountingdirectcost.md +39 -0
- package/docs/models/shared/accountingdirectcosts.md +14 -0
- package/docs/models/shared/accountingdirectincome.md +40 -0
- package/docs/models/shared/accountingdirectincomes.md +14 -0
- package/docs/models/shared/accountinginvoice.md +63 -0
- package/docs/models/shared/accountinginvoices.md +14 -0
- package/docs/models/shared/accountinginvoicesalesorderreference.md +9 -0
- package/docs/models/shared/accountingjournal.md +42 -0
- package/docs/models/shared/accountingjournalentries.md +14 -0
- package/docs/models/shared/accountingjournalentry.md +42 -0
- package/docs/models/shared/accountingjournals.md +14 -0
- package/docs/models/shared/accountingpayment.md +701 -0
- package/docs/models/shared/accountingpaymentallocation.md +9 -0
- package/docs/models/shared/accountingpaymentallocationallocation.md +11 -0
- package/docs/models/shared/accountingpayments.md +14 -0
- package/docs/models/shared/accountingprofitandlossreport.md +35 -0
- package/docs/models/shared/accountingsupplier.md +27 -0
- package/docs/models/shared/accountingsuppliers.md +14 -0
- package/docs/models/shared/accountingtransfer.md +23 -0
- package/docs/models/shared/accountingtransfercontactref.md +11 -0
- package/docs/models/shared/accountingtransfers.md +14 -0
- package/docs/models/shared/accountinstitution.md +11 -0
- package/docs/models/shared/accountref.md +11 -0
- package/docs/models/shared/accounts.md +14 -0
- package/docs/models/shared/accountspayabletracking.md +14 -0
- package/docs/models/shared/accountsreceivabletracking.md +15 -0
- package/docs/models/shared/accountsreceivabletrackingrecordreference.md +13 -0
- package/docs/models/shared/accountstatus.md +13 -0
- package/docs/models/shared/accounttransactionline.md +10 -0
- package/docs/models/shared/accounttype.md +15 -0
- package/docs/models/shared/agedcreditor.md +10 -0
- package/docs/models/shared/agedcurrencyoutstanding.md +9 -0
- package/docs/models/shared/ageddebtor.md +10 -0
- package/docs/models/shared/agedoutstandingamount.md +11 -0
- package/docs/models/shared/agedoutstandingamountdetail.md +9 -0
- package/docs/models/shared/attachments.md +10 -0
- package/docs/models/shared/balancesheet.md +12 -0
- package/docs/models/shared/bankaccountref.md +11 -0
- package/docs/models/shared/bankingaccount.md +24 -0
- package/docs/models/shared/bankingaccountbalance.md +22 -0
- package/docs/models/shared/bankingaccountbalances.md +14 -0
- package/docs/models/shared/bankingaccounts.md +14 -0
- package/docs/models/shared/bankingtransaction.md +25 -0
- package/docs/models/shared/bankingtransactioncategories.md +14 -0
- package/docs/models/shared/bankingtransactioncategory.md +16 -0
- package/docs/models/shared/bankingtransactionref.md +14 -0
- package/docs/models/shared/bankingtransactions.md +14 -0
- package/docs/models/shared/banktransactiontype.md +27 -0
- package/docs/models/shared/billcreditnotelineitem.md +20 -0
- package/docs/models/shared/billcreditnotelineitemitemreference.md +11 -0
- package/docs/models/shared/billcreditnotelineitemtaxratereference.md +21 -0
- package/docs/models/shared/billcreditnotestatus.md +15 -0
- package/docs/models/shared/billedtotype.md +11 -0
- package/docs/models/shared/billedtotype1.md +10 -0
- package/docs/models/shared/billlineitem.md +21 -0
- package/docs/models/shared/billpaymentline.md +10 -0
- package/docs/models/shared/billpaymentlinelink.md +11 -0
- package/docs/models/shared/billpaymentlinelinktype.md +19 -0
- package/docs/models/shared/billstatus.md +15 -0
- package/docs/models/shared/cashflowstatement.md +11 -0
- package/docs/models/shared/commerceaddress.md +14 -0
- package/docs/models/shared/commerceaddresstype.md +14 -0
- package/docs/models/shared/commercecompanyinfo.md +26 -0
- package/docs/models/shared/commercecustomer.md +21 -0
- package/docs/models/shared/commercecustomerref.md +11 -0
- package/docs/models/shared/commercecustomers.md +14 -0
- package/docs/models/shared/commercedispute.md +26 -0
- package/docs/models/shared/commercedisputes.md +14 -0
- package/docs/models/shared/commercelocation.md +18 -0
- package/docs/models/shared/commercelocations.md +14 -0
- package/docs/models/shared/commerceorder.md +31 -0
- package/docs/models/shared/commerceorders.md +14 -0
- package/docs/models/shared/commerceordersupplementaldata.md +12 -0
- package/docs/models/shared/commercepayment.md +25 -0
- package/docs/models/shared/commercepaymentmethod.md +16 -0
- package/docs/models/shared/commercepaymentmethods.md +14 -0
- package/docs/models/shared/commercepayments.md +14 -0
- package/docs/models/shared/commerceproduct.md +18 -0
- package/docs/models/shared/commerceproductcategories.md +14 -0
- package/docs/models/shared/commerceproductcategory.md +17 -0
- package/docs/models/shared/commerceproducts.md +14 -0
- package/docs/models/shared/commercerecordref.md +9 -0
- package/docs/models/shared/commercereport.md +54 -0
- package/docs/models/shared/commercereportcomponent.md +13 -0
- package/docs/models/shared/commercereportdimension.md +11 -0
- package/docs/models/shared/commercereportdimensionitems.md +8 -0
- package/docs/models/shared/commercereporterror.md +10 -0
- package/docs/models/shared/commercereportmeasure.md +11 -0
- package/docs/models/shared/commercetransaction.md +28 -0
- package/docs/models/shared/commercetransactions.md +14 -0
- package/docs/models/shared/companies.md +14 -0
- package/docs/models/shared/company.md +22 -0
- package/docs/models/shared/companyrequestbody.md +9 -0
- package/docs/models/shared/connection.md +31 -0
- package/docs/models/shared/connections.md +14 -0
- package/docs/models/shared/connectionsourcetype.md +14 -0
- package/docs/models/shared/contact.md +13 -0
- package/docs/models/shared/contactref.md +11 -0
- package/docs/models/shared/creditnotelineitem.md +21 -0
- package/docs/models/shared/creditnotestatus.md +13 -0
- package/docs/models/shared/customerstatus.md +12 -0
- package/docs/models/shared/dataconnectionerror.md +11 -0
- package/docs/models/shared/dataconnectionstatus.md +13 -0
- package/docs/models/shared/dataintegrityamounts.md +12 -0
- package/docs/models/shared/dataintegritybyamount.md +12 -0
- package/docs/models/shared/dataintegritybycount.md +11 -0
- package/docs/models/shared/dataintegrityconnectionid.md +9 -0
- package/docs/models/shared/dataintegritydatatype.md +13 -0
- package/docs/models/shared/dataintegritydates.md +13 -0
- package/docs/models/shared/dataintegritydetail.md +15 -0
- package/docs/models/shared/dataintegritydetails.md +14 -0
- package/docs/models/shared/dataintegritymatch.md +14 -0
- package/docs/models/shared/dataintegritystatus.md +12 -0
- package/docs/models/shared/dataintegritystatuses.md +10 -0
- package/docs/models/shared/dataintegritystatusinfo.md +10 -0
- package/docs/models/shared/dataintegritysummaries.md +10 -0
- package/docs/models/shared/dataintegritysummary.md +10 -0
- package/docs/models/shared/datasource.md +8 -0
- package/docs/models/shared/datastatus.md +14 -0
- package/docs/models/shared/datatype.md +51 -0
- package/docs/models/shared/definitionsitemref.md +10 -0
- package/docs/models/shared/directcostlineitem.md +20 -0
- package/docs/models/shared/directincomelineitem.md +19 -0
- package/docs/models/shared/disputestatus.md +20 -0
- package/docs/models/shared/enhancedcashflowitem.md +8 -0
- package/docs/models/shared/enhancedcashflowtransaction.md +16 -0
- package/docs/models/shared/enhancedcashflowtransactions.md +16 -0
- package/docs/models/shared/enhancedfinancialreport.md +11 -0
- package/docs/models/shared/enhancedfinancialreportreportitem.md +12 -0
- package/docs/models/shared/enhancedinvoicereportitem.md +20 -0
- package/docs/models/shared/enhancedinvoicesreport.md +11 -0
- package/docs/models/shared/enhancedreportaccountcategory.md +9 -0
- package/docs/models/shared/enhancedreportinfo.md +11 -0
- package/docs/models/shared/errormessage.md +15 -0
- package/docs/models/shared/excelreporttypes.md +13 -0
- package/docs/models/shared/excelstatus.md +17 -0
- package/docs/models/shared/file.md +11 -0
- package/docs/models/shared/halref.md +8 -0
- package/docs/models/shared/integritystatus.md +13 -0
- package/docs/models/shared/invoicelineitem.md +21 -0
- package/docs/models/shared/invoicestatus.md +21 -0
- package/docs/models/shared/itemref.md +11 -0
- package/docs/models/shared/items.md +9 -0
- package/docs/models/shared/itemstype.md +12 -0
- package/docs/models/shared/journalline.md +12 -0
- package/docs/models/shared/journallinetracking.md +10 -0
- package/docs/models/shared/journalref.md +11 -0
- package/docs/models/shared/journalstatus.md +12 -0
- package/docs/models/shared/lendingcustomerref.md +9 -0
- package/docs/models/shared/links.md +11 -0
- package/docs/models/shared/loanref.md +10 -0
- package/docs/models/shared/loansummary.md +11 -0
- package/docs/models/shared/loansummaryintegrationtype.md +12 -0
- package/docs/models/shared/loansummaryrecordref.md +11 -0
- package/docs/models/shared/loansummaryrecordreftype.md +12 -0
- package/docs/models/shared/loansummaryreportinfo.md +10 -0
- package/docs/models/shared/loansummaryreportitem.md +13 -0
- package/docs/models/shared/loantransactions.md +12 -0
- package/docs/models/shared/loantransactionsreportinfo.md +13 -0
- package/docs/models/shared/locationref.md +11 -0
- package/docs/models/shared/metadata.md +8 -0
- package/docs/models/shared/orderdiscountallocation.md +9 -0
- package/docs/models/shared/orderlineitem.md +17 -0
- package/docs/models/shared/payment.md +14 -0
- package/docs/models/shared/paymentallocationpayment.md +15 -0
- package/docs/models/shared/paymentline.md +10 -0
- package/docs/models/shared/paymentlinelink.md +11 -0
- package/docs/models/shared/paymentlinktype.md +29 -0
- package/docs/models/shared/paymentmethodstatus.md +12 -0
- package/docs/models/shared/paymentref.md +17 -0
- package/docs/models/shared/paymentstatus.md +15 -0
- package/docs/models/shared/paymenttype.md +21 -0
- package/docs/models/shared/periodunit.md +13 -0
- package/docs/models/shared/phonenumbertype.md +14 -0
- package/docs/models/shared/productinventory.md +11 -0
- package/docs/models/shared/productinventorylocation.md +9 -0
- package/docs/models/shared/productprice.md +9 -0
- package/docs/models/shared/productref.md +11 -0
- package/docs/models/shared/productvariant.md +24 -0
- package/docs/models/shared/productvariantref.md +11 -0
- package/docs/models/shared/productvariantstatus.md +10 -0
- package/docs/models/shared/profitandlossreport.md +18 -0
- package/docs/models/shared/projectref.md +9 -0
- package/docs/models/shared/pulloperation.md +19 -0
- package/docs/models/shared/pulloperations.md +14 -0
- package/docs/models/shared/pulloperationstatus.md +30 -0
- package/docs/models/shared/recordref.md +13 -0
- package/docs/models/shared/reportbasis.md +12 -0
- package/docs/models/shared/reportcomponentmeasure.md +10 -0
- package/docs/models/shared/reportinfo.md +15 -0
- package/docs/models/shared/reportinput.md +12 -0
- package/docs/models/shared/reportitems.md +12 -0
- package/docs/models/shared/reportitemsloantransactiontype.md +11 -0
- package/docs/models/shared/reportline.md +11 -0
- package/docs/models/shared/security.md +8 -0
- package/docs/models/shared/servicecharge.md +14 -0
- package/docs/models/shared/servicechargetype.md +13 -0
- package/docs/models/shared/sourceref.md +10 -0
- package/docs/models/shared/supplementaldata.md +12 -0
- package/docs/models/shared/supplierref.md +11 -0
- package/docs/models/shared/supplierstatus.md +12 -0
- package/docs/models/shared/taxcomponentallocation.md +9 -0
- package/docs/models/shared/taxcomponentref.md +11 -0
- package/docs/models/shared/taxrateref.md +21 -0
- package/docs/models/shared/tracking.md +9 -0
- package/docs/models/shared/trackingcategoryref.md +13 -0
- package/docs/models/shared/transactioncategory.md +9 -0
- package/docs/models/shared/transactioncategoryref.md +11 -0
- package/docs/models/shared/transactioncategorystatus.md +10 -0
- package/docs/models/shared/transactioncode.md +24 -0
- package/docs/models/shared/transactionsourceref.md +9 -0
- package/docs/models/shared/transactionsourcetype.md +12 -0
- package/docs/models/shared/transactiontype.md +25 -0
- package/docs/models/shared/transferaccount.md +10 -0
- package/docs/models/shared/weblinksitems.md +11 -0
- package/docs/models/shared/withholdingtaxitems.md +9 -0
- package/docs/models/utils/retryconfig.md +24 -0
- package/docs/sdks/accountingbankdata/README.md +160 -0
- package/docs/sdks/accountspayable/README.md +766 -0
- package/docs/sdks/accountsreceivable/README.md +1093 -0
- package/docs/sdks/cashflow/README.md +402 -0
- package/docs/sdks/codatlending/README.md +14 -0
- package/docs/sdks/companies/README.md +221 -0
- package/docs/sdks/companyinfo/README.md +91 -0
- package/docs/sdks/connections/README.md +224 -0
- package/docs/sdks/dataintegrity/README.md +152 -0
- package/docs/sdks/excelreports/README.md +150 -0
- package/docs/sdks/fileupload/README.md +140 -0
- package/docs/sdks/financials/README.md +321 -0
- package/docs/sdks/liabilities/README.md +99 -0
- package/docs/sdks/managedata/README.md +222 -0
- package/docs/sdks/sales/README.md +1227 -0
- package/docs/sdks/transactions/README.md +642 -0
- package/docs/types/rfcdate.md +11 -0
- package/package.json +34 -0
|
@@ -0,0 +1,1093 @@
|
|
|
1
|
+
# accountsReceivable
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Data from a linked accounting platform representing money owed to the business for sold goods or services.
|
|
6
|
+
|
|
7
|
+
### Available Operations
|
|
8
|
+
|
|
9
|
+
* [downloadCustomerAttachment](#downloadcustomerattachment) - Download customer attachment
|
|
10
|
+
* [downloadDirectIncomeAttachment](#downloaddirectincomeattachment) - Download direct income attachment
|
|
11
|
+
* [downloadInvoiceAttachment](#downloadinvoiceattachment) - Download invoice attachment
|
|
12
|
+
* [downloadInvoicePdf](#downloadinvoicepdf) - Get invoice as PDF
|
|
13
|
+
* [getAgedDebtorsReport](#getageddebtorsreport) - Aged debtors report
|
|
14
|
+
* [getCreditNote](#getcreditnote) - Get credit note
|
|
15
|
+
* [getCustomer](#getcustomer) - Get customer
|
|
16
|
+
* [getCustomerAttachment](#getcustomerattachment) - Get customer attachment
|
|
17
|
+
* [getDirectIncome](#getdirectincome) - Get direct income
|
|
18
|
+
* [getDirectIncomeAttachment](#getdirectincomeattachment) - Get direct income attachment
|
|
19
|
+
* [getEnhancedInvoicesReport](#getenhancedinvoicesreport) - Get enhanced invoices report
|
|
20
|
+
* [getInvoice](#getinvoice) - Get invoice
|
|
21
|
+
* [getInvoiceAttachment](#getinvoiceattachment) - Get invoice attachment
|
|
22
|
+
* [getPayment](#getpayment) - Get payment
|
|
23
|
+
* [isAgedDebtorReportAvailable](#isageddebtorreportavailable) - Aged debtors report available
|
|
24
|
+
* [listCreditNotes](#listcreditnotes) - List credit notes
|
|
25
|
+
* [listCustomerAttachments](#listcustomerattachments) - List customer attachments
|
|
26
|
+
* [listCustomers](#listcustomers) - List customers
|
|
27
|
+
* [listDirectIncomeAttachments](#listdirectincomeattachments) - List direct income attachments
|
|
28
|
+
* [listDirectIncomes](#listdirectincomes) - List direct incomes
|
|
29
|
+
* [listInvoiceAttachments](#listinvoiceattachments) - List invoice attachments
|
|
30
|
+
* [listInvoices](#listinvoices) - List invoices
|
|
31
|
+
* [listPayments](#listpayments) - List payments
|
|
32
|
+
|
|
33
|
+
## downloadCustomerAttachment
|
|
34
|
+
|
|
35
|
+
The *Download customer attachment* endpoint downloads a specific attachment for a given `customerId` and `attachmentId`.
|
|
36
|
+
|
|
37
|
+
[Customers](https://docs.codat.io/accounting-api#/schemas/Customer) are people or organizations that buy goods or services from the SMB.
|
|
38
|
+
|
|
39
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=customers) for integrations that support downloading a customer attachment.
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Example Usage
|
|
43
|
+
|
|
44
|
+
```typescript
|
|
45
|
+
import { CodatLending } from "@codat/lending";
|
|
46
|
+
import { DownloadAccountingCustomerAttachmentResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
47
|
+
|
|
48
|
+
const sdk = new CodatLending({
|
|
49
|
+
security: {
|
|
50
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
51
|
+
},
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
sdk.accountsReceivable.downloadCustomerAttachment({
|
|
55
|
+
attachmentId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
56
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
57
|
+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
58
|
+
customerId: "molestiae",
|
|
59
|
+
}).then((res: DownloadAccountingCustomerAttachmentResponse) => {
|
|
60
|
+
if (res.statusCode == 200) {
|
|
61
|
+
// handle response
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Parameters
|
|
67
|
+
|
|
68
|
+
| Parameter | Type | Required | Description |
|
|
69
|
+
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
|
|
70
|
+
| `request` | [operations.DownloadAccountingCustomerAttachmentRequest](../../models/operations/downloadaccountingcustomerattachmentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
71
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
72
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
### Response
|
|
76
|
+
|
|
77
|
+
**Promise<[operations.DownloadAccountingCustomerAttachmentResponse](../../models/operations/downloadaccountingcustomerattachmentresponse.md)>**
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
## downloadDirectIncomeAttachment
|
|
81
|
+
|
|
82
|
+
The *Download direct income attachment* endpoint downloads a specific attachment for a given `directIncomeId` and `attachmentId`.
|
|
83
|
+
|
|
84
|
+
[Direct incomes](https://docs.codat.io/accounting-api#/schemas/DirectIncome) are sales of items directly to a customer where payment is received at the point of the sale.
|
|
85
|
+
|
|
86
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=directIncomes) for integrations that support downloading a direct income attachment.
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
### Example Usage
|
|
90
|
+
|
|
91
|
+
```typescript
|
|
92
|
+
import { CodatLending } from "@codat/lending";
|
|
93
|
+
import { DownloadAccountingDirectIncomeAttachmentResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
94
|
+
|
|
95
|
+
const sdk = new CodatLending({
|
|
96
|
+
security: {
|
|
97
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
98
|
+
},
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
sdk.accountsReceivable.downloadDirectIncomeAttachment({
|
|
102
|
+
attachmentId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
103
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
104
|
+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
105
|
+
directIncomeId: "minus",
|
|
106
|
+
}).then((res: DownloadAccountingDirectIncomeAttachmentResponse) => {
|
|
107
|
+
if (res.statusCode == 200) {
|
|
108
|
+
// handle response
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### Parameters
|
|
114
|
+
|
|
115
|
+
| Parameter | Type | Required | Description |
|
|
116
|
+
| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
|
|
117
|
+
| `request` | [operations.DownloadAccountingDirectIncomeAttachmentRequest](../../models/operations/downloadaccountingdirectincomeattachmentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
118
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
119
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
### Response
|
|
123
|
+
|
|
124
|
+
**Promise<[operations.DownloadAccountingDirectIncomeAttachmentResponse](../../models/operations/downloadaccountingdirectincomeattachmentresponse.md)>**
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
## downloadInvoiceAttachment
|
|
128
|
+
|
|
129
|
+
The *Download invoice attachment* endpoint downloads a specific attachment for a given `invoiceId` and `attachmentId`.
|
|
130
|
+
|
|
131
|
+
[Invoices](https://docs.codat.io/accounting-api#/schemas/Invoice) are itemized records of goods sold or services provided to a customer.
|
|
132
|
+
|
|
133
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=invoices) for integrations that support downloading an invoice attachment.
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
### Example Usage
|
|
137
|
+
|
|
138
|
+
```typescript
|
|
139
|
+
import { CodatLending } from "@codat/lending";
|
|
140
|
+
import { DownloadAccountingInvoiceAttachmentResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
141
|
+
|
|
142
|
+
const sdk = new CodatLending({
|
|
143
|
+
security: {
|
|
144
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
145
|
+
},
|
|
146
|
+
});
|
|
147
|
+
|
|
148
|
+
sdk.accountsReceivable.downloadInvoiceAttachment({
|
|
149
|
+
attachmentId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
150
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
151
|
+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
152
|
+
invoiceId: "placeat",
|
|
153
|
+
}).then((res: DownloadAccountingInvoiceAttachmentResponse) => {
|
|
154
|
+
if (res.statusCode == 200) {
|
|
155
|
+
// handle response
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
### Parameters
|
|
161
|
+
|
|
162
|
+
| Parameter | Type | Required | Description |
|
|
163
|
+
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
164
|
+
| `request` | [operations.DownloadAccountingInvoiceAttachmentRequest](../../models/operations/downloadaccountinginvoiceattachmentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
165
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
166
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
### Response
|
|
170
|
+
|
|
171
|
+
**Promise<[operations.DownloadAccountingInvoiceAttachmentResponse](../../models/operations/downloadaccountinginvoiceattachmentresponse.md)>**
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
## downloadInvoicePdf
|
|
175
|
+
|
|
176
|
+
Download invoice as a pdf.
|
|
177
|
+
|
|
178
|
+
### Example Usage
|
|
179
|
+
|
|
180
|
+
```typescript
|
|
181
|
+
import { CodatLending } from "@codat/lending";
|
|
182
|
+
import { DownloadAccountingInvoicePdfResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
183
|
+
|
|
184
|
+
const sdk = new CodatLending({
|
|
185
|
+
security: {
|
|
186
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
187
|
+
},
|
|
188
|
+
});
|
|
189
|
+
|
|
190
|
+
sdk.accountsReceivable.downloadInvoicePdf({
|
|
191
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
192
|
+
invoiceId: "voluptatum",
|
|
193
|
+
}).then((res: DownloadAccountingInvoicePdfResponse) => {
|
|
194
|
+
if (res.statusCode == 200) {
|
|
195
|
+
// handle response
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
### Parameters
|
|
201
|
+
|
|
202
|
+
| Parameter | Type | Required | Description |
|
|
203
|
+
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
|
|
204
|
+
| `request` | [operations.DownloadAccountingInvoicePdfRequest](../../models/operations/downloadaccountinginvoicepdfrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
205
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
206
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
### Response
|
|
210
|
+
|
|
211
|
+
**Promise<[operations.DownloadAccountingInvoicePdfResponse](../../models/operations/downloadaccountinginvoicepdfresponse.md)>**
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
## getAgedDebtorsReport
|
|
215
|
+
|
|
216
|
+
Returns aged debtors report for company that shows the total outstanding balance due from customers to the business over time.
|
|
217
|
+
|
|
218
|
+
### Example Usage
|
|
219
|
+
|
|
220
|
+
```typescript
|
|
221
|
+
import { CodatLending } from "@codat/lending";
|
|
222
|
+
import { GetAccountingAgedDebtorsReportResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
223
|
+
import { RFCDate } from "@codat/lending/dist/sdk/types";
|
|
224
|
+
|
|
225
|
+
const sdk = new CodatLending({
|
|
226
|
+
security: {
|
|
227
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
228
|
+
},
|
|
229
|
+
});
|
|
230
|
+
|
|
231
|
+
sdk.accountsReceivable.getAgedDebtorsReport({
|
|
232
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
233
|
+
numberOfPeriods: 12,
|
|
234
|
+
periodLengthDays: 30,
|
|
235
|
+
reportDate: new RFCDate("2022-12-31"),
|
|
236
|
+
}).then((res: GetAccountingAgedDebtorsReportResponse) => {
|
|
237
|
+
if (res.statusCode == 200) {
|
|
238
|
+
// handle response
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
### Parameters
|
|
244
|
+
|
|
245
|
+
| Parameter | Type | Required | Description |
|
|
246
|
+
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
|
|
247
|
+
| `request` | [operations.GetAccountingAgedDebtorsReportRequest](../../models/operations/getaccountingageddebtorsreportrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
248
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
249
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
### Response
|
|
253
|
+
|
|
254
|
+
**Promise<[operations.GetAccountingAgedDebtorsReportResponse](../../models/operations/getaccountingageddebtorsreportresponse.md)>**
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
## getCreditNote
|
|
258
|
+
|
|
259
|
+
The *Get credit note* endpoint returns a single credit note for a given creditNoteId.
|
|
260
|
+
|
|
261
|
+
[Credit notes](https://docs.codat.io/accounting-api#/schemas/CreditNote) are issued to a customer to indicate debt, typically with reference to a previously issued invoice and/or purchase.
|
|
262
|
+
|
|
263
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=creditNotes) for integrations that support getting a specific credit note.
|
|
264
|
+
|
|
265
|
+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
### Example Usage
|
|
269
|
+
|
|
270
|
+
```typescript
|
|
271
|
+
import { CodatLending } from "@codat/lending";
|
|
272
|
+
import { GetAccountingCreditNoteResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
273
|
+
|
|
274
|
+
const sdk = new CodatLending({
|
|
275
|
+
security: {
|
|
276
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
277
|
+
},
|
|
278
|
+
});
|
|
279
|
+
|
|
280
|
+
sdk.accountsReceivable.getCreditNote({
|
|
281
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
282
|
+
creditNoteId: "iusto",
|
|
283
|
+
}).then((res: GetAccountingCreditNoteResponse) => {
|
|
284
|
+
if (res.statusCode == 200) {
|
|
285
|
+
// handle response
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
### Parameters
|
|
291
|
+
|
|
292
|
+
| Parameter | Type | Required | Description |
|
|
293
|
+
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
|
|
294
|
+
| `request` | [operations.GetAccountingCreditNoteRequest](../../models/operations/getaccountingcreditnoterequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
295
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
296
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
### Response
|
|
300
|
+
|
|
301
|
+
**Promise<[operations.GetAccountingCreditNoteResponse](../../models/operations/getaccountingcreditnoteresponse.md)>**
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
## getCustomer
|
|
305
|
+
|
|
306
|
+
The *Get customer* endpoint returns a single customer for a given customerId.
|
|
307
|
+
|
|
308
|
+
[Customers](https://docs.codat.io/accounting-api#/schemas/Customer) are people or organizations that buy goods or services from the SMB.
|
|
309
|
+
|
|
310
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=customers) for integrations that support getting a specific customer.
|
|
311
|
+
|
|
312
|
+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
### Example Usage
|
|
316
|
+
|
|
317
|
+
```typescript
|
|
318
|
+
import { CodatLending } from "@codat/lending";
|
|
319
|
+
import { GetAccountingCustomerResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
320
|
+
|
|
321
|
+
const sdk = new CodatLending({
|
|
322
|
+
security: {
|
|
323
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
324
|
+
},
|
|
325
|
+
});
|
|
326
|
+
|
|
327
|
+
sdk.accountsReceivable.getCustomer({
|
|
328
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
329
|
+
customerId: "excepturi",
|
|
330
|
+
}).then((res: GetAccountingCustomerResponse) => {
|
|
331
|
+
if (res.statusCode == 200) {
|
|
332
|
+
// handle response
|
|
333
|
+
}
|
|
334
|
+
});
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
### Parameters
|
|
338
|
+
|
|
339
|
+
| Parameter | Type | Required | Description |
|
|
340
|
+
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
|
|
341
|
+
| `request` | [operations.GetAccountingCustomerRequest](../../models/operations/getaccountingcustomerrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
342
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
343
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
### Response
|
|
347
|
+
|
|
348
|
+
**Promise<[operations.GetAccountingCustomerResponse](../../models/operations/getaccountingcustomerresponse.md)>**
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
## getCustomerAttachment
|
|
352
|
+
|
|
353
|
+
The *Get customer attachment* endpoint returns a specific attachment for a given `customerId` and `attachmentId`.
|
|
354
|
+
|
|
355
|
+
[Customers](https://docs.codat.io/accounting-api#/schemas/Customer) are people or organizations that buy goods or services from the SMB.
|
|
356
|
+
|
|
357
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=customers) for integrations that support getting a customer attachment.
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
### Example Usage
|
|
361
|
+
|
|
362
|
+
```typescript
|
|
363
|
+
import { CodatLending } from "@codat/lending";
|
|
364
|
+
import { GetAccountingCustomerAttachmentResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
365
|
+
|
|
366
|
+
const sdk = new CodatLending({
|
|
367
|
+
security: {
|
|
368
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
369
|
+
},
|
|
370
|
+
});
|
|
371
|
+
|
|
372
|
+
sdk.accountsReceivable.getCustomerAttachment({
|
|
373
|
+
attachmentId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
374
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
375
|
+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
376
|
+
customerId: "nisi",
|
|
377
|
+
}).then((res: GetAccountingCustomerAttachmentResponse) => {
|
|
378
|
+
if (res.statusCode == 200) {
|
|
379
|
+
// handle response
|
|
380
|
+
}
|
|
381
|
+
});
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
### Parameters
|
|
385
|
+
|
|
386
|
+
| Parameter | Type | Required | Description |
|
|
387
|
+
| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
|
|
388
|
+
| `request` | [operations.GetAccountingCustomerAttachmentRequest](../../models/operations/getaccountingcustomerattachmentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
389
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
390
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
### Response
|
|
394
|
+
|
|
395
|
+
**Promise<[operations.GetAccountingCustomerAttachmentResponse](../../models/operations/getaccountingcustomerattachmentresponse.md)>**
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
## getDirectIncome
|
|
399
|
+
|
|
400
|
+
The *Get direct income* endpoint returns a single direct income for a given directIncomeId.
|
|
401
|
+
|
|
402
|
+
[Direct incomes](https://docs.codat.io/accounting-api#/schemas/DirectIncome) are sales of items directly to a customer where payment is received at the point of the sale.
|
|
403
|
+
|
|
404
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=directIncomes) for integrations that support getting a specific direct income.
|
|
405
|
+
|
|
406
|
+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
### Example Usage
|
|
410
|
+
|
|
411
|
+
```typescript
|
|
412
|
+
import { CodatLending } from "@codat/lending";
|
|
413
|
+
import { GetAccountingDirectIncomeResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
414
|
+
|
|
415
|
+
const sdk = new CodatLending({
|
|
416
|
+
security: {
|
|
417
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
418
|
+
},
|
|
419
|
+
});
|
|
420
|
+
|
|
421
|
+
sdk.accountsReceivable.getDirectIncome({
|
|
422
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
423
|
+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
424
|
+
directIncomeId: "recusandae",
|
|
425
|
+
}).then((res: GetAccountingDirectIncomeResponse) => {
|
|
426
|
+
if (res.statusCode == 200) {
|
|
427
|
+
// handle response
|
|
428
|
+
}
|
|
429
|
+
});
|
|
430
|
+
```
|
|
431
|
+
|
|
432
|
+
### Parameters
|
|
433
|
+
|
|
434
|
+
| Parameter | Type | Required | Description |
|
|
435
|
+
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
436
|
+
| `request` | [operations.GetAccountingDirectIncomeRequest](../../models/operations/getaccountingdirectincomerequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
437
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
438
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
### Response
|
|
442
|
+
|
|
443
|
+
**Promise<[operations.GetAccountingDirectIncomeResponse](../../models/operations/getaccountingdirectincomeresponse.md)>**
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
## getDirectIncomeAttachment
|
|
447
|
+
|
|
448
|
+
The *Get direct income attachment* endpoint returns a specific attachment for a given `directIncomeId` and `attachmentId`.
|
|
449
|
+
|
|
450
|
+
[Direct incomes](https://docs.codat.io/accounting-api#/schemas/DirectIncome) are sales of items directly to a customer where payment is received at the point of the sale.
|
|
451
|
+
|
|
452
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=directIncomes) for integrations that support getting a direct income attachment.
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
### Example Usage
|
|
456
|
+
|
|
457
|
+
```typescript
|
|
458
|
+
import { CodatLending } from "@codat/lending";
|
|
459
|
+
import { GetAccountingDirectIncomeAttachmentResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
460
|
+
|
|
461
|
+
const sdk = new CodatLending({
|
|
462
|
+
security: {
|
|
463
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
464
|
+
},
|
|
465
|
+
});
|
|
466
|
+
|
|
467
|
+
sdk.accountsReceivable.getDirectIncomeAttachment({
|
|
468
|
+
attachmentId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
469
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
470
|
+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
471
|
+
directIncomeId: "temporibus",
|
|
472
|
+
timeoutInMinutes: 71036,
|
|
473
|
+
}).then((res: GetAccountingDirectIncomeAttachmentResponse) => {
|
|
474
|
+
if (res.statusCode == 200) {
|
|
475
|
+
// handle response
|
|
476
|
+
}
|
|
477
|
+
});
|
|
478
|
+
```
|
|
479
|
+
|
|
480
|
+
### Parameters
|
|
481
|
+
|
|
482
|
+
| Parameter | Type | Required | Description |
|
|
483
|
+
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
484
|
+
| `request` | [operations.GetAccountingDirectIncomeAttachmentRequest](../../models/operations/getaccountingdirectincomeattachmentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
485
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
486
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
### Response
|
|
490
|
+
|
|
491
|
+
**Promise<[operations.GetAccountingDirectIncomeAttachmentResponse](../../models/operations/getaccountingdirectincomeattachmentresponse.md)>**
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
## getEnhancedInvoicesReport
|
|
495
|
+
|
|
496
|
+
Gets a list of invoices linked to the corresponding banking transaction
|
|
497
|
+
|
|
498
|
+
### Example Usage
|
|
499
|
+
|
|
500
|
+
```typescript
|
|
501
|
+
import { CodatLending } from "@codat/lending";
|
|
502
|
+
import { GetEnhancedInvoicesReportResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
503
|
+
|
|
504
|
+
const sdk = new CodatLending({
|
|
505
|
+
security: {
|
|
506
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
507
|
+
},
|
|
508
|
+
});
|
|
509
|
+
|
|
510
|
+
sdk.accountsReceivable.getEnhancedInvoicesReport({
|
|
511
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
512
|
+
page: 1,
|
|
513
|
+
pageSize: 100,
|
|
514
|
+
query: "quis",
|
|
515
|
+
}).then((res: GetEnhancedInvoicesReportResponse) => {
|
|
516
|
+
if (res.statusCode == 200) {
|
|
517
|
+
// handle response
|
|
518
|
+
}
|
|
519
|
+
});
|
|
520
|
+
```
|
|
521
|
+
|
|
522
|
+
### Parameters
|
|
523
|
+
|
|
524
|
+
| Parameter | Type | Required | Description |
|
|
525
|
+
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
526
|
+
| `request` | [operations.GetEnhancedInvoicesReportRequest](../../models/operations/getenhancedinvoicesreportrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
527
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
528
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
### Response
|
|
532
|
+
|
|
533
|
+
**Promise<[operations.GetEnhancedInvoicesReportResponse](../../models/operations/getenhancedinvoicesreportresponse.md)>**
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
## getInvoice
|
|
537
|
+
|
|
538
|
+
The *Get invoice* endpoint returns a single invoice for a given invoiceId.
|
|
539
|
+
|
|
540
|
+
[Invoices](https://docs.codat.io/accounting-api#/schemas/Invoice) are itemized records of goods sold or services provided to a customer.
|
|
541
|
+
|
|
542
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=invoices) for integrations that support getting a specific invoice.
|
|
543
|
+
|
|
544
|
+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
### Example Usage
|
|
548
|
+
|
|
549
|
+
```typescript
|
|
550
|
+
import { CodatLending } from "@codat/lending";
|
|
551
|
+
import { GetAccountingInvoiceResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
552
|
+
|
|
553
|
+
const sdk = new CodatLending({
|
|
554
|
+
security: {
|
|
555
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
556
|
+
},
|
|
557
|
+
});
|
|
558
|
+
|
|
559
|
+
sdk.accountsReceivable.getInvoice({
|
|
560
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
561
|
+
invoiceId: "veritatis",
|
|
562
|
+
}).then((res: GetAccountingInvoiceResponse) => {
|
|
563
|
+
if (res.statusCode == 200) {
|
|
564
|
+
// handle response
|
|
565
|
+
}
|
|
566
|
+
});
|
|
567
|
+
```
|
|
568
|
+
|
|
569
|
+
### Parameters
|
|
570
|
+
|
|
571
|
+
| Parameter | Type | Required | Description |
|
|
572
|
+
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
|
|
573
|
+
| `request` | [operations.GetAccountingInvoiceRequest](../../models/operations/getaccountinginvoicerequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
574
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
575
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
### Response
|
|
579
|
+
|
|
580
|
+
**Promise<[operations.GetAccountingInvoiceResponse](../../models/operations/getaccountinginvoiceresponse.md)>**
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
## getInvoiceAttachment
|
|
584
|
+
|
|
585
|
+
The *Get invoice attachment* endpoint returns a specific attachment for a given `invoiceId` and `attachmentId`.
|
|
586
|
+
|
|
587
|
+
[Invoices](https://docs.codat.io/accounting-api#/schemas/Invoice) are itemized records of goods sold or services provided to a customer.
|
|
588
|
+
|
|
589
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=invoices) for integrations that support getting an invoice attachment.
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
### Example Usage
|
|
593
|
+
|
|
594
|
+
```typescript
|
|
595
|
+
import { CodatLending } from "@codat/lending";
|
|
596
|
+
import { GetAccountingInvoiceAttachmentResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
597
|
+
|
|
598
|
+
const sdk = new CodatLending({
|
|
599
|
+
security: {
|
|
600
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
601
|
+
},
|
|
602
|
+
});
|
|
603
|
+
|
|
604
|
+
sdk.accountsReceivable.getInvoiceAttachment({
|
|
605
|
+
attachmentId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
606
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
607
|
+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
608
|
+
invoiceId: "deserunt",
|
|
609
|
+
}).then((res: GetAccountingInvoiceAttachmentResponse) => {
|
|
610
|
+
if (res.statusCode == 200) {
|
|
611
|
+
// handle response
|
|
612
|
+
}
|
|
613
|
+
});
|
|
614
|
+
```
|
|
615
|
+
|
|
616
|
+
### Parameters
|
|
617
|
+
|
|
618
|
+
| Parameter | Type | Required | Description |
|
|
619
|
+
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
|
|
620
|
+
| `request` | [operations.GetAccountingInvoiceAttachmentRequest](../../models/operations/getaccountinginvoiceattachmentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
621
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
622
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
### Response
|
|
626
|
+
|
|
627
|
+
**Promise<[operations.GetAccountingInvoiceAttachmentResponse](../../models/operations/getaccountinginvoiceattachmentresponse.md)>**
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
## getPayment
|
|
631
|
+
|
|
632
|
+
The *Get payment* endpoint returns a single payment for a given paymentId.
|
|
633
|
+
|
|
634
|
+
[Payments](https://docs.codat.io/accounting-api#/schemas/Payment) represent an allocation of money within any customer accounts receivable account.
|
|
635
|
+
|
|
636
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=payments) for integrations that support getting a specific payment.
|
|
637
|
+
|
|
638
|
+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
### Example Usage
|
|
642
|
+
|
|
643
|
+
```typescript
|
|
644
|
+
import { CodatLending } from "@codat/lending";
|
|
645
|
+
import { GetAccountingPaymentResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
646
|
+
|
|
647
|
+
const sdk = new CodatLending({
|
|
648
|
+
security: {
|
|
649
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
650
|
+
},
|
|
651
|
+
});
|
|
652
|
+
|
|
653
|
+
sdk.accountsReceivable.getPayment({
|
|
654
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
655
|
+
paymentId: "perferendis",
|
|
656
|
+
}).then((res: GetAccountingPaymentResponse) => {
|
|
657
|
+
if (res.statusCode == 200) {
|
|
658
|
+
// handle response
|
|
659
|
+
}
|
|
660
|
+
});
|
|
661
|
+
```
|
|
662
|
+
|
|
663
|
+
### Parameters
|
|
664
|
+
|
|
665
|
+
| Parameter | Type | Required | Description |
|
|
666
|
+
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
|
|
667
|
+
| `request` | [operations.GetAccountingPaymentRequest](../../models/operations/getaccountingpaymentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
668
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
669
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
### Response
|
|
673
|
+
|
|
674
|
+
**Promise<[operations.GetAccountingPaymentResponse](../../models/operations/getaccountingpaymentresponse.md)>**
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
## isAgedDebtorReportAvailable
|
|
678
|
+
|
|
679
|
+
Indicates whether the aged debtor report is available for the company.
|
|
680
|
+
|
|
681
|
+
### Example Usage
|
|
682
|
+
|
|
683
|
+
```typescript
|
|
684
|
+
import { CodatLending } from "@codat/lending";
|
|
685
|
+
import { IsAgedDebtorReportAvailableResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
686
|
+
|
|
687
|
+
const sdk = new CodatLending({
|
|
688
|
+
security: {
|
|
689
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
690
|
+
},
|
|
691
|
+
});
|
|
692
|
+
|
|
693
|
+
sdk.accountsReceivable.isAgedDebtorReportAvailable({
|
|
694
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
695
|
+
}).then((res: IsAgedDebtorReportAvailableResponse) => {
|
|
696
|
+
if (res.statusCode == 200) {
|
|
697
|
+
// handle response
|
|
698
|
+
}
|
|
699
|
+
});
|
|
700
|
+
```
|
|
701
|
+
|
|
702
|
+
### Parameters
|
|
703
|
+
|
|
704
|
+
| Parameter | Type | Required | Description |
|
|
705
|
+
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
|
|
706
|
+
| `request` | [operations.IsAgedDebtorReportAvailableRequest](../../models/operations/isageddebtorreportavailablerequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
707
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
708
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
### Response
|
|
712
|
+
|
|
713
|
+
**Promise<[operations.IsAgedDebtorReportAvailableResponse](../../models/operations/isageddebtorreportavailableresponse.md)>**
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
## listCreditNotes
|
|
717
|
+
|
|
718
|
+
The *List credit notes* endpoint returns a list of [credit notes](https://docs.codat.io/accounting-api#/schemas/CreditNote) for a given company's connection.
|
|
719
|
+
|
|
720
|
+
[Credit notes](https://docs.codat.io/accounting-api#/schemas/CreditNote) are issued to a customer to indicate debt, typically with reference to a previously issued invoice and/or purchase.
|
|
721
|
+
|
|
722
|
+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
### Example Usage
|
|
726
|
+
|
|
727
|
+
```typescript
|
|
728
|
+
import { CodatLending } from "@codat/lending";
|
|
729
|
+
import { ListAccountingCreditNotesResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
730
|
+
|
|
731
|
+
const sdk = new CodatLending({
|
|
732
|
+
security: {
|
|
733
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
734
|
+
},
|
|
735
|
+
});
|
|
736
|
+
|
|
737
|
+
sdk.accountsReceivable.listCreditNotes({
|
|
738
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
739
|
+
orderBy: "-modifiedDate",
|
|
740
|
+
page: 1,
|
|
741
|
+
pageSize: 100,
|
|
742
|
+
query: "ipsam",
|
|
743
|
+
}).then((res: ListAccountingCreditNotesResponse) => {
|
|
744
|
+
if (res.statusCode == 200) {
|
|
745
|
+
// handle response
|
|
746
|
+
}
|
|
747
|
+
});
|
|
748
|
+
```
|
|
749
|
+
|
|
750
|
+
### Parameters
|
|
751
|
+
|
|
752
|
+
| Parameter | Type | Required | Description |
|
|
753
|
+
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
754
|
+
| `request` | [operations.ListAccountingCreditNotesRequest](../../models/operations/listaccountingcreditnotesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
755
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
756
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
### Response
|
|
760
|
+
|
|
761
|
+
**Promise<[operations.ListAccountingCreditNotesResponse](../../models/operations/listaccountingcreditnotesresponse.md)>**
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
## listCustomerAttachments
|
|
765
|
+
|
|
766
|
+
The *List customer attachments* endpoint returns a list of attachments avialable to download for given `customerId`.
|
|
767
|
+
|
|
768
|
+
[Customers](https://docs.codat.io/accounting-api#/schemas/Customer) are people or organizations that buy goods or services from the SMB.
|
|
769
|
+
|
|
770
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=customers) for integrations that support listing customer attachments.
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
### Example Usage
|
|
774
|
+
|
|
775
|
+
```typescript
|
|
776
|
+
import { CodatLending } from "@codat/lending";
|
|
777
|
+
import { ListAccountingCustomerAttachmentsResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
778
|
+
|
|
779
|
+
const sdk = new CodatLending({
|
|
780
|
+
security: {
|
|
781
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
782
|
+
},
|
|
783
|
+
});
|
|
784
|
+
|
|
785
|
+
sdk.accountsReceivable.listCustomerAttachments({
|
|
786
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
787
|
+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
788
|
+
customerId: "repellendus",
|
|
789
|
+
}).then((res: ListAccountingCustomerAttachmentsResponse) => {
|
|
790
|
+
if (res.statusCode == 200) {
|
|
791
|
+
// handle response
|
|
792
|
+
}
|
|
793
|
+
});
|
|
794
|
+
```
|
|
795
|
+
|
|
796
|
+
### Parameters
|
|
797
|
+
|
|
798
|
+
| Parameter | Type | Required | Description |
|
|
799
|
+
| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
|
|
800
|
+
| `request` | [operations.ListAccountingCustomerAttachmentsRequest](../../models/operations/listaccountingcustomerattachmentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
801
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
802
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
### Response
|
|
806
|
+
|
|
807
|
+
**Promise<[operations.ListAccountingCustomerAttachmentsResponse](../../models/operations/listaccountingcustomerattachmentsresponse.md)>**
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
## listCustomers
|
|
811
|
+
|
|
812
|
+
The *List customers* endpoint returns a list of [customers](https://docs.codat.io/accounting-api#/schemas/Customer) for a given company's connection.
|
|
813
|
+
|
|
814
|
+
[Customers](https://docs.codat.io/accounting-api#/schemas/Customer) are people or organizations that buy goods or services from the SMB.
|
|
815
|
+
|
|
816
|
+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
### Example Usage
|
|
820
|
+
|
|
821
|
+
```typescript
|
|
822
|
+
import { CodatLending } from "@codat/lending";
|
|
823
|
+
import { ListAccountingCustomersResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
824
|
+
|
|
825
|
+
const sdk = new CodatLending({
|
|
826
|
+
security: {
|
|
827
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
828
|
+
},
|
|
829
|
+
});
|
|
830
|
+
|
|
831
|
+
sdk.accountsReceivable.listCustomers({
|
|
832
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
833
|
+
orderBy: "-modifiedDate",
|
|
834
|
+
page: 1,
|
|
835
|
+
pageSize: 100,
|
|
836
|
+
query: "sapiente",
|
|
837
|
+
}).then((res: ListAccountingCustomersResponse) => {
|
|
838
|
+
if (res.statusCode == 200) {
|
|
839
|
+
// handle response
|
|
840
|
+
}
|
|
841
|
+
});
|
|
842
|
+
```
|
|
843
|
+
|
|
844
|
+
### Parameters
|
|
845
|
+
|
|
846
|
+
| Parameter | Type | Required | Description |
|
|
847
|
+
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
|
|
848
|
+
| `request` | [operations.ListAccountingCustomersRequest](../../models/operations/listaccountingcustomersrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
849
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
850
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
### Response
|
|
854
|
+
|
|
855
|
+
**Promise<[operations.ListAccountingCustomersResponse](../../models/operations/listaccountingcustomersresponse.md)>**
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
## listDirectIncomeAttachments
|
|
859
|
+
|
|
860
|
+
The *List direct income attachments* endpoint returns a list of attachments available to download for given `directIncomeId`.
|
|
861
|
+
|
|
862
|
+
[Direct incomes](https://docs.codat.io/accounting-api#/schemas/DirectIncome) are sales of items directly to a customer where payment is received at the point of the sale.
|
|
863
|
+
|
|
864
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=directIncomes) for integrations that support listing direct income attachments.
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
### Example Usage
|
|
868
|
+
|
|
869
|
+
```typescript
|
|
870
|
+
import { CodatLending } from "@codat/lending";
|
|
871
|
+
import { ListAccountingDirectIncomeAttachmentsResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
872
|
+
|
|
873
|
+
const sdk = new CodatLending({
|
|
874
|
+
security: {
|
|
875
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
876
|
+
},
|
|
877
|
+
});
|
|
878
|
+
|
|
879
|
+
sdk.accountsReceivable.listDirectIncomeAttachments({
|
|
880
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
881
|
+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
882
|
+
directIncomeId: "quo",
|
|
883
|
+
}).then((res: ListAccountingDirectIncomeAttachmentsResponse) => {
|
|
884
|
+
if (res.statusCode == 200) {
|
|
885
|
+
// handle response
|
|
886
|
+
}
|
|
887
|
+
});
|
|
888
|
+
```
|
|
889
|
+
|
|
890
|
+
### Parameters
|
|
891
|
+
|
|
892
|
+
| Parameter | Type | Required | Description |
|
|
893
|
+
| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
|
|
894
|
+
| `request` | [operations.ListAccountingDirectIncomeAttachmentsRequest](../../models/operations/listaccountingdirectincomeattachmentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
895
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
896
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
### Response
|
|
900
|
+
|
|
901
|
+
**Promise<[operations.ListAccountingDirectIncomeAttachmentsResponse](../../models/operations/listaccountingdirectincomeattachmentsresponse.md)>**
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
## listDirectIncomes
|
|
905
|
+
|
|
906
|
+
The *List direct incomes* endpoint returns a list of [direct incomes](https://docs.codat.io/accounting-api#/schemas/DirectIncome) for a given company's connection.
|
|
907
|
+
|
|
908
|
+
[Direct incomes](https://docs.codat.io/accounting-api#/schemas/DirectIncome) are sales of items directly to a customer where payment is received at the point of the sale.
|
|
909
|
+
|
|
910
|
+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
### Example Usage
|
|
914
|
+
|
|
915
|
+
```typescript
|
|
916
|
+
import { CodatLending } from "@codat/lending";
|
|
917
|
+
import { ListAccountingDirectIncomesResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
918
|
+
|
|
919
|
+
const sdk = new CodatLending({
|
|
920
|
+
security: {
|
|
921
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
922
|
+
},
|
|
923
|
+
});
|
|
924
|
+
|
|
925
|
+
sdk.accountsReceivable.listDirectIncomes({
|
|
926
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
927
|
+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
928
|
+
orderBy: "-modifiedDate",
|
|
929
|
+
page: 1,
|
|
930
|
+
pageSize: 100,
|
|
931
|
+
query: "odit",
|
|
932
|
+
}).then((res: ListAccountingDirectIncomesResponse) => {
|
|
933
|
+
if (res.statusCode == 200) {
|
|
934
|
+
// handle response
|
|
935
|
+
}
|
|
936
|
+
});
|
|
937
|
+
```
|
|
938
|
+
|
|
939
|
+
### Parameters
|
|
940
|
+
|
|
941
|
+
| Parameter | Type | Required | Description |
|
|
942
|
+
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
|
|
943
|
+
| `request` | [operations.ListAccountingDirectIncomesRequest](../../models/operations/listaccountingdirectincomesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
944
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
945
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
### Response
|
|
949
|
+
|
|
950
|
+
**Promise<[operations.ListAccountingDirectIncomesResponse](../../models/operations/listaccountingdirectincomesresponse.md)>**
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
## listInvoiceAttachments
|
|
954
|
+
|
|
955
|
+
The *List invoice attachments* endpoint returns a list of attachments available to download for given `invoiceId`.
|
|
956
|
+
|
|
957
|
+
[Invoices](https://docs.codat.io/accounting-api#/schemas/Invoice) are itemized records of goods sold or services provided to a customer.
|
|
958
|
+
|
|
959
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=invoices) for integrations that support listing invoice attachments.
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
### Example Usage
|
|
963
|
+
|
|
964
|
+
```typescript
|
|
965
|
+
import { CodatLending } from "@codat/lending";
|
|
966
|
+
import { ListAccountingInvoiceAttachmentsResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
967
|
+
|
|
968
|
+
const sdk = new CodatLending({
|
|
969
|
+
security: {
|
|
970
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
971
|
+
},
|
|
972
|
+
});
|
|
973
|
+
|
|
974
|
+
sdk.accountsReceivable.listInvoiceAttachments({
|
|
975
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
976
|
+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
977
|
+
invoiceId: "at",
|
|
978
|
+
}).then((res: ListAccountingInvoiceAttachmentsResponse) => {
|
|
979
|
+
if (res.statusCode == 200) {
|
|
980
|
+
// handle response
|
|
981
|
+
}
|
|
982
|
+
});
|
|
983
|
+
```
|
|
984
|
+
|
|
985
|
+
### Parameters
|
|
986
|
+
|
|
987
|
+
| Parameter | Type | Required | Description |
|
|
988
|
+
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
|
|
989
|
+
| `request` | [operations.ListAccountingInvoiceAttachmentsRequest](../../models/operations/listaccountinginvoiceattachmentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
990
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
991
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
992
|
+
|
|
993
|
+
|
|
994
|
+
### Response
|
|
995
|
+
|
|
996
|
+
**Promise<[operations.ListAccountingInvoiceAttachmentsResponse](../../models/operations/listaccountinginvoiceattachmentsresponse.md)>**
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
## listInvoices
|
|
1000
|
+
|
|
1001
|
+
The *List invoices* endpoint returns a list of [invoices](https://docs.codat.io/accounting-api#/schemas/Invoice) for a given company's connection.
|
|
1002
|
+
|
|
1003
|
+
[Invoices](https://docs.codat.io/accounting-api#/schemas/Invoice) are itemized records of goods sold or services provided to a customer.
|
|
1004
|
+
|
|
1005
|
+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
### Example Usage
|
|
1009
|
+
|
|
1010
|
+
```typescript
|
|
1011
|
+
import { CodatLending } from "@codat/lending";
|
|
1012
|
+
import { ListAccountingInvoicesResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
1013
|
+
|
|
1014
|
+
const sdk = new CodatLending({
|
|
1015
|
+
security: {
|
|
1016
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
1017
|
+
},
|
|
1018
|
+
});
|
|
1019
|
+
|
|
1020
|
+
sdk.accountsReceivable.listInvoices({
|
|
1021
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
1022
|
+
orderBy: "-modifiedDate",
|
|
1023
|
+
page: 1,
|
|
1024
|
+
pageSize: 100,
|
|
1025
|
+
query: "at",
|
|
1026
|
+
}).then((res: ListAccountingInvoicesResponse) => {
|
|
1027
|
+
if (res.statusCode == 200) {
|
|
1028
|
+
// handle response
|
|
1029
|
+
}
|
|
1030
|
+
});
|
|
1031
|
+
```
|
|
1032
|
+
|
|
1033
|
+
### Parameters
|
|
1034
|
+
|
|
1035
|
+
| Parameter | Type | Required | Description |
|
|
1036
|
+
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
|
|
1037
|
+
| `request` | [operations.ListAccountingInvoicesRequest](../../models/operations/listaccountinginvoicesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1038
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
1039
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
### Response
|
|
1043
|
+
|
|
1044
|
+
**Promise<[operations.ListAccountingInvoicesResponse](../../models/operations/listaccountinginvoicesresponse.md)>**
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
## listPayments
|
|
1048
|
+
|
|
1049
|
+
The *List payments* endpoint returns a list of [payments](https://docs.codat.io/accounting-api#/schemas/Payment) for a given company's connection.
|
|
1050
|
+
|
|
1051
|
+
[Payments](https://docs.codat.io/accounting-api#/schemas/Payment) represent an allocation of money within any customer accounts receivable account.
|
|
1052
|
+
|
|
1053
|
+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
### Example Usage
|
|
1057
|
+
|
|
1058
|
+
```typescript
|
|
1059
|
+
import { CodatLending } from "@codat/lending";
|
|
1060
|
+
import { ListAccountingPaymentsResponse } from "@codat/lending/dist/sdk/models/operations";
|
|
1061
|
+
|
|
1062
|
+
const sdk = new CodatLending({
|
|
1063
|
+
security: {
|
|
1064
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
1065
|
+
},
|
|
1066
|
+
});
|
|
1067
|
+
|
|
1068
|
+
sdk.accountsReceivable.listPayments({
|
|
1069
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
1070
|
+
orderBy: "-modifiedDate",
|
|
1071
|
+
page: 1,
|
|
1072
|
+
pageSize: 100,
|
|
1073
|
+
query: "maiores",
|
|
1074
|
+
}).then((res: ListAccountingPaymentsResponse) => {
|
|
1075
|
+
if (res.statusCode == 200) {
|
|
1076
|
+
// handle response
|
|
1077
|
+
}
|
|
1078
|
+
});
|
|
1079
|
+
```
|
|
1080
|
+
|
|
1081
|
+
### Parameters
|
|
1082
|
+
|
|
1083
|
+
| Parameter | Type | Required | Description |
|
|
1084
|
+
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
|
|
1085
|
+
| `request` | [operations.ListAccountingPaymentsRequest](../../models/operations/listaccountingpaymentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1086
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
1087
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
### Response
|
|
1091
|
+
|
|
1092
|
+
**Promise<[operations.ListAccountingPaymentsResponse](../../models/operations/listaccountingpaymentsresponse.md)>**
|
|
1093
|
+
|