taxtank-core 0.33.46 → 0.33.48

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. package/esm2022/src/lib/collections/chart-accounts/chart-accounts-value.collection.mjs +20 -0
  2. package/esm2022/src/lib/collections/chart-accounts/index.mjs +2 -0
  3. package/esm2022/src/lib/collections/chart-accounts.collection.mjs +2 -2
  4. package/esm2022/src/lib/collections/collection.mjs +2 -2
  5. package/esm2022/src/lib/collections/home-office/home-office-claim.collection.mjs +7 -0
  6. package/esm2022/src/lib/collections/home-office/index.mjs +2 -0
  7. package/esm2022/src/lib/collections/index.mjs +3 -1
  8. package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +3 -3
  9. package/esm2022/src/lib/db/Enums/{allocation-rule-condition-comparison-operator.enum.mjs → bank/allocation-rule/allocation-rule-condition-comparison-operator.enum.mjs} +1 -1
  10. package/esm2022/src/lib/db/Enums/{allocation-rule-condition-field.enum.mjs → bank/allocation-rule/allocation-rule-condition-field.enum.mjs} +1 -1
  11. package/esm2022/src/lib/db/Enums/{allocation-rule-condition-operator.enum.mjs → bank/allocation-rule/allocation-rule-condition-operator.enum.mjs} +1 -1
  12. package/esm2022/src/lib/db/Enums/bank/allocation-rule/allocation-rule-type.enum.mjs +7 -0
  13. package/esm2022/src/lib/db/Enums/bank/allocation-rule/index.mjs +5 -0
  14. package/esm2022/src/lib/db/Enums/bank/index.mjs +2 -1
  15. package/esm2022/src/lib/db/Enums/chart-accounts/business-chart-accounts.enum.mjs +48 -0
  16. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +25 -66
  17. package/esm2022/src/lib/db/Enums/chart-accounts/index.mjs +2 -3
  18. package/esm2022/src/lib/db/Enums/home-office/home-office-claim-method.enum.mjs +7 -0
  19. package/esm2022/src/lib/db/Enums/home-office/index.mjs +2 -0
  20. package/esm2022/src/lib/db/Enums/index.mjs +2 -6
  21. package/esm2022/src/lib/db/Models/bank/bank-transaction.mjs +2 -2
  22. package/esm2022/src/lib/db/Models/depreciation/depreciation.mjs +1 -2
  23. package/esm2022/src/lib/db/Models/sole/sole-business.mjs +2 -1
  24. package/esm2022/src/lib/db/Models/sole/sole-details.mjs +2 -1
  25. package/esm2022/src/lib/db/Models/user/user.mjs +1 -1
  26. package/esm2022/src/lib/db/Models/vehicle/vehicle-claim.mjs +2 -1
  27. package/esm2022/src/lib/forms/abstract.form.mjs +36 -4
  28. package/esm2022/src/lib/forms/address/address.form.mjs +1 -1
  29. package/esm2022/src/lib/forms/home-office/home-office-calculator.form.mjs +25 -0
  30. package/esm2022/src/lib/forms/home-office/home-office-claim.form.mjs +47 -0
  31. package/esm2022/src/lib/forms/home-office/home-office-log.form.mjs +15 -0
  32. package/esm2022/src/lib/forms/home-office/index.mjs +4 -0
  33. package/esm2022/src/lib/forms/index.mjs +2 -1
  34. package/esm2022/src/lib/forms/transaction/work/work-expense.form.mjs +15 -2
  35. package/esm2022/src/lib/models/bank/bank-transaction-chart-data.mjs +2 -3
  36. package/esm2022/src/lib/models/chart-accounts/chart-accounts.mjs +36 -11
  37. package/esm2022/src/lib/models/dictionary/dictionary.mjs +3 -2
  38. package/esm2022/src/lib/models/endpoint/endpoint.mjs +1 -1
  39. package/esm2022/src/lib/models/endpoint/endpoints.const.mjs +8 -1
  40. package/esm2022/src/lib/models/home-office/home-office-claim.interface.mjs +2 -0
  41. package/esm2022/src/lib/models/home-office/home-office-claim.mjs +46 -0
  42. package/esm2022/src/lib/models/home-office/home-office-log.interface.mjs +2 -0
  43. package/esm2022/src/lib/models/home-office/home-office-log.mjs +14 -0
  44. package/esm2022/src/lib/models/home-office/index.mjs +5 -0
  45. package/esm2022/src/lib/models/index.mjs +2 -1
  46. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.mjs +14 -14
  47. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.mjs +18 -18
  48. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +12 -12
  49. package/esm2022/src/lib/models/sole/sole-invoice-item.mjs +25 -2
  50. package/esm2022/src/lib/models/transaction/transaction.mjs +10 -4
  51. package/esm2022/src/lib/services/data.service.mjs +2 -2
  52. package/esm2022/src/lib/services/http/home-office/home-office-claim-messages.enum.mjs +8 -0
  53. package/esm2022/src/lib/services/http/home-office/home-office-claim.service.mjs +23 -0
  54. package/esm2022/src/lib/services/http/home-office/home-office-log-messages.enum.mjs +8 -0
  55. package/esm2022/src/lib/services/http/home-office/home-office-log.service.mjs +23 -0
  56. package/esm2022/src/lib/services/http/home-office/index.mjs +5 -0
  57. package/esm2022/src/lib/services/http/index.mjs +3 -1
  58. package/esm2022/src/lib/services/http/rest/rest-old.service.mjs +8 -1
  59. package/esm2022/src/lib/services/http/rest/rest.service.mjs +24 -5
  60. package/esm2022/src/lib/services/http/rest-messages.enum.mjs +7 -0
  61. package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +9 -5
  62. package/esm2022/src/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +4 -12
  63. package/esm2022/src/lib/validators/current-fin-year.validator.mjs +3 -2
  64. package/fesm2022/taxtank-core.mjs +485 -170
  65. package/fesm2022/taxtank-core.mjs.map +1 -1
  66. package/package.json +1 -1
  67. package/src/lib/collections/chart-accounts/chart-accounts-value.collection.d.ts +12 -0
  68. package/src/lib/collections/chart-accounts/index.d.ts +1 -0
  69. package/src/lib/collections/collection.d.ts +1 -1
  70. package/src/lib/collections/home-office/home-office-claim.collection.d.ts +5 -0
  71. package/src/lib/collections/home-office/index.d.ts +1 -0
  72. package/src/lib/collections/index.d.ts +2 -0
  73. package/src/lib/db/Enums/bank/allocation-rule/index.d.ts +4 -0
  74. package/src/lib/db/Enums/bank/index.d.ts +1 -0
  75. package/src/lib/db/Enums/chart-accounts/business-chart-accounts.enum.d.ts +46 -0
  76. package/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts +24 -65
  77. package/src/lib/db/Enums/chart-accounts/index.d.ts +1 -2
  78. package/src/lib/db/Enums/home-office/home-office-claim-method.enum.d.ts +5 -0
  79. package/src/lib/db/Enums/home-office/index.d.ts +1 -0
  80. package/src/lib/db/Enums/index.d.ts +1 -4
  81. package/src/lib/db/Models/depreciation/depreciation.d.ts +0 -1
  82. package/src/lib/db/Models/sole/sole-business.d.ts +1 -0
  83. package/src/lib/db/Models/sole/sole-details.d.ts +1 -0
  84. package/src/lib/db/Models/user/user.d.ts +1 -1
  85. package/src/lib/db/Models/vehicle/vehicle-claim.d.ts +1 -0
  86. package/src/lib/forms/abstract.form.d.ts +11 -1
  87. package/src/lib/forms/home-office/home-office-calculator.form.d.ts +8 -0
  88. package/src/lib/forms/home-office/home-office-claim.form.d.ts +12 -0
  89. package/src/lib/forms/home-office/home-office-log.form.d.ts +5 -0
  90. package/src/lib/forms/home-office/index.d.ts +3 -0
  91. package/src/lib/forms/index.d.ts +1 -0
  92. package/src/lib/forms/transaction/work/work-expense.form.d.ts +4 -2
  93. package/src/lib/models/bank/bank-transaction-chart-data.d.ts +2 -2
  94. package/src/lib/models/chart-accounts/chart-accounts.d.ts +5 -1
  95. package/src/lib/models/dictionary/dictionary.d.ts +2 -2
  96. package/src/lib/models/home-office/home-office-claim.d.ts +26 -0
  97. package/src/lib/models/home-office/home-office-claim.interface.d.ts +20 -0
  98. package/src/lib/models/home-office/home-office-log.d.ts +11 -0
  99. package/src/lib/models/home-office/home-office-log.interface.d.ts +9 -0
  100. package/src/lib/models/home-office/index.d.ts +4 -0
  101. package/src/lib/models/index.d.ts +1 -0
  102. package/src/lib/models/sole/sole-invoice-item.d.ts +2 -1
  103. package/src/lib/models/transaction/transaction.d.ts +3 -1
  104. package/src/lib/services/http/home-office/home-office-claim-messages.enum.d.ts +6 -0
  105. package/src/lib/services/http/home-office/home-office-claim.service.d.ts +12 -0
  106. package/src/lib/services/http/home-office/home-office-log-messages.enum.d.ts +6 -0
  107. package/src/lib/services/http/home-office/home-office-log.service.d.ts +12 -0
  108. package/src/lib/services/http/home-office/index.d.ts +4 -0
  109. package/src/lib/services/http/index.d.ts +2 -0
  110. package/src/lib/services/http/rest/rest-old.service.d.ts +4 -0
  111. package/src/lib/services/http/rest/rest.service.d.ts +1 -0
  112. package/src/lib/services/http/rest-messages.enum.d.ts +5 -0
  113. package/src/lib/services/http/transaction/transaction.service.d.ts +1 -0
  114. package/src/lib/services/json/chart-accounts/chart-accounts-value.service.d.ts +3 -7
  115. package/esm2022/src/lib/db/Enums/allocation-rule-type.enum.mjs +0 -7
  116. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.mjs +0 -25
  117. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.mjs +0 -6
  118. package/esm2022/src/lib/validators/address-corelogic.validator.mjs +0 -19
  119. package/src/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.d.ts +0 -23
  120. package/src/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.d.ts +0 -4
  121. package/src/lib/validators/address-corelogic.validator.d.ts +0 -6
  122. /package/src/lib/db/Enums/{allocation-rule-condition-comparison-operator.enum.d.ts → bank/allocation-rule/allocation-rule-condition-comparison-operator.enum.d.ts} +0 -0
  123. /package/src/lib/db/Enums/{allocation-rule-condition-field.enum.d.ts → bank/allocation-rule/allocation-rule-condition-field.enum.d.ts} +0 -0
  124. /package/src/lib/db/Enums/{allocation-rule-condition-operator.enum.d.ts → bank/allocation-rule/allocation-rule-condition-operator.enum.d.ts} +0 -0
  125. /package/src/lib/db/Enums/{allocation-rule-type.enum.d.ts → bank/allocation-rule/allocation-rule-type.enum.d.ts} +0 -0
