exact 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: 3a90a638bc3cc1e94c87d187d9586b9e4ee86f04
4
- data.tar.gz: e655fe92d9cb52de3dfc008642d6b2dfe208d3a0
3
+ metadata.gz: 489ab798afbef1e66fc4684112167078ef265512
4
+ data.tar.gz: b31573e8969c8e2bea71899ac5d77601913e038f
5
5
  SHA512:
6
- metadata.gz: bb455ea82d3bc5b4f17deda11e18ee7109b49d694815f5b57fd5f364c37c3bf45a5bf589769c5a3c9ca864969404ea462a04f58975c177a4c1c15d4a098fe753
7
- data.tar.gz: 18b623e48f29170027e886b063ebc5d6c3c2389ab7a38ab06cd2f89714b1b5a2226593ddb0042db7fb0e4efdbb86ff42dddf6e17c29cf6fcb2554141843d3e33
6
+ metadata.gz: 6c203f9b44969d4a9849f1ff33696ef3bf5a9a8b2ffee109f414f93e84e5e274ac13a23d2855c64c8c0cab6ea06559653223629d4ab814f5959395f383037da4
7
+ data.tar.gz: 70031d80470ffa7e70e184f217093590615df620a2b0b61fd9e92f821663cc9218924c285994bc82bb75e5fb221a806f89867671a47b3706f21f954001526333
@@ -0,0 +1,4 @@
1
+ module Exact
2
+ class VATCodeMapping < BaseMapping
3
+ end
4
+ end
@@ -0,0 +1,51 @@
1
+ module Exact
2
+ class VATCode < Base
3
+ include ActiveModel::Model
4
+ include Virtus.model
5
+
6
+ EXACT_SERVICE = 'vat'
7
+ EXACT_GUID = 'ID'
8
+
9
+ attribute :Account, String
10
+ attribute :AccountCode, String
11
+ attribute :AccountName, String
12
+ attribute :CalculationBasis, String
13
+ attribute :Charged, Boolean
14
+ attribute :Code, String
15
+ attribute :Country, String
16
+ attribute :Created, DateTime
17
+ attribute :Creator, String
18
+ attribute :CreatorFullName, String
19
+ attribute :Description, String
20
+ attribute :Division, Integer
21
+ attribute :EUSalesListing, String
22
+ attribute :GLDiscountPurchase, String
23
+ attribute :GLDiscountPurchaseCode, String
24
+ attribute :GLDiscountPurchaseDescription, String
25
+ attribute :GLDiscountSales, String
26
+ attribute :GLDiscountSalesCode, String
27
+ attribute :GLDiscountSalesDescription, String
28
+ attribute :GLToClaim, String
29
+ attribute :GLToClaimCode, String
30
+ attribute :GLToClaimDescription, String
31
+ attribute :GLToPay, String
32
+ attribute :GLToPayCode, String
33
+ attribute :GLToPayDescription, String
34
+ attribute :ID, String
35
+ attribute :IntraStat, Boolean
36
+ attribute :IsBlocked, Boolean
37
+ attribute :LegalText, String
38
+ attribute :Modified, DateTime
39
+ attribute :Modifier, String
40
+ attribute :ModifierFullName, String
41
+ attribute :Percentage, String
42
+ attribute :TaxReturnType, Integer
43
+ attribute :Type, String
44
+ attribute :VatDocType, String
45
+ attribute :VatMargin, String
46
+ attribute :VATPartialRatio, Integer
47
+ attribute :VATTransactionType, String
48
+ end
49
+ end
50
+
51
+
data/lib/exact/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Exact
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
data/lib/exact.rb CHANGED
@@ -16,6 +16,7 @@ module Exact
16
16
  autoload :Project, 'exact/models/project'
17
17
  autoload :SalesInvoice, 'exact/models/sales_invoice'
18
18
  autoload :SalesInvoiceLine, 'exact/models/sales_invoice_line'
19
+ autoload :VATCode, 'exact/models/vat_code'
19
20
 
20
21
  # Mappings
21
22
  autoload :AccountMapping, 'exact/mappings/account_mapping'
@@ -28,6 +29,7 @@ module Exact
28
29
  autoload :ProjectMapping, 'exact/mappings/project_mapping'
29
30
  autoload :SalesInvoiceMapping, 'exact/mappings/sales_invoice_mapping'
30
31
  autoload :SalesInvoiceLineMapping, 'exact/mappings/sales_invoice_line_mapping'
32
+ autoload :VATCodeMapping, 'exact/mappings/vat_code_mapping'
31
33
 
32
34
  Error = Class.new(StandardError)
33
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exact
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - zzk
@@ -182,6 +182,7 @@ files:
182
182
  - lib/exact/mappings/project_mapping.rb
183
183
  - lib/exact/mappings/sales_invoice_line_mapping.rb
184
184
  - lib/exact/mappings/sales_invoice_mapping.rb
185
+ - lib/exact/mappings/vat_code_mapping.rb
185
186
  - lib/exact/models/account.rb
186
187
  - lib/exact/models/bank_account.rb
187
188
  - lib/exact/models/base.rb
@@ -192,6 +193,7 @@ files:
192
193
  - lib/exact/models/project.rb
193
194
  - lib/exact/models/sales_invoice.rb
194
195
  - lib/exact/models/sales_invoice_line.rb
196
+ - lib/exact/models/vat_code.rb
195
197
  - lib/exact/version.rb
196
198
  homepage: https://github.com/zzk/exact
197
199
  licenses: