@codat/lending 4.1.0 → 4.3.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.
Files changed (291) hide show
  1. package/README.md +36 -1
  2. package/dist/sdk/companies.d.ts +22 -7
  3. package/dist/sdk/companies.js +22 -7
  4. package/dist/sdk/fileupload.js +1 -1
  5. package/dist/sdk/models/operations/getcreateoperation.d.ts +1 -1
  6. package/dist/sdk/models/operations/uploadfiles.d.ts +1 -5
  7. package/dist/sdk/models/operations/uploadfiles.js +4 -22
  8. package/dist/sdk/models/shared/accountingbillcreditnote.d.ts +2 -2
  9. package/dist/sdk/models/shared/accountingbillcreditnote.js +3 -3
  10. package/dist/sdk/models/shared/accountingcreateaccountresponse.d.ts +171 -34
  11. package/dist/sdk/models/shared/accountingcreateaccountresponse.js +194 -4
  12. package/dist/sdk/models/shared/accountingcreatebankaccountresponse.d.ts +116 -22
  13. package/dist/sdk/models/shared/accountingcreatebankaccountresponse.js +118 -4
  14. package/dist/sdk/models/shared/accountingcreatebanktransactionsresponse.d.ts +12 -2
  15. package/dist/sdk/models/shared/accountingcreatebanktransactionsresponse.js +26 -4
  16. package/dist/sdk/models/shared/accountingcreatedirectcostresponse.d.ts +165 -18
  17. package/dist/sdk/models/shared/accountingcreatedirectcostresponse.js +150 -4
  18. package/dist/sdk/models/shared/accountingcreatepaymentresponse.d.ts +797 -675
  19. package/dist/sdk/models/shared/accountingcreatepaymentresponse.js +782 -4
  20. package/dist/sdk/models/shared/accountingcreatesupplierresponse.d.ts +69 -11
  21. package/dist/sdk/models/shared/accountingcreatesupplierresponse.js +99 -4
  22. package/dist/sdk/models/shared/accountingcreatetransferresponse.d.ts +81 -9
  23. package/dist/sdk/models/shared/accountingcreatetransferresponse.js +93 -4
  24. package/dist/sdk/models/shared/accountingcreditnote.d.ts +2 -2
  25. package/dist/sdk/models/shared/accountingcreditnote.js +3 -3
  26. package/dist/sdk/models/shared/accountingdirectcost.d.ts +11 -5
  27. package/dist/sdk/models/shared/accountingdirectcost.js +18 -11
  28. package/dist/sdk/models/shared/accountinginvoice.d.ts +10 -5
  29. package/dist/sdk/models/shared/accountinginvoice.js +11 -5
  30. package/dist/sdk/models/shared/accountingjournalentry.d.ts +3 -7
  31. package/dist/sdk/models/shared/accountingjournalentry.js +3 -3
  32. package/dist/sdk/models/shared/accounttransactionline.d.ts +3 -7
  33. package/dist/sdk/models/shared/accounttransactionline.js +3 -3
  34. package/dist/sdk/models/shared/accounttransactionlinerecordref.d.ts +30 -0
  35. package/dist/sdk/models/shared/accounttransactionlinerecordref.js +70 -0
  36. package/dist/sdk/models/shared/bankingtransactioncategory.d.ts +5 -1
  37. package/dist/sdk/models/shared/bankingtransactioncategory.js +5 -1
  38. package/dist/sdk/models/shared/codatfile.d.ts +5 -0
  39. package/dist/sdk/models/shared/codatfile.js +47 -0
  40. package/dist/sdk/models/shared/company.d.ts +10 -0
  41. package/dist/sdk/models/shared/company.js +20 -1
  42. package/dist/sdk/models/shared/companyrequestbody.d.ts +5 -0
  43. package/dist/sdk/models/shared/companyrequestbody.js +7 -0
  44. package/dist/sdk/models/shared/connection.d.ts +2 -0
  45. package/dist/sdk/models/shared/connection.js +2 -0
  46. package/dist/sdk/models/shared/contactref.d.ts +9 -3
  47. package/dist/sdk/models/shared/contactref.js +9 -2
  48. package/dist/sdk/models/shared/directcostprototype.d.ts +11 -5
  49. package/dist/sdk/models/shared/directcostprototype.js +18 -11
  50. package/dist/sdk/models/shared/errormessage.d.ts +5 -0
  51. package/dist/sdk/models/shared/errormessage.js +7 -0
  52. package/dist/sdk/models/shared/errorvalidation.d.ts +9 -0
  53. package/dist/sdk/models/shared/errorvalidation.js +56 -0
  54. package/dist/sdk/models/shared/errorvalidationitem.d.ts +15 -0
  55. package/dist/sdk/models/shared/errorvalidationitem.js +55 -0
  56. package/dist/sdk/models/shared/fileupload.d.ts +8 -0
  57. package/dist/sdk/models/shared/fileupload.js +44 -0
  58. package/dist/sdk/models/shared/index.d.ts +8 -0
  59. package/dist/sdk/models/shared/index.js +8 -0
  60. package/dist/sdk/models/shared/invoicelineitem.d.ts +0 -2
  61. package/dist/sdk/models/shared/items.d.ts +2 -6
  62. package/dist/sdk/models/shared/items.js +2 -7
  63. package/dist/sdk/models/shared/journalentryrecordref.d.ts +30 -0
  64. package/dist/sdk/models/shared/journalentryrecordref.js +70 -0
  65. package/dist/sdk/models/shared/journalline.d.ts +2 -2
  66. package/dist/sdk/models/shared/journalline.js +3 -3
  67. package/dist/sdk/models/shared/tracking.d.ts +2 -1
  68. package/dist/sdk/models/shared/tracking.js +3 -2
  69. package/dist/sdk/models/shared/trackingrecordref.d.ts +22 -0
  70. package/dist/sdk/models/shared/trackingrecordref.js +62 -0
  71. package/dist/sdk/models/shared/withholdingtaxitems.d.ts +11 -0
  72. package/dist/sdk/models/shared/withholdingtaxitems.js +50 -0
  73. package/dist/sdk/sdk.js +3 -3
  74. package/docs/sdk/models/operations/createcompanyresponse.md +7 -7
  75. package/docs/sdk/models/operations/createconnectionresponse.md +7 -7
  76. package/docs/sdk/models/operations/createsupplierrequest.md +7 -7
  77. package/docs/sdk/models/operations/getaccountingagedcreditorsreportresponse.md +7 -7
  78. package/docs/sdk/models/operations/getaccountingageddebtorsreportresponse.md +7 -7
  79. package/docs/sdk/models/operations/getaccountingbillcreditnoteresponse.md +7 -7
  80. package/docs/sdk/models/operations/getaccountingbillpaymentresponse.md +7 -7
  81. package/docs/sdk/models/operations/getaccountingcreditnoteresponse.md +7 -7
  82. package/docs/sdk/models/operations/getaccountingprofileresponse.md +7 -7
  83. package/docs/sdk/models/operations/getaccountingsupplierresponse.md +7 -7
  84. package/docs/sdk/models/operations/getbankingaccountresponse.md +7 -7
  85. package/docs/sdk/models/operations/getbankingtransactioncategoryresponse.md +7 -7
  86. package/docs/sdk/models/operations/getbankingtransactionresponse.md +7 -7
  87. package/docs/sdk/models/operations/getcategorizedbalancesheetstatementresponse.md +7 -7
  88. package/docs/sdk/models/operations/getcategorizedprofitandlossstatementresponse.md +7 -7
  89. package/docs/sdk/models/operations/getcommercecustomerresponse.md +7 -7
  90. package/docs/sdk/models/operations/getcommercedisputeresponse.md +7 -7
  91. package/docs/sdk/models/operations/getcommercelocationresponse.md +7 -7
  92. package/docs/sdk/models/operations/getcommerceorderresponse.md +7 -7
  93. package/docs/sdk/models/operations/getcommerceproductcategoryresponse.md +7 -7
  94. package/docs/sdk/models/operations/getcompanyresponse.md +7 -7
  95. package/docs/sdk/models/operations/getconnectionresponse.md +7 -7
  96. package/docs/sdk/models/operations/getcreateoperationrequest.md +4 -4
  97. package/docs/sdk/models/operations/getloansummaryresponse.md +7 -7
  98. package/docs/sdk/models/operations/getpulloperationresponse.md +7 -7
  99. package/docs/sdk/models/operations/listaccountingaccountsresponse.md +7 -7
  100. package/docs/sdk/models/operations/listaccountingaccounttransactionsresponse.md +7 -7
  101. package/docs/sdk/models/operations/listaccountingbankaccountsresponse.md +7 -7
  102. package/docs/sdk/models/operations/listaccountingbankaccounttransactionsresponse.md +7 -7
  103. package/docs/sdk/models/operations/listaccountingbillcreditnotesresponse.md +7 -7
  104. package/docs/sdk/models/operations/listaccountingbillpaymentsresponse.md +7 -7
  105. package/docs/sdk/models/operations/listaccountingbillsresponse.md +7 -7
  106. package/docs/sdk/models/operations/listaccountingcreditnotesresponse.md +7 -7
  107. package/docs/sdk/models/operations/listaccountingcustomersresponse.md +7 -7
  108. package/docs/sdk/models/operations/listaccountingdirectcostsresponse.md +7 -7
  109. package/docs/sdk/models/operations/listaccountingdirectincomesresponse.md +7 -7
  110. package/docs/sdk/models/operations/listaccountinginvoicesresponse.md +7 -7
  111. package/docs/sdk/models/operations/listaccountingjournalentriesresponse.md +7 -7
  112. package/docs/sdk/models/operations/listaccountingjournalsresponse.md +7 -7
  113. package/docs/sdk/models/operations/listaccountingpaymentsresponse.md +7 -7
  114. package/docs/sdk/models/operations/listaccountingsuppliersresponse.md +7 -7
  115. package/docs/sdk/models/operations/listaccountingtransfersresponse.md +7 -7
  116. package/docs/sdk/models/operations/listbankingaccountbalancesresponse.md +7 -7
  117. package/docs/sdk/models/operations/listbankingaccountsresponse.md +7 -7
  118. package/docs/sdk/models/operations/listbankingtransactioncategoriesresponse.md +7 -7
  119. package/docs/sdk/models/operations/listbankingtransactionsresponse.md +7 -7
  120. package/docs/sdk/models/operations/listcommercecustomersresponse.md +7 -7
  121. package/docs/sdk/models/operations/listcommercedisputesresponse.md +7 -7
  122. package/docs/sdk/models/operations/listcommercelocationsresponse.md +7 -7
  123. package/docs/sdk/models/operations/listcommerceordersresponse.md +7 -7
  124. package/docs/sdk/models/operations/listcommercepaymentmethodsresponse.md +7 -7
  125. package/docs/sdk/models/operations/listcommercepaymentsresponse.md +7 -7
  126. package/docs/sdk/models/operations/listcommerceproductcategoriesresponse.md +7 -7
  127. package/docs/sdk/models/operations/listcommerceproductsresponse.md +7 -7
  128. package/docs/sdk/models/operations/listcommercetransactionsresponse.md +7 -7
  129. package/docs/sdk/models/operations/listcompaniesresponse.md +7 -7
  130. package/docs/sdk/models/operations/listconnectionsresponse.md +7 -7
  131. package/docs/sdk/models/operations/listcreateoperationsresponse.md +7 -7
  132. package/docs/sdk/models/operations/listdataintegritydetailsresponse.md +7 -7
  133. package/docs/sdk/models/operations/listloantransactionsresponse.md +7 -7
  134. package/docs/sdk/models/operations/listpulloperationsresponse.md +7 -7
  135. package/docs/sdk/models/operations/refreshdatatyperesponse.md +7 -7
  136. package/docs/sdk/models/operations/unlinkconnectionresponse.md +7 -7
  137. package/docs/sdk/models/operations/updatecompanyresponse.md +7 -7
  138. package/docs/sdk/models/operations/uploadfilesrequest.md +5 -5
  139. package/docs/sdk/models/shared/accountingaccounts.md +7 -7
  140. package/docs/sdk/models/shared/accountingaccounttransactions.md +7 -7
  141. package/docs/sdk/models/shared/accountingbankaccounts.md +7 -7
  142. package/docs/sdk/models/shared/accountingbanktransactions.md +7 -7
  143. package/docs/sdk/models/shared/accountingbillcreditnote.md +1 -1
  144. package/docs/sdk/models/shared/accountingbillcreditnotes.md +7 -7
  145. package/docs/sdk/models/shared/accountingbillpayment.md +1 -1
  146. package/docs/sdk/models/shared/accountingbillpayments.md +7 -7
  147. package/docs/sdk/models/shared/accountingbills.md +7 -7
  148. package/docs/sdk/models/shared/accountingcreateaccountresponse.md +16 -16
  149. package/docs/sdk/models/shared/accountingcreateaccountresponseaccountingaccount.md +54 -0
  150. package/docs/sdk/models/shared/accountingcreateaccountresponsevaliddatatypelinks.md +50 -0
  151. package/docs/sdk/models/shared/accountingcreatebankaccountresponse.md +16 -16
  152. package/docs/sdk/models/shared/accountingcreatebankaccountresponseaccountingbankaccount.md +42 -0
  153. package/docs/sdk/models/shared/accountingcreatebankaccounttransactions.md +11 -0
  154. package/docs/sdk/models/shared/accountingcreatebanktransactionsresponse.md +1 -1
  155. package/docs/sdk/models/shared/accountingcreatedirectcostresponse.md +16 -16
  156. package/docs/sdk/models/shared/accountingcreatedirectcostresponseaccountingdirectcost.md +41 -0
  157. package/docs/sdk/models/shared/accountingcreatedirectcostresponsecontactreference.md +11 -0
  158. package/docs/sdk/models/shared/accountingcreatedirectcostresponsedatatype.md +11 -0
  159. package/docs/sdk/models/shared/accountingcreatepaymentresponse.md +16 -16
  160. package/docs/sdk/models/shared/accountingcreatepaymentresponseaccountingpayment.md +703 -0
  161. package/docs/sdk/models/shared/accountingcreatesupplierresponse.md +1 -1
  162. package/docs/sdk/models/shared/accountingcreatesupplierresponseaccountingsupplier.md +29 -0
  163. package/docs/sdk/models/shared/accountingcreatetransferresponse.md +1 -1
  164. package/docs/sdk/models/shared/accountingcreatetransferresponseaccountingtransfer.md +25 -0
  165. package/docs/sdk/models/shared/accountingcreditnote.md +1 -1
  166. package/docs/sdk/models/shared/accountingcreditnotes.md +7 -7
  167. package/docs/sdk/models/shared/accountingcustomers.md +7 -7
  168. package/docs/sdk/models/shared/accountingdirectcost.md +1 -1
  169. package/docs/sdk/models/shared/accountingdirectcostcontactreference.md +11 -0
  170. package/docs/sdk/models/shared/accountingdirectcostdatatype.md +11 -0
  171. package/docs/sdk/models/shared/accountingdirectcosts.md +7 -7
  172. package/docs/sdk/models/shared/accountingdirectincomes.md +7 -7
  173. package/docs/sdk/models/shared/accountinginvoice.md +1 -1
  174. package/docs/sdk/models/shared/accountinginvoicedatatype.md +10 -0
  175. package/docs/sdk/models/shared/accountinginvoices.md +7 -7
  176. package/docs/sdk/models/shared/accountingjournalentries.md +7 -7
  177. package/docs/sdk/models/shared/accountingjournalentry.md +1 -1
  178. package/docs/sdk/models/shared/accountingjournals.md +7 -7
  179. package/docs/sdk/models/shared/accountingpayment.md +1 -1
  180. package/docs/sdk/models/shared/accountingpayments.md +7 -7
  181. package/docs/sdk/models/shared/accountingsuppliers.md +7 -7
  182. package/docs/sdk/models/shared/accountingtransfers.md +7 -7
  183. package/docs/sdk/models/shared/accounts.md +1 -1
  184. package/docs/sdk/models/shared/accounttransactionline.md +5 -5
  185. package/docs/sdk/models/shared/accounttransactionlinerecordref.md +11 -0
  186. package/docs/sdk/models/shared/accounttransactionlinerecordrefdatatype.md +20 -0
  187. package/docs/sdk/models/shared/bankingaccountbalances.md +7 -7
  188. package/docs/sdk/models/shared/bankingaccounts.md +7 -7
  189. package/docs/sdk/models/shared/bankingtransactioncategories.md +7 -7
  190. package/docs/sdk/models/shared/bankingtransactioncategory.md +3 -1
  191. package/docs/sdk/models/shared/bankingtransactions.md +7 -7
  192. package/docs/sdk/models/{operations/uploadfilesrequestbody.md → shared/codatfile.md} +1 -1
  193. package/docs/sdk/models/shared/commercecustomers.md +7 -7
  194. package/docs/sdk/models/shared/commercedisputes.md +7 -7
  195. package/docs/sdk/models/shared/commercelocations.md +7 -7
  196. package/docs/sdk/models/shared/commerceorders.md +7 -7
  197. package/docs/sdk/models/shared/commercepayment.md +1 -1
  198. package/docs/sdk/models/shared/commercepaymentmethods.md +7 -7
  199. package/docs/sdk/models/shared/commercepayments.md +7 -7
  200. package/docs/sdk/models/shared/commerceproductcategories.md +7 -7
  201. package/docs/sdk/models/shared/commerceproducts.md +7 -7
  202. package/docs/sdk/models/shared/commercetransactions.md +7 -7
  203. package/docs/sdk/models/shared/companies.md +7 -7
  204. package/docs/sdk/models/shared/company.md +1 -0
  205. package/docs/sdk/models/shared/companyrequestbody.md +1 -0
  206. package/docs/sdk/models/shared/connections.md +7 -7
  207. package/docs/sdk/models/shared/contactref.md +4 -4
  208. package/docs/sdk/models/shared/contactrefdatatype.md +11 -0
  209. package/docs/sdk/models/shared/contactreference.md +11 -0
  210. package/docs/sdk/models/shared/dataintegritydetails.md +7 -7
  211. package/docs/sdk/models/shared/directcostprototype.md +1 -1
  212. package/docs/sdk/models/shared/directcostprototypedatatype.md +11 -0
  213. package/docs/sdk/models/shared/enhancedcashflowtransaction.md +2 -2
  214. package/docs/sdk/models/shared/enhancedcashflowtransactions.md +5 -5
  215. package/docs/sdk/models/shared/enhancedinvoicesreport.md +4 -4
  216. package/docs/sdk/models/shared/errormessage.md +9 -8
  217. package/docs/sdk/models/shared/errorvalidation.md +11 -0
  218. package/docs/sdk/models/shared/errorvalidationitem.md +10 -0
  219. package/docs/sdk/models/shared/fileupload.md +8 -0
  220. package/docs/sdk/models/shared/groupreference.md +8 -0
  221. package/docs/sdk/models/shared/invoicelineitem.md +1 -1
  222. package/docs/sdk/models/shared/items.md +3 -4
  223. package/docs/sdk/models/shared/journalentryrecordref.md +11 -0
  224. package/docs/sdk/models/shared/journalentryrecordrefdatatype.md +20 -0
  225. package/docs/sdk/models/shared/journallinetracking.md +3 -3
  226. package/docs/sdk/models/shared/pulloperations.md +7 -7
  227. package/docs/sdk/models/shared/pushoperations.md +7 -7
  228. package/docs/sdk/models/shared/salesorderreference.md +4 -4
  229. package/docs/sdk/models/shared/sourcetype.md +2 -0
  230. package/docs/sdk/models/shared/tracking.md +1 -1
  231. package/docs/sdk/models/shared/trackingrecordref.md +11 -0
  232. package/docs/sdk/models/shared/trackingrecordrefdatatype.md +12 -0
  233. package/docs/sdk/models/shared/withholdingtaxitems.md +9 -0
  234. package/docs/sdks/accountbalances/README.md +1 -1
  235. package/docs/sdks/accounts/README.md +2 -2
  236. package/docs/sdks/accounttransactions/README.md +2 -2
  237. package/docs/sdks/balancesheet/README.md +2 -2
  238. package/docs/sdks/bankaccounts/README.md +2 -2
  239. package/docs/sdks/banktransactions/README.md +2 -2
  240. package/docs/sdks/billcreditnotes/README.md +2 -2
  241. package/docs/sdks/billpayments/README.md +2 -2
  242. package/docs/sdks/bills/README.md +5 -5
  243. package/docs/sdks/cashflow/README.md +1 -1
  244. package/docs/sdks/categorizedstatement/README.md +1 -1
  245. package/docs/sdks/codatlendingaccountingbankdata/README.md +1 -1
  246. package/docs/sdks/codatlendingaccounts/README.md +2 -2
  247. package/docs/sdks/codatlendingbankingtransactions/README.md +2 -2
  248. package/docs/sdks/codatlendingcustomers/README.md +2 -2
  249. package/docs/sdks/codatlendingdirectcosts/README.md +5 -5
  250. package/docs/sdks/codatlendingfinancialstatementsaccounts/README.md +2 -2
  251. package/docs/sdks/codatlendingloanwritebackaccounts/README.md +2 -2
  252. package/docs/sdks/codatlendingpayments/README.md +4 -3
  253. package/docs/sdks/codatlendingreports/README.md +2 -2
  254. package/docs/sdks/codatlendingsalespayments/README.md +2 -2
  255. package/docs/sdks/codatlendingsuppliers/README.md +26 -7
  256. package/docs/sdks/codatlendingtransactions/README.md +2 -2
  257. package/docs/sdks/codatlendingtransfers/README.md +2 -2
  258. package/docs/sdks/companies/README.md +38 -13
  259. package/docs/sdks/companyinfo/README.md +2 -2
  260. package/docs/sdks/connections/README.md +5 -5
  261. package/docs/sdks/createoperations/README.md +2 -2
  262. package/docs/sdks/creditnotes/README.md +2 -2
  263. package/docs/sdks/customers/README.md +5 -5
  264. package/docs/sdks/dataintegrity/README.md +3 -3
  265. package/docs/sdks/directcosts/README.md +10 -11
  266. package/docs/sdks/directincomes/README.md +5 -5
  267. package/docs/sdks/disputes/README.md +2 -2
  268. package/docs/sdks/excelreports/README.md +3 -3
  269. package/docs/sdks/fileupload/README.md +8 -6
  270. package/docs/sdks/invoices/README.md +7 -7
  271. package/docs/sdks/journalentries/README.md +2 -2
  272. package/docs/sdks/journals/README.md +2 -2
  273. package/docs/sdks/liabilities/README.md +4 -4
  274. package/docs/sdks/locations/README.md +2 -2
  275. package/docs/sdks/managedata/README.md +1 -1
  276. package/docs/sdks/metrics/README.md +3 -3
  277. package/docs/sdks/orders/README.md +2 -2
  278. package/docs/sdks/paymentmethods/README.md +2 -2
  279. package/docs/sdks/payments/README.md +2 -2
  280. package/docs/sdks/productcategories/README.md +2 -2
  281. package/docs/sdks/products/README.md +2 -2
  282. package/docs/sdks/profitandloss/README.md +2 -2
  283. package/docs/sdks/pulloperations/README.md +2 -2
  284. package/docs/sdks/refresh/README.md +2 -2
  285. package/docs/sdks/reports/README.md +4 -4
  286. package/docs/sdks/suppliers/README.md +5 -5
  287. package/docs/sdks/transactioncategories/README.md +2 -2
  288. package/docs/sdks/transfers/README.md +3 -4
  289. package/package.json +1 -1
  290. package/docs/sdk/models/shared/accountingdirectcostcontactref.md +0 -11
  291. package/docs/sdk/models/shared/directcostprototypecontactref.md +0 -11