@@ -0,0 +1,20 @@
1
+ import { Collection } from '../collection';
2
+ import { FinancialYear } from '../../models';
3
+ import { BusinessChartAccountsEnum, ChartAccountsListEnum } from '../../db/Enums';
4
+ export class ChartAccountsValueCollection extends Collection {
5
+ /**
6
+ * $ amount u can claim per 1km
7
+ */
8
+ getKmsRate(isSole) {
9
+ const chartAccountsId = isSole ? BusinessChartAccountsEnum.KMS_TRAVELLED : ChartAccountsListEnum.KMS_TRAVELLED;
10
+ return this.find((ca) => ca.chartAccounts.id === chartAccountsId && new FinancialYear().year === ca.financialYear).value;
11
+ }
12
+ /**
13
+ * $ amount u can claim per 1hour
14
+ */
15
+ getHoursRate(isSole) {
16
+ const chartAccountsId = isSole ? BusinessChartAccountsEnum.HOME_OFFICE_HOURS : ChartAccountsListEnum.HOME_OFFICE_HOURS;
17
+ return this.find((ca) => ca.chartAccounts.id === chartAccountsId && new FinancialYear().year === ca.financialYear).value;
18
+ }
19
+ }
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcnQtYWNjb3VudHMtdmFsdWUuY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN0aW9ucy9jaGFydC1hY2NvdW50cy9jaGFydC1hY2NvdW50cy12YWx1ZS5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFzQixhQUFhLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDakUsT0FBTyxFQUFFLHlCQUF5QixFQUFFLHFCQUFxQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFbEYsTUFBTSxPQUFPLDRCQUE2QixTQUFRLFVBQThCO0lBQzlFOztPQUVHO0lBQ0gsVUFBVSxDQUFDLE1BQWU7UUFDeEIsTUFBTSxlQUFlLEdBQUcsTUFBTSxDQUFDLENBQUMsQ0FBQyx5QkFBeUIsQ0FBQyxhQUFhLENBQUMsQ0FBQyxDQUFDLHFCQUFxQixDQUFDLGFBQWEsQ0FBQztR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gKiAkIGFtb3VudCB1IGNhbiBjbGFpbSBwZXIgMWttXG4gICAqL1xuICBnZXRLbXNSYXRlKGlzU29sZTogYm9vbGVhbik6IG51bWJlciB7XG4gICAgY29uc3QgY2hhcnRBY2NvdW50c0lkID0gaXNTb2xlID8gQnVzaW5lc3NDaGFydEFjY291bnRzRW51bS5LTVNfVFJBVkVMTEVEIDogQ2hhcnRBY2NvdW50c0xpc3RFbnVtLktNU19UUkFWRUxMRUQ7XG4gICAgcmV0dXJuIHRoaXMuZmluZChcbiAgICAgIChjYSkgPT4gY2EuY2hhcnRBY2NvdW50cy5pZCA9PT0gY2hhcnRBY2NvdW50c0lkICYmIG5ldyBGaW5hbmNpYWxZZWFyKCkueWVhciA9PT0gY2EuZmluYW5jaWFsWWVhclxuICAgICkudmFsdWU7XG4gIH1cblxuICAvKipcbiAgICogJCBhbW91bnQgdSBjYW4gY2xhaW0gcGVyIDFob3VyXG4gICAqL1xuICBnZXRIb3Vyc1JhdGUoaXNTb2xlOiBib29sZWFuKTogbnVtYmVyIHtcbiAgICBjb25zdCBjaGFydEFjY291bnRzSWQgPSBpc1NvbGUgPyBCdXNpbmVzc0NoYXJ0QWNjb3VudHNFbnVtLkhPTUVfT0ZGSUNFX0hPVVJTIDogQ2hhcnRBY2NvdW50c0xpc3RFbnVtLkhPTUVfT0ZGSUNFX0hPVVJTO1xuICAgIHJldHVybiB0aGlzLmZpbmQoXG4gICAgICAoY2EpID0+IGNhLmNoYXJ0QWNjb3VudHMuaWQgPT09IGNoYXJ0QWNjb3VudHNJZCAmJiBuZXcgRmluYW5jaWFsWWVhcigpLnllYXIgPT09IGNhLmZpbmFuY2lhbFllYXJcbiAgICApLnZhbHVlO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,2 @@
1
+ export * from './chart-accounts-value.collection';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvY2hhcnQtYWNjb3VudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQ0FBbUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2hhcnQtYWNjb3VudHMtdmFsdWUuY29sbGVjdGlvbic7XG4iXX0=
@@ -20,7 +20,7 @@ export class ChartAccountsCollection extends Collection {
20
20
  * Get 'Kms travelled for work' related chart account value
21
21
  */
22
22
  getVehicleKmsRate(year = new FinancialYear().year) {
23
- return this.findBy('id', ChartAccountsListEnum.KLMS_TRAVELLED_FOR_WORK).getValueByYear(year).value;
23
+ return this.findBy('id', ChartAccountsListEnum.KMS_TRAVELLED).getValueByYear(year).value;
24
24
  }
25
25
  }
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcnQtYWNjb3VudHMuY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN0aW9ucy9jaGFydC1hY2NvdW50cy5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDMUMsT0FBTyxFQUFpQixhQUFhLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFDekQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sYUFBYSxDQUFDO0FBRXBELE1BQU0sT0FBTyx1QkFBd0IsU0FBUSxVQUF5QjtJQUNwRSxZQUFZLFFBQXlCLEVBQUU7UUFDckMsS0FBSyxDQUFDLEtBQUssQ0FBQyxDQUFDO1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ID4gYi5uYW1lID8gMSA6IC0xO1xuICAgICAgfVxuXG4gICAgICByZXR1cm4gMDtcbiAgICB9KTtcbiAgfVxuXG4gIGdldE1hbnVhbCgpOiB0aGlzIHtcbiAgICByZXR1cm4gdGhpcy5maWx0ZXIoY2hhcnRBY2NvdW50cyA9PiAhIWNoYXJ0QWNjb3VudHMudXNlcik7XG4gIH1cblxuICAvKipcbiAgICogR2V0ICdLbXMgdHJhdmVsbGVkIGZvciB3b3JrJyByZWxhdGVkIGNoYXJ0IGFjY291bnQgdmFsdWVcbiAgICovXG4gIGdldFZlaGljbGVLbXNSYXRlKHllYXI6IG51bWJlciA9IG5ldyBGaW5hbmNpYWxZZWFyKCkueWVhcik6IG51bWJlciB7XG4gICAgcmV0dXJuIHRoaXMuZmluZEJ5KCdpZCcsIENoYXJ0QWNjb3VudHNMaXN0RW51bS5LTVNfVFJBVkVMTEVEKS5nZXRWYWx1ZUJ5WWVhcih5ZWFyKS52YWx1ZVxuICB9XG59XG4iXX0=
@@ -112,7 +112,7 @@ export class Collection {
112
112
  return this.items.find(callback);
113
113
  }
114
114
  findBy(path, value) {
115
- return this.items.find((model) => value === get(model, path));
115
+ return this.items.find((model) => value === get(model, path)) ?? null;
116
116
  }
117
117
  findIndexBy(path, value) {
118
118
  return this.items.findIndex((item) => get(item, path) === value) ?? null;
@@ -171,4 +171,4 @@ export class Collection {
171
171
  return this;
172
172
  }
173
173
  }
174
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN0aW9ucy9jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FB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A/IHByZXYgOiBjdXJyZW50KSk7XHJcbiAgfVxyXG5cclxuICBtYXhCeShwYXRoOiBzdHJpbmcpOiBNb2RlbCB7XHJcbiAgICByZXR1cm4gdGhpcy5pdGVtcy5yZWR1Y2UoKHByZXY6IE1vZGVsLCBjdXJyZW50OiBNb2RlbCkgPT4gKGdldChwcmV2LCBwYXRoKSA+IGdldChjdXJyZW50LCBwYXRoKSA/IHByZXYgOiBjdXJyZW50KSk7XHJcbiAgfVxyXG5cclxuICAvKipcclxuICAgKiBmbG9hdCBtYXRoIGlzc3VlcyBodHRwczovL3N0YWNrb3ZlcmZsb3cuY29tL3F1ZXN0aW9ucy8xMjUxMTA1Ny9mbG9hdC1zdW0td2l0aC1qYXZhc2NyaXB0XHJcbiAgICovXHJcbiAgcmVkdWNlKGNhbGxiYWNrOiAoc3VtOiBudW1iZXIsIGl0ZW06IE1vZGVsKSA9PiBudW1iZXIsIGluaXQgPSAwKTogbnVtYmVyIHtcclxuICAgIHJldHVybiArdGhpcy5pdGVtcy5yZWR1Y2UoY2FsbGJhY2ssIGluaXQpLnRvRml4ZWQoMTApO1xyXG4gIH1cclxuXHJcbiAgc2xpY2UoZnJvbTogbnVtYmVyLCB0bzogbnVtYmVyKTogdGhpcyB7XHJcbiAgICB0aGlzLml0ZW1zID0gdGhpcy5pdGVtcy5zbGljZShmcm9tLCB0byk7XHJcblxyXG4gICAgcmV0dXJuIHRoaXM7XHJcbiAgfVxyXG59XHJcbiJdfQ==
@@ -0,0 +1,7 @@
1
+ import { Collection } from '../collection';
2
+ export class HomeOfficeClaimCollection extends Collection {
3
+ findByBusiness(business) {
4
+ return business ? this.findBy('business.id', business.id) : this.findBy('business', null);
5
+ }
6
+ }
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9tZS1vZmZpY2UtY2xhaW0uY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4u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ourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvaG9tZS1vZmZpY2UvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxnQ0FBZ0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaG9tZS1vZmZpY2UtY2xhaW0uY29sbGVjdGlvbic7XG4iXX0=
@@ -32,4 +32,6 @@ export * from './user-event-type-collection';
32
32
  export * from './holding';
