ledger_sync-quickbooks_online 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14034a8009fa439eaadc08eba6148a340cce02849d85ffe1d2f273c95b1a8831
4
- data.tar.gz: 34fce60e7b7f9eee203365815d717d410a945f2b532ac2ea81370067bf2ef00e
3
+ metadata.gz: 8b4c74f346bfa37b73076cd0063d9d54fc72079df70fd5ea513edd043f60ddba
4
+ data.tar.gz: 847975f5b2229b34712e03707baa874513e6aa168e47821aa352486f188c5b70
5
5
  SHA512:
6
- metadata.gz: 6d10a6ef31062c9ec3c2e4a70fc3563e9d3defd18537b1b981d9ab8a05c5ced276330bd43d0d9d1b2b0deecce1ce3afa466dc4c6e96ac9c71ef8f0aa34f3beb9
7
- data.tar.gz: 9531d554f92faba1580a288a5978d590d3c8392ebc3b5233c6f05068c236892b43cc1a45da65c2842bbb64e69ddd543f5b1bbae88c16ba246af69c6d77c18690
6
+ metadata.gz: 6d633f14fe6b9613ea3caa49ec6e5a6a5b6916c05d7dff7fd1a68aa53685f5016d2a0fa68e6d9ea113b7fed8c402dd41ee25c810f557d39c0ce142bdc08d85f8
7
+ data.tar.gz: e5f9d7899ff6ce87f53a0f3500392a235bd250a38676878ebb9a61d01474dffe9d6b6e60b2115d1cc2c6df72be45db00ff48ba1610f0ad1ffc763a6ac2eb4dee
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ledger_sync-quickbooks_online (0.3.1)
4
+ ledger_sync-quickbooks_online (0.4.0)
5
5
  dotenv
6
6
  ledger_sync (>= 2.0.2)
7
7
  oauth2
@@ -38,13 +38,13 @@ GEM
38
38
  diff-lcs (1.4.4)
39
39
  docile (1.4.0)
40
40
  dotenv (2.7.6)
41
- dry-configurable (0.12.1)
41
+ dry-configurable (0.13.0)
42
42
  concurrent-ruby (~> 1.0)
43
- dry-core (~> 0.5, >= 0.5.0)
44
- dry-container (0.8.0)
43
+ dry-core (~> 0.6)
44
+ dry-container (0.9.0)
45
45
  concurrent-ruby (~> 1.0)
46
- dry-configurable (~> 0.1, >= 0.1.3)
47
- dry-core (0.7.0)
46
+ dry-configurable (~> 0.13, >= 0.13.0)
47
+ dry-core (0.7.1)
48
48
  concurrent-ruby (~> 1.0)
49
49
  dry-equalizer (0.3.0)
50
50
  dry-inflector (0.2.1)
@@ -75,7 +75,7 @@ GEM
75
75
  dry-schema (~> 1.5, >= 1.5.2)
76
76
  factory_bot (6.1.0)
77
77
  activesupport (>= 5.0.0)
78
- faraday (1.5.0)
78
+ faraday (1.8.0)
79
79
  faraday-em_http (~> 1.0)
80
80
  faraday-em_synchrony (~> 1.0)
81
81
  faraday-excon (~> 1.1)
@@ -83,6 +83,7 @@ GEM
83
83
  faraday-net_http (~> 1.0)
84
84
  faraday-net_http_persistent (~> 1.1)
85
85
  faraday-patron (~> 1.0)
86
+ faraday-rack (~> 1.0)
86
87
  multipart-post (>= 1.2, < 3)
87
88
  ruby2_keywords (>= 0.0.4)
88
89
  faraday-detailed_logger (2.3.0)
@@ -92,9 +93,10 @@ GEM
92
93
  faraday-excon (1.1.0)
93
94
  faraday-httpclient (1.0.1)
94
95
  faraday-net_http (1.0.1)
95
- faraday-net_http_persistent (1.1.0)
96
+ faraday-net_http_persistent (1.2.0)
96
97
  faraday-patron (1.0.0)