@@ -0,0 +1,42 @@
1
+ # ~~AccountingCreateBankAccountResponseAccountingBankAccount~~
2
+
3
+ > **Accessing Bank Accounts through Banking API**
4
+ >
5
+ > This datatype was originally used for accessing bank account data both in accounting integrations and open banking aggregators.
6
+ >
7
+ > To view bank account data through the Banking API, please refer to the new datatype [here](https://docs.codat.io/lending-api#/schemas/Account)
8
+
9
+ > View the coverage for bank accounts in the <a className="external" href="https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=bankAccounts" target="_blank">Data coverage explorer</a>.
10
+
11
+ ## Overview
12
+
13
+ A list of bank accounts associated with a company and a specific data connection.
14
+
15
+ Bank accounts data includes:
16
+ * The name and ID of the account in the accounting platform.
17
+ * The currency and balance of the account.
18
+ * The sort code and account number.
19
+
20
+ > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible.
21
+
22
+
23
+ ## Fields
24
+
25
+ | Field | Type | Required | Description | Example |
26
+ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
27
+ | `accountName` | *string* | :heavy_minus_sign: | Name of the bank account in the accounting platform. | |
28
+ | `accountNumber` | *string* | :heavy_minus_sign: | Account number for the bank account.<br/><br/>Xero integrations<br/>Only a UK account number shows for bank accounts with GBP currency and a combined total of sort code and account number that equals 14 digits, For non-GBP accounts, the full bank account number is populated.<br/><br/>FreeAgent integrations<br/>For Credit accounts, only the last four digits are required. For other types, the field is optional. | |
29
+ | `accountType` | [shared.AccountingBankAccountType](../../../sdk/models/shared/accountingbankaccounttype.md) | :heavy_minus_sign: | The type of transactions and balances on the account. <br/>For Credit accounts, positive balances are liabilities, and positive transactions **reduce** liabilities. <br/>For Debit accounts, positive balances are assets, and positive transactions **increase** assets. | |
30
+ | `availableBalance` | *number* | :heavy_minus_sign: | Total available balance of the bank account as reported by the underlying data source. This may take into account overdrafts or pending transactions for example. | |
31
+ | `balance` | *number* | :heavy_minus_sign: | Balance of the bank account. | |
32
+ | `currency` | *string* | :heavy_minus_sign: | The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_.<br/><br/>## Unknown currencies<br/><br/>In line with the ISO 4217 specification, the code _XXX_ is used when the data source does not return a currency for a transaction. <br/><br/>There are only a very small number of edge cases where this currency code is returned by the Codat system. | GBP |
33
+ | `iBan` | *string* | :heavy_minus_sign: | International bank account number of the account. Often used when making or receiving international payments. | |
34
+ | `id` | *string* | :heavy_minus_sign: | Identifier for the account, unique for the company in the accounting platform. | |
35
+ | `institution` | *string* | :heavy_minus_sign: | The institution of the bank account. | |
36
+ | `metadata` | [shared.Metadata](../../../sdk/models/shared/metadata.md) | :heavy_minus_sign: | N/A | |
37
+ | `modifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
38
+ | `nominalCode` | *string* | :heavy_minus_sign: | Code used to identify each nominal account for a business. | |
39
+ | `overdraftLimit` | *number* | :heavy_minus_sign: | Pre-arranged overdraft limit of the account.<br/><br/>The value is always positive. For example, an overdraftLimit of `1000` means that the balance of the account can go down to `-1000`. | |
40
+ | `sortCode` | *string* | :heavy_minus_sign: | Sort code for the bank account.<br/><br/>Xero integrations<br/>The sort code is only displayed when the currency = GBP and the sort code and account number sum to 14 digits. For non-GBP accounts, this field is not populated. | |
41
+ | `sourceModifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
42
+ | `supplementalData` | [shared.SupplementalData](../../../sdk/models/shared/supplementaldata.md) | :heavy_minus_sign: | Supplemental data is additional data you can include in our standard data types. <br/><br/>It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data. | |
@@ -0,0 +1,11 @@
1
+ # ~~AccountingCreateBankAccountTransactions~~
2
+
3
+ > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible.
4
+
5
+
6
+ ## Fields
7
+
8
+ | Field | Type | Required | Description | Example |
9
+ | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
10
+ | `accountId` | *string* | :heavy_minus_sign: | Unique identifier for a bank account. | 13d946f0-c5d5-42bc-b092-97ece17923ab |
11
+ | `transactions` | [shared.CreateBankAccountTransaction](../../../sdk/models/shared/createbankaccounttransaction.md)[] | :heavy_minus_sign: | N/A | |
@@ -8,7 +8,7 @@
8
8
  | `changes` | [shared.PushOperationChange](../../../sdk/models/shared/pushoperationchange.md)[] | :heavy_minus_sign: | Contains a single entry that communicates which record has changed and the manner in which it changed. | |
9
9
  | `companyId` | *string* | :heavy_check_mark: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
10
10
  | `completedOnUtc` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:<br/><br/>```<br/>2020-10-08T22:40:50Z<br/>2021-01-01T00:00:00<br/>```<br/><br/><br/><br/>When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:<br/><br/>- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`<br/>- Unqualified local time: `2021-11-15T01:00:00`<br/>- UTC time offsets: `2021-11-15T01:00:00-05:00`<br/><br/>> Time zones<br/>> <br/>> Not all dates from Codat will contain information about time zones. <br/>> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23 00:00:00 +0000 UTC |
11
- | `data` | [shared.AccountingCreateBankTransactions](../../../sdk/models/shared/accountingcreatebanktransactions.md) | :heavy_minus_sign: | N/A | |
11
+ | `data` | [shared.AccountingCreateBankAccountTransactions](../../../sdk/models/shared/accountingcreatebankaccounttransactions.md) | :heavy_minus_sign: | N/A | |
12
12
  | `dataConnectionKey` | *string* | :heavy_check_mark: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
13
13
  | `dataType` | [shared.DataType](../../../sdk/models/shared/datatype.md) | :heavy_minus_sign: | Available Data types | invoices |
14
14
  | `errorMessage` | *string* | :heavy_minus_sign: | A message about the error. | |
@@ -3,19 +3,19 @@
3
3
 
4
4
  ## Fields
5
5
 
6
- | Field | Type | Required | Description | Example |
7
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
8
- | `changes` | [shared.PushOperationChange](../../../sdk/models/shared/pushoperationchange.md)[] | :heavy_minus_sign: | Contains a single entry that communicates which record has changed and the manner in which it changed. | |
9
- | `companyId` | *string* | :heavy_check_mark: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
10
- | `completedOnUtc` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:<br/><br/>```<br/>2020-10-08T22:40:50Z<br/>2021-01-01T00:00:00<br/>```<br/><br/><br/><br/>When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:<br/><br/>- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`<br/>- Unqualified local time: `2021-11-15T01:00:00`<br/>- UTC time offsets: `2021-11-15T01:00:00-05:00`<br/><br/>> Time zones<br/>> <br/>> Not all dates from Codat will contain information about time zones. <br/>> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23 00:00:00 +0000 UTC |
11
- | `data` | [shared.AccountingDirectCost](../../../sdk/models/shared/accountingdirectcost.md) | :heavy_minus_sign: | > **Language tip:** Direct costs may also be referred to as **Spend transactions**, **Spend money transactions**, or **Payments** in various accounting platforms.<br/><br/>> View the coverage for direct costs in the <a className="external" href="https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=directCosts" target="_blank">Data coverage explorer</a>.<br/><br/>## Overview<br/><br/>Direct costs are the expenses associated with a business' operations. For example, purchases of raw materials and service fees are considered direct costs.<br/><br/>Direct costs include:<br/> * Purchasing an item and paying it off at the point of the purchase<br/> * Receiving cash from a refunded item if the refund is made by the supplier<br/> * Withdrawing money from a bank account <br/> * Writing a cheque<br/><br/>Direct costs is a child data type of [account transactions](https://docs.codat.io/lending-api#/schemas/AccountTransaction). | |
12
- | `dataConnectionKey` | *string* | :heavy_check_mark: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
13
- | `dataType` | [shared.DataType](../../../sdk/models/shared/datatype.md) | :heavy_minus_sign: | Available Data types | invoices |
14
- | `errorMessage` | *string* | :heavy_minus_sign: | A message about the error. | |
15
- | `pushOperationKey` | *string* | :heavy_check_mark: | A unique identifier generated by Codat to represent this single push operation. This identifier can be used to track the status of the push, and should be persisted. | |
16
- | `requestedOnUtc` | *string* | :heavy_check_mark: | In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:<br/><br/>```<br/>2020-10-08T22:40:50Z<br/>2021-01-01T00:00:00<br/>```<br/><br/><br/><br/>When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:<br/><br/>- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`<br/>- Unqualified local time: `2021-11-15T01:00:00`<br/>- UTC time offsets: `2021-11-15T01:00:00-05:00`<br/><br/>> Time zones<br/>> <br/>> Not all dates from Codat will contain information about time zones. <br/>> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23 00:00:00 +0000 UTC |
17
- | `status` | [shared.PushOperationStatus](../../../sdk/models/shared/pushoperationstatus.md) | :heavy_check_mark: | The current status of the push operation. | |
18
- | `statusCode` | *number* | :heavy_check_mark: | Push status code. | |
19
- | `timeoutInMinutes` | *number* | :heavy_minus_sign: | Number of minutes the push operation must complete within before it times out. | |
20
- | ~~`timeoutInSeconds`~~ | *number* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>Number of seconds the push operation must complete within before it times out. | |
21
- | `validation` | [shared.Validation](../../../sdk/models/shared/validation.md) | :heavy_minus_sign: | A human-readable object describing validation decisions Codat has made when pushing data into the platform. If a push has failed because of validation errors, they will be detailed here. | |
6
+ | Field | Type | Required | Description | Example |
7
+ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8
+ | `changes` | [shared.PushOperationChange](../../../sdk/models/shared/pushoperationchange.md)[] | :heavy_minus_sign: | Contains a single entry that communicates which record has changed and the manner in which it changed. | |
9
+ | `companyId` | *string* | :heavy_check_mark: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
10
+ | `completedOnUtc` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:<br/><br/>```<br/>2020-10-08T22:40:50Z<br/>2021-01-01T00:00:00<br/>```<br/><br/><br/><br/>When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:<br/><br/>- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`<br/>- Unqualified local time: `2021-11-15T01:00:00`<br/>- UTC time offsets: `2021-11-15T01:00:00-05:00`<br/><br/>> Time zones<br/>> <br/>> Not all dates from Codat will contain information about time zones. <br/>> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23 00:00:00 +0000 UTC |
11
+ | `data` | [shared.AccountingCreateDirectCostResponseAccountingDirectCost](../../../sdk/models/shared/accountingcreatedirectcostresponseaccountingdirectcost.md) | :heavy_minus_sign: | N/A | |
12
+ | `dataConnectionKey` | *string* | :heavy_check_mark: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
13
+ | `dataType` | [shared.DataType](../../../sdk/models/shared/datatype.md) | :heavy_minus_sign: | Available Data types | invoices |
14
+ | `errorMessage` | *string* | :heavy_minus_sign: | A message about the error. | |
15
+ | `pushOperationKey` | *string* | :heavy_check_mark: | A unique identifier generated by Codat to represent this single push operation. This identifier can be used to track the status of the push, and should be persisted. | |
16
+ | `requestedOnUtc` | *string* | :heavy_check_mark: | In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:<br/><br/>```<br/>2020-10-08T22:40:50Z<br/>2021-01-01T00:00:00<br/>```<br/><br/><br/><br/>When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:<br/><br/>- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`<br/>- Unqualified local time: `2021-11-15T01:00:00`<br/>- UTC time offsets: `2021-11-15T01:00:00-05:00`<br/><br/>> Time zones<br/>> <br/>> Not all dates from Codat will contain information about time zones. <br/>> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23 00:00:00 +0000 UTC |
17
+ | `status` | [shared.PushOperationStatus](../../../sdk/models/shared/pushoperationstatus.md) | :heavy_check_mark: | The current status of the push operation. | |
18
+ | `statusCode` | *number* | :heavy_check_mark: | Push status code. | |
19
+ | `timeoutInMinutes` | *number* | :heavy_minus_sign: | Number of minutes the push operation must complete within before it times out. | |
20
+ | ~~`timeoutInSeconds`~~ | *number* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>Number of seconds the push operation must complete within before it times out. | |
21
+ | `validation` | [shared.Validation](../../../sdk/models/shared/validation.md) | :heavy_minus_sign: | A human-readable object describing validation decisions Codat has made when pushing data into the platform. If a push has failed because of validation errors, they will be detailed here. | |