33
33
  export * from './asset-sale.collection';
34
34
  export * from './user/user.collection';
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsdUNBQXVDO0FBQ3ZDLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMseUJBQXlCLENBQUM7QUFFeEMsY0FBYyxRQUFRLENBQUM7QUFDdkIsY0FBYyxRQUFRLENBQUM7QUFDdkIsY0FBYyxZQUFZLENBQUM7QUFDM0IsY0FBYyxVQUFVLENBQUM7QUFDekIsY0FBYyxRQUFRLENBQUM7QUFDdkIsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLFdBQVcsQ0FBQztBQUUxQix5QkFBeUI7QUFDekIsY0FBYywrQkFBK0IsQ0FBQztBQUM5QyxjQUFjLDhCQUE4QixD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Glvbic7XG5leHBvcnQgKiBmcm9tICcuL3VzZXItZXZlbnQtdHlwZS1jb2xsZWN0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vaG9sZGluZyc7XG5leHBvcnQgKiBmcm9tICcuL2Fzc2V0LXNhbGUuY29sbGVjdGlvbic7XG5cbmV4cG9ydCAqIGZyb20gJy4vdXNlci91c2VyLmNvbGxlY3Rpb24nO1xuIl19
35
+ export * from './chart-accounts';
36
+ export * from './home-office';
37
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvY29sbGVjdGlvbnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsdUNBQXVDO0FBQ3ZDLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMseUJBQXlCLENBQUM7QUFFeEMsY0FBYyxRQUFRLENBQUM7QUFDdkIsY0FBYyxRQUFRLENBQUM7QUFDdkIsY0FBYyxZQUFZLENBQUM7QUFDM0IsY0FBYyxVQUFVLENBQUM7QUFDekIsY0FBYyxRQUFRLENBQUM7QUFDdkIsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLFdBQVcsQ0FBQztBQUUxQix5QkFBeUI7QUFDekIsY0FBYywrQkFBK0IsQ0FBQztBQUM5QyxjQUFjLDhCQUE4QixDQUFDO0FBQzdDLGNBQWMsaUNBQWlDLENBQUM7QUFDaEQsY0FBYywyQkFBMkIsQ0FBQztBQUMxQyxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsNkJBQTZCLENBQUM7QUFDNUMsY0FBYyw0QkFBNEIsQ0FBQztBQUMzQyxjQUFjLDhCQUE4QixDQUF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XNzZXQtc2FsZS5jb2xsZWN0aW9uJztcblxuZXhwb3J0ICogZnJvbSAnLi91c2VyL3VzZXIuY29sbGVjdGlvbic7XG5leHBvcnQgKiBmcm9tICcuL2NoYXJ0LWFjY291bnRzJztcbmV4cG9ydCAqIGZyb20gJy4vaG9tZS1vZmZpY2UnO1xuIl19
@@ -1,5 +1,5 @@
1
1
  import { CHART_ACCOUNTS_CATEGORIES, Dictionary } from '../../models';