97
- faraday_middleware (1.0.0)
98
+ faraday-rack (1.0.0)
99
+ faraday_middleware (1.1.0)
98
100
  faraday (~> 1.0)
99
101
  fingerprintable (1.2.1)
100
102
  colorize
@@ -104,7 +106,7 @@ GEM
104
106
  iniparse (1.5.0)
105
107
  json (2.5.1)
106
108
  jwt (2.2.3)
107
- ledger_sync (2.0.2)
109
+ ledger_sync (2.2.0)
108
110
  activemodel
109
111
  colorize
110
112
  dry-schema (~> 1.5.4)
@@ -119,13 +121,13 @@ GEM
119
121
  rack (~> 2.2.3)
120
122
  resonad
121
123
  simply_serializable (>= 1.5.1)
122
- mini_portile2 (2.5.3)
124
+ mini_portile2 (2.6.1)
123
125
  minitest (5.14.4)
124
126
  multi_json (1.15.0)
125
127
  multi_xml (0.6.0)
126
128
  multipart-post (2.1.1)
127
- nokogiri (1.11.7)
128
- mini_portile2 (~> 2.5.0)
129
+ nokogiri (1.12.5)
130
+ mini_portile2 (~> 2.6.1)
129
131
  racc (~> 1.4)
130
132
  oauth2 (1.4.7)
131
133
  faraday (>= 0.8, < 2.0)
@@ -175,7 +177,7 @@ GEM
175
177
  rubocop-ast (1.6.0)
176
178
  parser (>= 3.0.1.1)
177
179
  ruby-progressbar (1.11.0)
178
- ruby2_keywords (0.0.4)
180
+ ruby2_keywords (0.0.5)
179
181
  simplecov (0.16.1)
180
182
  docile (~> 1.1)
181
183
  json (>= 1.8, < 3)
@@ -10,13 +10,12 @@ module LedgerSync
10
10
 
11
11
  attribute :Name
12
12
  attribute :AcctNum
13
+ attribute :AccountSubType
13
14
  attribute :Description
14
15
  attribute :Active
15
16
 
16
17
  mapping :AccountType,
17
18
  hash: Account::TYPES.invert
18
- mapping :AccountSubType,
19
- hash: Account::SUB_TYPES.invert
20
19
  mapping :Classification,
21
20
  hash: Account::CLASSIFICATIONS.invert
22
21
 
@@ -10,13 +10,12 @@ module LedgerSync
10
10
 
11
11
  attribute :Name
12
12
  attribute :AcctNum
13
+ attribute :AccountSubType
13
14
  attribute :Description
14
15
  attribute :Active
15
16
 
16
17
  mapping :AccountType,
17
18
  hash: Account::TYPES
18
- mapping :AccountSubType,
19
- hash: Account::SUB_TYPES
20
19
  mapping :Classification,
21
20
  hash: Account::CLASSIFICATIONS
22
21
 
@@ -5,296 +5,6 @@ require_relative 'currency'
5
5
  module LedgerSync
6
6
  module QuickBooksOnline
7
7
  class Account < QuickBooksOnline::Resource
