gobl 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,47 @@
1
+ {
2
+ "$schema": "https://gobl.org/draft-0/tax/regime",
3
+ "name": {
4
+ "en": "France",
5
+ "fr": "La France"
6
+ },
7
+ "country": "FR",
8
+ "currency": "EUR",
9
+ "categories": [
10
+ {
11
+ "code": "VAT",
12
+ "name": {
13
+ "en": "VAT",
14
+ "fr": "TVA"
15
+ },
16
+ "desc": {
17
+ "en": "Value Added Tax",
18
+ "fr": "Taxe sur la Valeur Ajoutée"
19
+ },
20
+ "rates": [
21
+ {
22
+ "key": "zero",
23
+ "name": {
24
+ "en": "Zero Rate"
25
+ },
26
+ "values": [
27
+ {
28
+ "percent": "0.0%"
29
+ }
30
+ ]
31
+ },
32
+ {
33
+ "key": "standard",
34
+ "name": {
35
+ "en": "Standard Rate"
36
+ },
37
+ "values": [
38
+ {
39
+ "since": "2011-01-04",
40
+ "percent": "20.0%"
41
+ }
42
+ ]
43
+ }
44
+ ]
45
+ }
46
+ ]
47
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "$schema": "https://gobl.org/draft-0/tax/regime",
3
+ "name": {
4
+ "en": "United Kingdom"
5
+ },
6
+ "country": "GB",
7
+ "currency": "GBP",
8
+ "categories": [
9
+ {
10
+ "code": "VAT",
11
+ "name": {
12
+ "en": "VAT"
13
+ },
14
+ "desc": {
15
+ "en": "Value Added Tax"
16
+ },
17
+ "rates": [
18
+ {
19
+ "key": "zero",
20
+ "name": {
21
+ "en": "Zero Rate"
22
+ },
23
+ "values": [
24
+ {
25
+ "percent": "0.0%"
26
+ }
27
+ ]
28
+ },
29
+ {
30
+ "key": "standard",
31
+ "name": {
32
+ "en": "Standard Rate"
33
+ },
34
+ "values": [
35
+ {
36
+ "since": "2011-01-04",
37
+ "percent": "20.0%"
38
+ }
39
+ ]
40
+ },
41
+ {
42
+ "key": "reduced",
43
+ "name": {
44
+ "en": "Reduced Rate"
45
+ },
46
+ "values": [
47
+ {
48
+ "since": "2011-01-04",
49
+ "percent": "5.0%"
50
+ }
51
+ ]
52
+ }
53
+ ]
54
+ }
55
+ ]
56
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "$schema": "https://gobl.org/draft-0/tax/regime",
3
+ "name": {
4
+ "en": "The Netherlands",
5
+ "nl": "Nederland"
6
+ },
7
+ "country": "NL",
8
+ "currency": "EUR",
9
+ "categories": [
10
+ {
11
+ "code": "VAT",
12
+ "name": {
13
+ "en": "VAT",
14
+ "nl": "BTW"
15
+ },
16
+ "desc": {
17
+ "en": "Value Added Tax",
18
+ "nl": "Belasting Toegevoegde Waarde"
19
+ },
20
+ "rates": [
21
+ {
22
+ "key": "zero",
23
+ "name": {
24
+ "en": "Zero Rate",
25
+ "nl": "0%-tarief"
26
+ },
27
+ "values": [
28
+ {
29
+ "percent": "0.0%"
30
+ }
31
+ ]
32
+ },
33
+ {
34
+ "key": "standard",
35
+ "name": {
36
+ "en": "Standard Rate",
37
+ "nl": "Standaardtarief"
38
+ },
39
+ "values": [
40
+ {
41
+ "percent": "21.0%"
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "key": "reduced",
47
+ "name": {
48
+ "en": "Reduced Rate",
49
+ "nl": "Gereduceerd Tarief"
50
+ },
51
+ "values": [
52
+ {
53
+ "percent": "9.0%"
54
+ }
55
+ ]
56
+ }
57
+ ]
58
+ }
59
+ ]
60
+ }
data/lib/gobl/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GOBL
4
- VERSION = '0.5.0'
4
+ VERSION = '0.5.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gobl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Lilue
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-01-11 00:00:00.000000000 Z
13
+ date: 2023-01-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -74,6 +74,11 @@ executables: []
74
74
  extensions: []
75
75
  extra_rdoc_files: []
76
76
  files:
77
+ - data/regimes/co.json
78
+ - data/regimes/es.json
79
+ - data/regimes/fr.json
80
+ - data/regimes/gb.json
81
+ - data/regimes/nl.json
77
82
  - lib/ext/hashme.rb
78
83
  - lib/extensions.rb
79
84
  - lib/gobl.rb