2
- import { ChartAccountsListEnum } from '../../db/Enums';
2
+ import { BusinessChartAccountsEnum, ChartAccountsListEnum } from '../../db/Enums';
3
3
  import { TankTypeEnum } from '../../db/Enums/tank-type.enum';
4
4
  import { plainToClass } from 'class-transformer';
5
5
  import { ExportCell } from '../../models/export/export-cell';
@@ -191,7 +191,7 @@ export class TransactionCollection extends TransactionBaseCollection {
191
191
  getLogbookTransactions() {
192
192
  return this
193
193
  .getVehicleTransactions()
194
- .removeBy('chartAccounts.id', [ChartAccountsListEnum.KLMS_TRAVELLED_FOR_WORK, ChartAccountsListEnum.KLMS_TRAVELLED]);
194
+ .removeBy('chartAccounts.id', [ChartAccountsListEnum.KMS_TRAVELLED, BusinessChartAccountsEnum.KMS_TRAVELLED]);
195
195
  }
196
196
  /**
197
197
  * Build chart data with transactions cash position.
@@ -231,4 +231,4 @@ export class TransactionCollection extends TransactionBaseCollection {
231
231
  return this.filter(transaction => transaction.claimPercent > 0);
232
232
  }
233
233
  }
234
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24uY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9jb2xsZWN0aW9ucy90cmFuc2FjdGlvbi90cmFuc2FjdGlvbi5jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQ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XNpbmVzc0lkID8gdGhpcy5maWx0ZXJCeSgnYnVzaW5lc3MuaWQnLCBidXNpbmVzc0lkKSA6IHRoaXM7XG4gICAgY29uc3QgZXhwZW5zZXMgPSB0cmFuc2FjdGlvbnMuZ2V0RXhwZW5zZVRyYW5zYWN0aW9ucygpO1xuICAgIGNvbnN0IGluY29tZXMgPSB0cmFuc2FjdGlvbnMuZ2V0SW5jb21lVHJhbnNhY3Rpb25zKCk7XG5cbiAgICByZXR1cm4gaW5jb21lcy5zdW1CeSgnY2xhaW1BbW91bnQnKSArIGV4cGVuc2VzLnN1bUJ5KCdjbGFpbUFtb3VudCcpO1xuICB9XG5cbiAgZ2V0VGF4YWJsZSgpOiB0aGlzIHtcbiAgICByZXR1cm4gdGhpcy5maWx0ZXIodHJhbnNhY3Rpb24gPT4gdHJhbnNhY3Rpb24uY2xhaW1QZXJjZW50ID4gMCk7XG4gIH1cbn1cbiJdfQ==
@@ -6,4 +6,4 @@ export var AllocationRuleConditionComparisonOperatorEnum;
6
6
  AllocationRuleConditionComparisonOperatorEnum[AllocationRuleConditionComparisonOperatorEnum["EQUALS_OR_GREATER"] = 4] = "EQUALS_OR_GREATER";
7
7
  AllocationRuleConditionComparisonOperatorEnum[AllocationRuleConditionComparisonOperatorEnum["EQUALS_OR_LESS"] = 5] = "EQUALS_OR_LESS";
8
8
  })(AllocationRuleConditionComparisonOperatorEnum || (AllocationRuleConditionComparisonOperatorEnum = {}));
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsb2NhdGlvbi1ydWxlLWNvbmRpdGlvbi1jb21wYXJpc29uLW9wZXJhdG9yLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvRW51bXMvYWxsb2NhdGlvbi1ydWxlLWNvbmRpdGlvbi1jb21wYXJpc29uLW9wZXJhd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DQUFDLEVBTlcsNkNBQTZDLEtBQTdDLDZDQUE2QyxRQU14RCIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEFsbG9jYXRpb25SdWxlQ29uZGl0aW9uQ29tcGFyaXNvbk9wZXJhdG9yRW51bSB7XG5cdEVRVUFMUyA9IDEsXG5cdENPTlRBSU5TID0gMixcblx0U1RBUlRTID0gMyxcblx0RVFVQUxTX09SX0dSRUFURVIgPSA0LFxuXHRFUVVBTFNfT1JfTEVTUyA9IDUsXG59XG4iXX0=
@@ -3,4 +3,4 @@ export var AllocationRuleConditionFieldEnum;
3
3
  AllocationRuleConditionFieldEnum[AllocationRuleConditionFieldEnum["AMOUNT"] = 1] = "AMOUNT";
4
4
  AllocationRuleConditionFieldEnum[AllocationRuleConditionFieldEnum["DESCRIPTION"] = 2] = "DESCRIPTION";
5
5
  })(AllocationRuleConditionFieldEnum || (AllocationRuleConditionFieldEnum = {}));
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsb2NhdGlvbi1ydWxlLWNvbmRpdGlvbi1maWVsZC5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2RiL0VudW1zL2FsbG9jYXRpb24tcnVsZS1jb25kaXRpb24tZmllbGQuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxnQ0FHWDtBQUhELFdBQVksZ0NBQWdDO0lBQzNDLDJGQUFVLENBQUE7SUFDVixxR0FBZSxDQUFBO0FBQ2hCLENBQUMsRUFIVyxnQ0FBZ0MsS0FBaEMsZ0NBQWdDLFFBRzNDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gQWxsb2NhdGlvblJ1bGVDb25kaXRpb25GaWVsZEVudW0ge1xuXHRBTU9VTlQgPSAxLFxuXHRERVNDUklQVElPTiA9IDIsXG59XG4iXX0=
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsb2NhdGlvbi1ydWxlLWNvbmRpdGlvbi1maWVsZC5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2RiL0VudW1zL2JhbmsvYWxsb2NhdGlvbi1ydWxlL2FsbG9jYXRpb24tcnVsZS1jb25kaXRpb24tZmllbGQuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxnQ0FHWDtBQUhELFdBQVksZ0NBQWdDO0lBQzNDLDJGQUFVLENBQUE7SUFDVixxR0FBZSxDQUFBO0FBQ2hCLENBQUMsRUFIVyxnQ0FBZ0MsS0FBaEMsZ0NBQWdDLFFBRzNDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gQWxsb2NhdGlvblJ1bGVDb25kaXRpb25GaWVsZEVudW0ge1xuXHRBTU9VTlQgPSAxLFxuXHRERVNDUklQVElPTiA9IDIsXG59XG4iXX0=
@@ -3,4 +3,4 @@ export var AllocationRuleConditionOperatorEnum;
3
3
  AllocationRuleConditionOperatorEnum[AllocationRuleConditionOperatorEnum["AND"] = 1] = "AND";
4
4
  AllocationRuleConditionOperatorEnum[AllocationRuleConditionOperatorEnum["OR"] = 2] = "OR";
5
5
  })(AllocationRuleConditionOperatorEnum || (AllocationRuleConditionOperatorEnum = {}));
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsb2NhdGlvbi1ydWxlLWNvbmRpdGlvbi1vcGVyYXRvci5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4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1cbiJdfQ==
@@ -0,0 +1,7 @@
1
+ export var AllocationRuleTypeEnum;
2
+ (function (AllocationRuleTypeEnum) {
3
+ AllocationRuleTypeEnum[AllocationRuleTypeEnum["EXPENSE"] = 1] = "EXPENSE";
4
+ AllocationRuleTypeEnum[AllocationRuleTypeEnum["INCOME"] = 2] = "INCOME";
5
+ AllocationRuleTypeEnum[AllocationRuleTypeEnum["TRANSFER"] = 3] = "TRANSFER";
6
+ })(AllocationRuleTypeEnum || (AllocationRuleTypeEnum = {}));
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsb2NhdGlvbi1ydWxlLXR5cGUuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9kYi9FbnVtcy9iYW5rL2FsbG9jYXRpb24tcnVsZS9hbGxvY2F0aW9uLXJ1bGUtdHlwZS5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLHNCQUlYO0FBSkQsV0FBWSxzQkFBc0I7SUFDakMseUVBQVcsQ0FBQTtJQUNYLHVFQUFVLENBQUE7SUFDViwyRUFBWSxDQUFBO0FBQ2IsQ0FBQyxFQUpXLHNCQUFzQixLQUF0QixzQkFBc0IsUUFJakMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBBbGxvY2F0aW9uUnVsZVR5cGVFbnVtIHtcblx0RVhQRU5TRSA9IDEsXG5cdElOQ09NRSA9IDIsXG5cdFRSQU5TRkVSID0gMyxcbn1cbiJdfQ==
@@ -0,0 +1,5 @@
1
+ export * from './allocation-rule-condition-comparison-operator.enum';
2
+ export * from './allocation-rule-condition-field.enum';
3
+ export * from './allocation-rule-condition-operator.enum';
4
+ export * from './allocation-rule-type.enum';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvRW51bXMvYmFuay9hbGxvY2F0aW9uLXJ1bGUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzREFBc0QsQ0FBQztBQUNyRSxjQUFjLHdDQUF3QyxDQUFDO0FBQ3ZELGNBQWMsMkNBQTJDLENBQUM7QUFDMUQsY0FBYyw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYWxsb2NhdGlvbi1ydWxlLWNvbmRpdGlvbi1jb21wYXJpc29uLW9wZXJhdG9yLmVudW0nO1xuZXhwb3J0ICogZnJvbSAnLi9hbGxvY2F0aW9uLXJ1bGUtY29uZGl0aW9uLWZpZWxkLmVudW0nO1xuZXhwb3J0ICogZnJvbSAnLi9hbGxvY2F0aW9uLXJ1bGUtY29uZGl0aW9uLW9wZXJhdG9yLmVudW0nO1xuZXhwb3J0ICogZnJvbSAnLi9hbGxvY2F0aW9uLXJ1bGUtdHlwZS5lbnVtJztcbiJdfQ==
@@ -1,7 +1,8 @@
1
+ export * from './allocation-rule';
1
2
  export * from './bank-account-status.enum';
2
3
  export * from './bank-account-type.enum';
3
4
  export * from './bank-connection-status.enum';
4
5
  export * from './bank-popular.enum';
5
6
  export * from './bank-provider.enum';
6
7
  export * from './bank-transaction-type.enum';
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvRW51bXMvYmFuay9pbmRleC50cy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Li9hbGxvY2F0aW9uLXJ1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9iYW5rLWFjY291bnQtc3RhdHVzLmVudW0nO1xuZXhwb3J0ICogZnJvbSAnLi9iYW5rLWFjY291bnQtdHlwZS5lbnVtJztcbmV4cG9ydCAqIGZyb20gJy4vYmFuay1jb25uZWN0aW9uLXN0YXR1cy5lbnVtJztcbmV4cG9ydCAqIGZyb20gJy4vYmFuay1wb3B1bGFyLmVudW0nO1xuZXhwb3J0ICogZnJvbSAnLi9iYW5rLXByb3ZpZGVyLmVudW0nO1xuZXhwb3J0ICogZnJvbSAnLi9iYW5rLXRyYW5zYWN0aW9uLXR5cGUuZW51bSc7XG4iXX0=
@@ -0,0 +1,48 @@
1
+ export var BusinessChartAccountsEnum;
2
+ (function (BusinessChartAccountsEnum) {
3
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["PSI_ABN_NOT_QUOTED"] = 294] = "PSI_ABN_NOT_QUOTED";
4
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["PSI_LABOUR_HIRE_OR_OTHER"] = 295] = "PSI_LABOUR_HIRE_OR_OTHER";
5
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["PSI_VOLUNTARY_AGREEMENT"] = 296] = "PSI_VOLUNTARY_AGREEMENT";
6
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["SALES"] = 665] = "SALES";
7
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["LABOUR"] = 666] = "LABOUR";
8
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["UBER_INCOME"] = 667] = "UBER_INCOME";
9
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["COMMISSION"] = 668] = "COMMISSION";
10
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["PARTS_CONSUMABLES"] = 669] = "PARTS_CONSUMABLES";
11
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["OTHER_BUSINESS_INCOME"] = 670] = "OTHER_BUSINESS_INCOME";
12
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["ASSESSIBLE_GOVERNMENT_PAYMENTS"] = 671] = "ASSESSIBLE_GOVERNMENT_PAYMENTS";
13
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["GROSS_PAYMENTS_NO_ABN_GIVEN"] = 672] = "GROSS_PAYMENTS_NO_ABN_GIVEN";
14
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["GROSS_PAYMENTS_VOLUNTARY_AGREEMENT"] = 673] = "GROSS_PAYMENTS_VOLUNTARY_AGREEMENT";
15
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["GROSS_PAYMENTS_LABOUR_HIRE_OR_OTHER_SPECIFIED_PAYMENTS"] = 674] = "GROSS_PAYMENTS_LABOUR_HIRE_OR_OTHER_SPECIFIED_PAYMENTS";
16
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["PURCHASES_STOCK_INVENTORY"] = 675] = "PURCHASES_STOCK_INVENTORY";
17
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["CONTRACTORS_AND_COMMISSION"] = 676] = "CONTRACTORS_AND_COMMISSION";
18
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["SUPERANNUATION"] = 677] = "SUPERANNUATION";
19
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["BAD_DEBT"] = 678] = "BAD_DEBT";
20
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["LEASE_EXPENSES_COMMERCIAL"] = 679] = "LEASE_EXPENSES_COMMERCIAL";
21
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["RENT_EXPENSES_COMMERCIAL_PREMISES"] = 680] = "RENT_EXPENSES_COMMERCIAL_PREMISES";
22
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["INTEREST_EXPENSES_AUSTRALIA"] = 681] = "INTEREST_EXPENSES_AUSTRALIA";
23
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["INTEREST_EXPENSES_OVERSEAS"] = 682] = "INTEREST_EXPENSES_OVERSEAS";
24
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["KMS_TRAVELLED"] = 683] = "KMS_TRAVELLED";
25
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["VEHICLE_LOAN_INTEREST"] = 688] = "VEHICLE_LOAN_INTEREST";
26
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["ENTERTAINMENT"] = 698] = "ENTERTAINMENT";
27
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["VEHICLES"] = 721] = "VEHICLES";
28
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["VEHICLE_LOAN_PRINCIPAL"] = 855] = "VEHICLE_LOAN_PRINCIPAL";
29
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["PSI_OTHER"] = 858] = "PSI_OTHER";
30
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["PSI_DEDUCTION_ASSOCIATES"] = 859] = "PSI_DEDUCTION_ASSOCIATES";
31
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["PSI_DEDUCTION_OTHER"] = 860] = "PSI_DEDUCTION_OTHER";
32
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["OTHER_ASSESSABLE_PAYMENTS"] = 861] = "OTHER_ASSESSABLE_PAYMENTS";
33
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["JOBKEEPER"] = 862] = "JOBKEEPER";
34
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["GST_REFUND"] = 864] = "GST_REFUND";
35
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["PAYG_INSTALLMENTS"] = 878] = "PAYG_INSTALLMENTS";
36
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["INTEREST_EARNED"] = 879] = "INTEREST_EARNED";
37
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_HOURS"] = 888] = "HOME_OFFICE_HOURS";
38
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["ELECTRICITY_AND_GAS"] = 892] = "ELECTRICITY_AND_GAS";
39
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_CLEANING"] = 893] = "HOME_OFFICE_CLEANING";
40
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["INTERNET"] = 705] = "INTERNET";
41
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["TELEPHONE"] = 11860] = "TELEPHONE";
42
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["MOBILE_PHONE"] = 719] = "MOBILE_PHONE";
43
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_RENT"] = 889] = "HOME_OFFICE_RENT";
44
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_LOAN"] = 890] = "HOME_OFFICE_LOAN";
45
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_RATES"] = 891] = "HOME_OFFICE_RATES";
46
+ BusinessChartAccountsEnum[BusinessChartAccountsEnum["HOME_OFFICE_OTHER"] = 894] = "HOME_OFFICE_OTHER";
47
+ })(BusinessChartAccountsEnum || (BusinessChartAccountsEnum = {}));
48
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVzaW5lc3MtY2hhcnQtYWNjb3VudHMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9kYi9FbnVtcy9jaGFydC1hY2NvdW50cy9idXNpbmVzcy1jaGFydC1hY2NvdW50cy5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLHlCQTZDWDtBQTdDRCxXQUFZLHlCQUF5QjtJQUNuQyx1R0FBd0IsQ0FBQTtJQUN4QixtSEFBOEIsQ0FBQTtJQUM5QixpSEFBNkIsQ0FBQTtJQUM3Qiw2RUFBVyxDQUFBO0lB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