8
- SUB_TYPES = {
9
- # Bank
10
- 'cash_and_cash_equivalents' => 'CashAndCashEquivalents',
11
- 'cash_on_hand' => 'CashOnHand',
12
- 'checking' => 'Checking',
13
- 'money_market' => 'MoneyMarket',
14
- 'other_ear_marked_bank_accounts' => 'OtherEarMarkedBankAccounts',
15
- 'rents_held_in_trust' => 'RentsHeldInTrust',
16
- 'savings' => 'Savings',
17
- 'trust_accounts' => 'TrustAccounts',
18
- # Other Current Asset
19
- 'allowance_for_bad_debts' => 'AllowanceForBadDebts',
20
- 'assets_available_for_sale' => 'AssetsAvailableForSale',
21
- 'bal_with_govt_authorities' => 'BalWithGovtAuthorities',
22
- 'called_up_share_capital_not_paid' => 'CalledUpShareCapitalNotPaid',
23
- 'development_costs' => 'DevelopmentCosts',
24
- 'employee_cash_advances' => 'EmployeeCashAdvances',
25
- 'expenditure_authorisations_and_letters_of_credit' => 'ExpenditureAuthorisationsAndLettersOfCredit',
26
- 'global_tax_deferred' => 'GlobalTaxDeferred',
27
- 'global_tax_refund' => 'GlobalTaxRefund',
28
- 'internal_transfers' => 'InternalTransfers',
29
- 'inventory' => 'Inventory',
30
- 'investment_mortgage_real_estate_loans' => 'Investment_MortgageRealEstateLoans',
31
- 'investment_other' => 'Investment_Other',
32
- 'investment_tax_exempt_securities' => 'Investment_TaxExemptSecurities',
33
- 'investment_us_government_obligations' => 'Investment_USGovernmentObligations',
34
- 'loans_to_officers' => 'LoansToOfficers',
35
- 'loans_to_others' => 'LoansToOthers',
36
- 'loans_to_stockholders' => 'LoansToStockholders',
37
- 'other_consumables' => 'OtherConsumables',
38
- 'other_current_assets' => 'OtherCurrentAssets',
39
- 'prepaid_expenses' => 'PrepaidExpenses',
40
- 'provisions_current_assets' => 'ProvisionsCurrentAssets',
41
- 'retainage' => 'Retainage',
42
- 'short_term_investments_in_related_parties' => 'ShortTermInvestmentsInRelatedParties',
43
- 'short_term_loans_and_advances_to_related_parties' => 'ShortTermLoansAndAdvancesToRelatedParties',
44
- 'trade_and_other_receivables' => 'TradeAndOtherReceivables',
45
- 'undeposited_funds' => 'UndepositedFunds',
46
- # Fixed Asset
47
- 'accumulated_amortization' => 'AccumulatedAmortization',
48
- 'accumulated_depletion' => 'AccumulatedDepletion',
49
- 'accumulated_depreciation' => 'AccumulatedDepreciation',
50
- 'assets_in_course_of_construction' => 'AssetsInCourseOfConstruction',
51
- 'buildings' => 'Buildings',
52
- 'capital_wip' => 'CapitalWip',
53
- 'cumulative_depreciation_on_intangible_assets' => 'CumulativeDepreciationOnIntangibleAssets',
54
- 'depletable_assets' => 'DepletableAssets',
55
- 'fixed_asset_computers' => 'FixedAssetComputers',
56
- 'fixed_asset_copiers' => 'FixedAssetCopiers',
57
- 'fixed_asset_furniture' => 'FixedAssetFurniture',
58
- 'fixed_asset_other_tools_equipment' => 'FixedAssetOtherToolsEquipment',
59
- 'fixed_asset_phone' => 'FixedAssetPhone',
60
- 'fixed_asset_photo_video' => 'FixedAssetPhotoVideo',
61
- 'fixed_asset_software' => 'FixedAssetSoftware',
62
- 'furniture_and_fixtures' => 'FurnitureAndFixtures',
63
- 'intangible_assets_under_development' => 'IntangibleAssetsUnderDevelopment',
64
- 'intangible_assets' => 'IntangibleAssets',
65
- 'land_asset' => 'LandAsset',
66
- 'land' => 'Land',
67
- 'leasehold_improvements' => 'LeaseholdImprovements',
68
- 'machinery_and_equipment' => 'MachineryAndEquipment',
69
- 'non_current_assets' => 'NonCurrentAssets',
70
- 'other_fixed_assets' => 'OtherFixedAssets',
71
- 'participating_interests' => 'ParticipatingInterests',
72
- 'provisions_fixed_assets' => 'ProvisionsFixedAssets',
73
- 'vehicles' => 'Vehicles',
74
- # Other Asset
75
- 'accumulated_amortization_of_other_assets' => 'AccumulatedAmortizationOfOtherAssets',
76
- 'assets_held_for_sale' => 'AssetsHeldForSale',
77
- 'available_for_sale_financial_assets' => 'AvailableForSaleFinancialAssets',
78
- 'deferred_tax' => 'DeferredTax',
79
- 'goodwill' => 'Goodwill',
80
- 'investments' => 'Investments',
81
- 'lease_buyout' => 'LeaseBuyout',
82
- 'licenses' => 'Licenses',
83
- 'long_term_investments' => 'LongTermInvestments',
84
- 'long_term_loans_and_advances_to_related_parties' => 'LongTermLoansAndAdvancesToRelatedParties',
85
- 'organizational_costs' => 'OrganizationalCosts',
86
- 'other_intangible_assets' => 'OtherIntangibleAssets',
87
- 'other_long_term_assets' => 'OtherLongTermAssets',
88
- 'other_long_term_investments' => 'OtherLongTermInvestments',
89
- 'other_long_term_loans_and_advances' => 'OtherLongTermLoansAndAdvances',
90
- 'prepayments_and_accrued_income' => 'PrepaymentsAndAccruedIncome',
91
- 'provisions_non_current_assets' => 'ProvisionsNonCurrentAssets',
92
- 'accounts_receivable' => 'AccountsReceivable',
93
- 'security_deposits' => 'SecurityDeposits',
94
- # Equity
95
- 'accumulated_adjustment' => 'AccumulatedAdjustment',
96
- 'accumulated_other_comprehensive_income' => 'AccumulatedOtherComprehensiveIncome',
97
- 'called_up_share_capital' => 'CalledUpShareCapital',
98
- 'capital_reserves' => 'CapitalReserves',
99
- 'common_stock' => 'CommonStock',
100
- 'dividend_disbursed' => 'DividendDisbursed',
101
- 'equity_in_earnings_of_subsiduaries' => 'EquityInEarningsOfSubsiduaries',
102
- 'estimated_taxes' => 'EstimatedTaxes',
103
- 'funds' => 'Funds',
104
- 'healthcare' => 'Healthcare',
105
- 'investment_grants' => 'InvestmentGrants',
106
- 'money_received_against_share_warrants' => 'MoneyReceivedAgainstShareWarrants',
107
- 'opening_balance_equity' => 'OpeningBalanceEquity',
108
- 'other_free_reserves' => 'OtherFreeReserves',
109
- 'owners_equity' => 'OwnersEquity',
110
- 'paid_in_capital_or_surplus' => 'PaidInCapitalOrSurplus',
111
- 'partner_contributions' => 'PartnerContributions',
112
- 'partner_distributions' => 'PartnerDistributions',
113
- 'partners_equity' => 'PartnersEquity',
114
- 'personal_expense' => 'PersonalExpense',
115
- 'personal_income' => 'PersonalIncome',
116
- 'preferred_stock' => 'PreferredStock',
117
- 'retained_earnings' => 'RetainedEarnings',
118
- 'share_application_money_pending_allotment' => 'ShareApplicationMoneyPendingAllotment',
119
- 'share_capital' => 'ShareCapital',
120
- 'treasury_stock' => 'TreasuryStock',
121
- # Expense
122
- 'advertising_promotional' => 'AdvertisingPromotional',
123
- 'amortization_expense' => 'AmortizationExpense',
124
- 'appropriations_to_depreciation' => 'AppropriationsToDepreciation',
125
- 'auto' => 'Auto',
126
- 'bad_debts' => 'BadDebts',
127
- 'bank_charges' => 'BankCharges',
128
- 'borrowing_cost' => 'BorrowingCost',
129
- 'charitable_contributions' => 'CharitableContributions',
130
- 'commissions_and_fees' => 'CommissionsAndFees',
131
- 'cost_of_labor' => 'CostOfLabor',
132
- 'distribution_costs' => 'DistributionCosts',
133
- 'dues_subscriptions' => 'DuesSubscriptions',
134
- 'entertainment_meals' => 'EntertainmentMeals',
135
- 'entertainment' => 'Entertainment',
136
- 'equipment_rental' => 'EquipmentRental',
137
- 'external_services' => 'ExternalServices',
138
- 'extraordinary_charges' => 'ExtraordinaryCharges',
139
- 'finance_costs' => 'FinanceCosts',
140
- 'global_tax_expense' => 'GlobalTaxExpense',
141
- 'income_tax_expense' => 'IncomeTaxExpense',
142
- 'insurance' => 'Insurance',
143
- 'interest_paid' => 'InterestPaid',
144
- 'legal_professional_fees' => 'LegalProfessionalFees',
145
- 'loss_on_discontinued_operations_net_of_tax' => 'LossOnDiscontinuedOperationsNetOfTax',
146
- 'management_compensation' => 'ManagementCompensation',
147
- 'office_expenses' => 'OfficeExpenses',
148
- 'office_general_administrative_expenses' => 'OfficeGeneralAdministrativeExpenses',
149
- 'other_business_expenses' => 'OtherBusinessExpenses',
150
- 'other_current_operating_charges' => 'OtherCurrentOperatingCharges',
151
- 'other_external_services' => 'OtherExternalServices',
152
- 'other_miscellaneous_service_cost' => 'OtherMiscellaneousServiceCost',
153
- 'other_rental_costs' => 'OtherRentalCosts',
154
- 'other_selling_expenses' => 'OtherSellingExpenses',
155
- 'payroll_expenses' => 'PayrollExpenses',
156
- 'project_studies_surveys_assessments' => 'ProjectStudiesSurveysAssessments',
157
- 'promotional_meals' => 'PromotionalMeals',
158
- 'purchases_rebates' => 'PurchasesRebates',
159
- 'rent_or_lease_of_buildings' => 'RentOrLeaseOfBuildings',
160
- 'repair_maintenance' => 'RepairMaintenance',
161
- 'shipping_and_delivery_expense' => 'ShippingAndDeliveryExpense',
162
- 'shipping_freight_delivery' => 'ShippingFreightDelivery',
163
- 'staff_costs' => 'StaffCosts',
164
- 'sundry' => 'Sundry',
165
- 'supplies_materials' => 'SuppliesMaterials',
166
- 'taxes_paid' => 'TaxesPaid',
167
- 'travel_expenses_general_and_admin_expenses' => 'TravelExpensesGeneralAndAdminExpenses',
168
- 'travel_expenses_selling_expense' => 'TravelExpensesSellingExpense',
169
- 'travel_meals' => 'TravelMeals',
170
- 'travel' => 'Travel',
171
- 'unapplied_cash_bill_payment_expense' => 'UnappliedCashBillPaymentExpense',
172
- # Other Expense
173
- 'amortization' => 'Amortization',
174
- 'deferred_tax_expense' => 'DeferredTaxExpense',
175
- 'depletion' => 'Depletion',
176
- 'depreciation' => 'Depreciation',
177
- 'exceptional_items' => 'ExceptionalItems',
178
- 'exchange_gain_or_loss' => 'ExchangeGainOrLoss',
179
- 'extraordinary_items' => 'ExtraordinaryItems',
180
- 'gas_and_fuel' => 'GasAndFuel',
181
- 'home_office' => 'HomeOffice',
182
- 'home_owner_rental_insurance' => 'HomeOwnerRentalInsurance',
183
- 'income_tax_other_expense' => 'IncomeTaxOtherExpense',
184
- 'mat_credit' => 'MatCredit',
185
- 'mortgage_interest' => 'MortgageInterest',
186
- 'other_home_office_expenses' => 'OtherHomeOfficeExpenses',
187
- 'other_miscellaneous_expense' => 'OtherMiscellaneousExpense',
188
- 'other_vehicle_expenses' => 'OtherVehicleExpenses',
189
- 'parking_and_tolls' => 'ParkingAndTolls',
190
- 'penalties_settlements' => 'PenaltiesSettlements',
191
- 'prior_period_items' => 'PriorPeriodItems',
192
- 'rent_and_lease' => 'RentAndLease',
193
- 'repairs_and_maintenance' => 'RepairsAndMaintenance',
194
- 'tax_roundoff_gain_or_loss' => 'TaxRoundoffGainOrLoss',
195
- 'utilities' => 'Utilities',
196
- 'vehicle_insurance' => 'VehicleInsurance',
197
- 'vehicle_lease' => 'VehicleLease',
198
- 'vehicle_loan_interest' => 'VehicleLoanInterest',
199
- 'vehicle_loan' => 'VehicleLoan',
200
- 'vehicle_registration' => 'VehicleRegistration',
201
- 'vehicle_repairs' => 'VehicleRepairs',
202
- 'vehicle' => 'Vehicle',
203
- 'wash_and_road_services' => 'WashAndRoadServices',
204
- # Cost of Goods Sold
205
- 'cost_of_labor_cos' => 'CostOfLaborCos',
206
- 'cost_of_sales' => 'CostOfSales',
207
- 'equipment_rental_cos' => 'EquipmentRentalCos',
208
- 'freight_and_delivery_cost' => 'FreightAndDeliveryCost',
209
- 'other_costs_of_service_cos' => 'OtherCostsOfServiceCos',
210
- 'shipping_freight_delivery_cos' => 'ShippingFreightDeliveryCos',
211
- 'supplies_materials_cogs' => 'SuppliesMaterialsCogs',
212
- # Accounts Payable
213
- 'accounts_payable' => 'AccountsPayable',
214
- 'outstanding_dues_micro_small_enterprise' => 'OutstandingDuesMicroSmallEnterprise',
215
- 'outstanding_dues_other_than_micro_small_enterprise' => 'OutstandingDuesOtherThanMicroSmallEnterprise',
216
- # Credit Card
217
- 'credit_card' => 'CreditCard',
218
- # Long Term Liability
219
- 'accruals_and_deferred_income' => 'AccrualsAndDeferredIncome',
220
- 'accrued_long_lerm_liabilities' => 'AccruedLongLermLiabilities',
221
- 'accrued_vacation_payable' => 'AccruedVacationPayable',
222
- 'bank_loans' => 'BankLoans',
223
- 'debts_related_to_participating_interests' => 'DebtsRelatedToParticipatingInterests',
224
- 'deferred_tax_liabilities' => 'DeferredTaxLiabilities',
225
- 'government_and_other_public_authorities' => 'GovernmentAndOtherPublicAuthorities',
226
- 'group_and_associates' => 'GroupAndAssociates',
227
- 'liabilities_related_to_assets_held_for_sale' => 'LiabilitiesRelatedToAssetsHeldForSale',
228
- 'long_term_borrowings' => 'LongTermBorrowings',
229
- 'long_term_debit' => 'LongTermDebit',
230
- 'long_term_employee_benefit_obligations' => 'LongTermEmployeeBenefitObligations',
231
- 'notes_payable' => 'NotesPayable',
232
- 'obligations_under_finance_leases' => 'ObligationsUnderFinanceLeases',
233
- 'other_long_term_liabilities' => 'OtherLongTermLiabilities',
234
- 'other_long_term_provisions' => 'OtherLongTermProvisions',
235
- 'provision_for_liabilities' => 'ProvisionForLiabilities',
236
- 'provisions_non_current_liabilities' => 'ProvisionsNonCurrentLiabilities',
237
- 'shareholder_notes_payable' => 'ShareholderNotesPayable',
238
- 'staff_and_related_long_term_liability_accounts' => 'StaffAndRelatedLongTermLiabilityAccounts',
239
- # Other Current Liability
240
- 'accrued_liabilities' => 'AccruedLiabilities',
241
- 'current_liabilities' => 'CurrentLiabilities',
242
- 'current_portion_employee_benefits_obligations' => 'CurrentPortionEmployeeBenefitsObligations',
243
- 'current_portion_of_obligations_under_finance_leases' => 'CurrentPortionOfObligationsUnderFinanceLeases',
244
- 'current_tax_liability' => 'CurrentTaxLiability',
245
- 'direct_deposit_payable' => 'DirectDepositPayable',
246
- 'dividends_payable' => 'DividendsPayable',
247
- 'duties_and_taxes' => 'DutiesAndTaxes',
248
- 'federal_income_tax_payable' => 'FederalIncomeTaxPayable',
249
- 'global_tax_payable' => 'GlobalTaxPayable',
250
- 'global_tax_suspense' => 'GlobalTaxSuspense',
251
- 'insurance_payable' => 'InsurancePayable',
252
- 'interest_payables' => 'InterestPayables',
253
- 'line_of_credit' => 'LineOfCredit',
254
- 'loan_payable' => 'LoanPayable',
255
- 'other_current_liabilities' => 'OtherCurrentLiabilities',
256
- 'payroll_clearing' => 'PayrollClearing',
257
- 'payroll_tax_payable' => 'PayrollTaxPayable',
258
- 'prepaid_expenses_payable' => 'PrepaidExpensesPayable',
259
- 'provision_for_warranty_obligations' => 'ProvisionForWarrantyObligations',
260
- 'provisions_current_liabilities' => 'ProvisionsCurrentLiabilities',
261
- 'rents_in_trust_liability' => 'RentsInTrustLiability',
262
- 'sales_tax_payable' => 'SalesTaxPayable',
263
- 'short_term_borrowings' => 'ShortTermBorrowings',
264
- 'social_security_agencies' => 'SocialSecurityAgencies',
265
- 'staff_and_related_liability_accounts' => 'StaffAndRelatedLiabilityAccounts',
266
- 'state_local_income_tax_payable' => 'StateLocalIncomeTaxPayable',
267
- 'sundry_debtors_and_creditors' => 'SundryDebtorsAndCreditors',
268
- 'trade_and_other_payables' => 'TradeAndOtherPayables',
269
- 'trust_accounts_liabilities' => 'TrustAccountsLiabilities',
270
- # Income
271
- 'cash_receipt_income' => 'CashReceiptIncome',
272
- 'discounts_refunds_given' => 'DiscountsRefundsGiven',
273
- 'non_profit_income' => 'NonProfitIncome',
274
- 'operating_grants' => 'OperatingGrants',
275
- 'other_current_operating_income' => 'OtherCurrentOperatingIncome',
276
- 'other_primary_income' => 'OtherPrimaryIncome',
277
- 'own_work_capitalized' => 'OwnWorkCapitalized',
278
- 'revenue_general' => 'RevenueGeneral',
279
- 'sales_of_product_income' => 'SalesOfProductIncome',
280
- 'sales_retail' => 'SalesRetail',
281
- 'sales_wholesale' => 'SalesWholesale',
282
- 'savings_by_tax_scheme' => 'SavingsByTaxScheme',
283
- 'service_fee_income' => 'ServiceFeeIncome',
284
- 'unapplied_cash_payment_income' => 'UnappliedCashPaymentIncome',
285
- # Other Income
286
- 'dividend_income' => 'DividendIncome',
287
- 'gain_loss_on_sale_of_fixed_assets' => 'GainLossOnSaleOfFixedAssets',
288
- 'gain_loss_on_sale_of_investments' => 'GainLossOnSaleOfInvestments',
289
- 'interest_earned' => 'InterestEarned',
290
- 'loss_on_disposal_of_assets' => 'LossOnDisposalOfAssets',
291
- 'other_investment_income' => 'OtherInvestmentIncome',
292
- 'other_miscellaneous_income' => 'OtherMiscellaneousIncome',
293
- 'other_operating_income' => 'OtherOperatingIncome',
294
- 'tax_exempt_interest' => 'TaxExemptInterest',
295
- 'unrealised_loss_on_securities_net_of_tax' => 'UnrealisedLossOnSecuritiesNetOfTax'
296
- }.freeze
297
-
298
8
  TYPES = {
299
9
  'bank' => 'Bank',
300
10
  'other_current_assets' => 'Other Current Asset',
@@ -3,7 +3,7 @@
3
3
  # :nocov:
4
4
  module LedgerSync
5
5
  module QuickBooksOnline
6
- VERSION = '0.3.1'
6
+ VERSION = '0.4.0'
7
7
 
8
8
  def self.version(args = {})
9
9
  pre = args.fetch(:pre, false)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ledger_sync-quickbooks_online
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Modern Treasury
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-09 00:00:00.000000000 Z
11
+ date: 2021-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print