gobl 0.4.1 → 0.5.1

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 (89) hide show
  1. checksums.yaml +4 -4
  2. data/data/regimes/co.json +14696 -0
  3. data/data/{tax/ES.json → regimes/es.json} +57 -57
  4. data/data/{tax/FR.json → regimes/fr.json} +1 -1
  5. data/data/{tax/GB.json → regimes/gb.json} +1 -1
  6. data/data/{tax/NL.json → regimes/nl.json} +1 -1
  7. data/lib/extensions.rb +1 -1
  8. data/lib/gobl/bill/advances.rb +1 -1
  9. data/lib/gobl/bill/charge.rb +3 -3
  10. data/lib/gobl/bill/delivery.rb +1 -1
  11. data/lib/gobl/bill/discount.rb +3 -3
  12. data/lib/gobl/bill/exchange_rates.rb +1 -1
  13. data/lib/gobl/bill/invoice.rb +5 -5
  14. data/lib/gobl/bill/invoice_type.rb +1 -1
  15. data/lib/gobl/bill/line.rb +3 -3
  16. data/lib/gobl/bill/line_charge.rb +1 -1
  17. data/lib/gobl/bill/line_discount.rb +1 -1
  18. data/lib/gobl/bill/ordering.rb +1 -1
  19. data/lib/gobl/bill/outlay.rb +1 -1
  20. data/lib/gobl/bill/payment.rb +1 -1
  21. data/lib/gobl/bill/preceding.rb +5 -5
  22. data/lib/gobl/bill/scheme_keys.rb +2 -2
  23. data/lib/gobl/bill/tax.rb +5 -5
  24. data/lib/gobl/bill/totals.rb +1 -1
  25. data/lib/gobl/cal/date.rb +1 -1
  26. data/lib/gobl/cal/period.rb +1 -1
  27. data/lib/gobl/{org → cbc}/code.rb +3 -3
  28. data/lib/gobl/{org → cbc}/key.rb +3 -3
  29. data/lib/gobl/{org → cbc}/meta.rb +2 -2
  30. data/lib/gobl/{org → cbc}/note.rb +3 -3
  31. data/lib/gobl/{org → cbc}/note_key.rb +3 -3
  32. data/lib/gobl/{org → cbc}/stamp.rb +5 -5
  33. data/lib/gobl/currency/code.rb +1 -1
  34. data/lib/gobl/currency/exchange_rate.rb +1 -1
  35. data/lib/gobl/document.rb +1 -1
  36. data/lib/gobl/dsig/digest.rb +1 -1
  37. data/lib/gobl/dsig/signature.rb +1 -1
  38. data/lib/gobl/envelope.rb +1 -1
  39. data/lib/gobl/header.rb +5 -5
  40. data/lib/gobl/i18n/string.rb +1 -1
  41. data/lib/gobl/l10n/code.rb +1 -1
  42. data/lib/gobl/l10n/country_code.rb +1 -1
  43. data/lib/gobl/note/message.rb +3 -3
  44. data/lib/gobl/org/address.rb +5 -6
  45. data/lib/gobl/org/coordinates.rb +1 -1
  46. data/lib/gobl/org/email.rb +3 -3
  47. data/lib/gobl/org/inbox.rb +5 -5
  48. data/lib/gobl/org/item.rb +3 -3
  49. data/lib/gobl/org/item_code.rb +1 -1
  50. data/lib/gobl/org/name.rb +3 -3
  51. data/lib/gobl/org/party.rb +5 -5
  52. data/lib/gobl/org/person.rb +3 -3
  53. data/lib/gobl/org/registration.rb +1 -1
  54. data/lib/gobl/org/telephone.rb +1 -1
  55. data/lib/gobl/org/unit.rb +1 -1
  56. data/lib/gobl/pay/advance.rb +1 -1
  57. data/lib/gobl/pay/card.rb +1 -1
  58. data/lib/gobl/pay/credit_transfer.rb +1 -1
  59. data/lib/gobl/pay/direct_debit.rb +1 -1
  60. data/lib/gobl/pay/due_date.rb +1 -1
  61. data/lib/gobl/pay/instructions.rb +3 -3
  62. data/lib/gobl/pay/method_key.rb +1 -1
  63. data/lib/gobl/pay/online.rb +1 -1
  64. data/lib/gobl/pay/term_key.rb +1 -1
  65. data/lib/gobl/pay/terms.rb +1 -1
  66. data/lib/gobl/tax/category.rb +4 -4
  67. data/lib/gobl/tax/category_total.rb +3 -3
  68. data/lib/gobl/tax/combo.rb +5 -5
  69. data/lib/gobl/{org/tax_identity.rb → tax/identity.rb} +11 -11
  70. data/lib/gobl/tax/rate.rb +4 -4
  71. data/lib/gobl/tax/rate_total.rb +3 -3
  72. data/lib/gobl/tax/rate_total_surcharge.rb +1 -1
  73. data/lib/gobl/tax/rate_value.rb +2 -2
  74. data/lib/gobl/tax/{region.rb → regime.rb} +14 -14
  75. data/lib/gobl/tax/scheme.rb +8 -8
  76. data/lib/gobl/tax/schemes.rb +1 -1
  77. data/lib/gobl/tax/set.rb +1 -1
  78. data/lib/gobl/{org → tax}/source_key.rb +3 -3
  79. data/lib/gobl/tax/total.rb +1 -1
  80. data/lib/gobl/tax/zone.rb +43 -0
  81. data/lib/gobl/uuid/uuid.rb +1 -1
  82. data/lib/gobl/version.rb +1 -1
  83. data/lib/gobl.rb +2 -1
  84. data/lib/gobl_extensions/tax/regime_helper.rb +35 -0
  85. metadata +18 -19
  86. data/data/tax/CO.json +0 -10212
  87. data/lib/gobl/tax/localities.rb +0 -14
  88. data/lib/gobl/tax/locality.rb +0 -34
  89. data/lib/gobl_extensions/tax/region_helper.rb +0 -35
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -52,8 +52,8 @@ module GOBL
52
52
 
53
53
  # @!attribute [r] stamps
54
54
  # Seals of approval from other organisations.
55
- # @return [Array<GOBL::Org::Stamp>]
56
- property :stamps, [GOBL::Org::Stamp]
55
+ # @return [Array<GOBL::CBC::Stamp>]
56
+ property :stamps, [GOBL::CBC::Stamp]
57
57
 
58
58
  # @!attribute [r] notes
59
59
  # Additional details regarding preceding invoice
@@ -62,8 +62,8 @@ module GOBL
62
62
 
63
63
  # @!attribute [r] meta
64
64
  # Additional semi-structured data that may be useful in specific regions
65
- # @return [GOBL::Org::Meta]
66
- property :meta, GOBL::Org::Meta
65
+ # @return [GOBL::CBC::Meta]
66
+ property :meta, GOBL::CBC::Meta
67
67
  end
68
68
  end
69
69
  end
@@ -3,12 +3,12 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
10
10
  module Bill
11
11
  # SchemeKeys stores a list of keys that makes it easier to perform matches.
12
- SchemeKeys = [GOBL::Org::Key] # rubocop:disable Naming/ConstantName, Style/MutableConstant
12
+ SchemeKeys = [GOBL::CBC::Key] # rubocop:disable Naming/ConstantName, Style/MutableConstant
13
13
  end
14
14
  end
data/lib/gobl/bill/tax.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -15,8 +15,8 @@ module GOBL
15
15
 
16
16
  # @!attribute [r] prices_include
17
17
  # Category of the tax already included in the line item prices, especially useful for B2C retailers with customers who prefer final prices inclusive of tax.
18
- # @return [GOBL::Org::Code]
19
- property :prices_include, GOBL::Org::Code
18
+ # @return [GOBL::CBC::Code]
19
+ property :prices_include, GOBL::CBC::Code
20
20
 
21
21
  # @!attribute [r] schemes
22
22
  # Special tax schemes that apply to this invoice according to local requirements.
@@ -25,8 +25,8 @@ module GOBL
25
25
 
26
26
  # @!attribute [r] meta
27
27
  # Any additional data that may be required for processing, but should never be relied upon by recipients.
28
- # @return [GOBL::Org::Meta]
29
- property :meta, GOBL::Org::Meta
28
+ # @return [GOBL::CBC::Meta]
29
+ property :meta, GOBL::CBC::Meta
30
30
  end
31
31
  end
32
32
  end
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
data/lib/gobl/cal/date.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,15 +3,15 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
10
- module Org
10
+ module CBC
11
11
  # Short upper-case identifier.
12
12
  class Code < GOBL::Value
13
13
  # The Schema ID of the GOBL Code structure
14
- SCHEMA_ID = 'https://gobl.org/draft-0/org/code'
14
+ SCHEMA_ID = 'https://gobl.org/draft-0/cbc/code'
15
15
  end
16
16
  end
17
17
  end
@@ -3,15 +3,15 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
10
- module Org
10
+ module CBC
11
11
  # Text identifier to be used instead of a code for a more verbose but readable identifier.
12
12
  class Key < GOBL::Value
13
13
  # The Schema ID of the GOBL Key structure
14
- SCHEMA_ID = 'https://gobl.org/draft-0/org/key'
14
+ SCHEMA_ID = 'https://gobl.org/draft-0/cbc/key'
15
15
  end
16
16
  end
17
17
  end
@@ -3,11 +3,11 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
10
- module Org
10
+ module CBC
11
11
  # Meta defines a structure for data about the data being defined.
12
12
  class Meta < GOBL::Map
13
13
  end
@@ -3,15 +3,15 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
10
- module Org
10
+ module CBC
11
11
  # Note represents a free text of additional information that may be added to a document.
12
12
  class Note < GOBL::Object
13
13
  # The Schema ID of the GOBL Note structure
14
- SCHEMA_ID = 'https://gobl.org/draft-0/org/note'
14
+ SCHEMA_ID = 'https://gobl.org/draft-0/cbc/note'
15
15
 
16
16
  # @!attribute [r] key
17
17
  # Key specifying subject of the text
@@ -3,15 +3,15 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
10
- module Org
10
+ module CBC
11
11
  # NoteKey identifies the type of note being edited
12
12
  class NoteKey < GOBL::Enum
13
13
  # The Schema ID of the GOBL NoteKey structure
14
- SCHEMA_ID = 'https://gobl.org/draft-0/org/note#/$defs/NoteKey'
14
+ SCHEMA_ID = 'https://gobl.org/draft-0/cbc/note#/$defs/NoteKey'
15
15
 
16
16
  # The enumeration of values of the object and their descriptions (Values different to these are not allowed)
17
17
  ENUM = {
@@ -3,20 +3,20 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
10
- module Org
10
+ module CBC
11
11
  # Stamp defines an official seal of approval from a third party like a governmental agency or intermediary and should thus be included in any official envelopes.
12
12
  class Stamp < GOBL::Object
13
13
  # The Schema ID of the GOBL Stamp structure
14
- SCHEMA_ID = 'https://gobl.org/draft-0/org/stamp'
14
+ SCHEMA_ID = 'https://gobl.org/draft-0/cbc/stamp'
15
15
 
16
16
  # @!attribute [r] prv
17
17
  # Identity of the agency used to create the stamp usually defined by each region.
18
- # @return [GOBL::Org::Key]
19
- property :prv, GOBL::Org::Key
18
+ # @return [GOBL::CBC::Key]
19
+ property :prv, GOBL::CBC::Key
20
20
  validates :prv, presence: true
21
21
 
22
22
  # @!attribute [r] val
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
data/lib/gobl/document.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
data/lib/gobl/envelope.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
data/lib/gobl/header.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -26,8 +26,8 @@ module GOBL
26
26
 
27
27
  # @!attribute [r] stamps
28
28
  # Seals of approval from other organisations.
29
- # @return [Array<GOBL::Org::Stamp>]
30
- property :stamps, [GOBL::Org::Stamp]
29
+ # @return [Array<GOBL::CBC::Stamp>]
30
+ property :stamps, [GOBL::CBC::Stamp]
31
31
 
32
32
  # @!attribute [r] tags
33
33
  # Set of labels that describe but have no influence on the data.
@@ -36,8 +36,8 @@ module GOBL
36
36
 
37
37
  # @!attribute [r] meta
38
38
  # Additional semi-structured information about this envelope.
39
- # @return [GOBL::Org::Meta]
40
- property :meta, GOBL::Org::Meta
39
+ # @return [GOBL::CBC::Meta]
40
+ property :meta, GOBL::CBC::Meta
41
41
 
42
42
  # @!attribute [r] notes
43
43
  # Any information that may be relevant to other humans about this envelope
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -26,8 +26,8 @@ module GOBL
26
26
 
27
27
  # @!attribute [r] meta
28
28
  # Any additional semi-structured data that might be useful.
29
- # @return [GOBL::Org::Meta]
30
- property :meta, GOBL::Org::Meta
29
+ # @return [GOBL::CBC::Meta]
30
+ property :meta, GOBL::CBC::Meta
31
31
  end
32
32
  end
33
33
  end
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -59,16 +59,15 @@ module GOBL
59
59
  property :street_extra, String
60
60
 
61
61
  # @!attribute [r] locality
62
- # The village, town, district, or city.
62
+ # Village, town, district, or city, typically inside a region.
63
63
  # @return [String]
64
64
  property :locality, String
65
65
  validates :locality, presence: true
66
66
 
67
67
  # @!attribute [r] region
68
- # Province, County, or State.
68
+ # Province, county, or state, inside a country.
69
69
  # @return [String]
70
70
  property :region, String
71
- validates :region, presence: true
72
71
 
73
72
  # @!attribute [r] code
74
73
  # Post or ZIP code.
@@ -87,8 +86,8 @@ module GOBL
87
86
 
88
87
  # @!attribute [r] meta
89
88
  # Any additional semi-structure details about the address.
90
- # @return [GOBL::Org::Meta]
91
- property :meta, GOBL::Org::Meta
89
+ # @return [GOBL::CBC::Meta]
90
+ property :meta, GOBL::CBC::Meta
92
91
  end
93
92
  end
94
93
  end
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -31,8 +31,8 @@ module GOBL
31
31
 
32
32
  # @!attribute [r] meta
33
33
  # Additional fields.
34
- # @return [GOBL::Org::Meta]
35
- property :meta, GOBL::Org::Meta
34
+ # @return [GOBL::CBC::Meta]
35
+ property :meta, GOBL::CBC::Meta
36
36
  end
37
37
  end
38
38
  end
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -20,14 +20,14 @@ module GOBL
20
20
 
21
21
  # @!attribute [r] key
22
22
  # Type of inbox being defined.
23
- # @return [GOBL::Org::Key]
24
- property :key, GOBL::Org::Key
23
+ # @return [GOBL::CBC::Key]
24
+ property :key, GOBL::CBC::Key
25
25
  validates :key, presence: true
26
26
 
27
27
  # @!attribute [r] role
28
28
  # Role assigned to this inbox that may be relevant for the consumer.
29
- # @return [GOBL::Org::Key]
30
- property :role, GOBL::Org::Key
29
+ # @return [GOBL::CBC::Key]
30
+ property :role, GOBL::CBC::Key
31
31
 
32
32
  # @!attribute [r] name
33
33
  # Human name for the inbox.
data/lib/gobl/org/item.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -62,8 +62,8 @@ module GOBL
62
62
 
63
63
  # @!attribute [r] meta
64
64
  # Additional meta information that may be useful
65
- # @return [GOBL::Org::Meta]
66
- property :meta, GOBL::Org::Meta
65
+ # @return [GOBL::CBC::Meta]
66
+ property :meta, GOBL::CBC::Meta
67
67
  end
68
68
  end
69
69
  end
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
data/lib/gobl/org/name.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -57,8 +57,8 @@ module GOBL
57
57
 
58
58
  # @!attribute [r] meta
59
59
  # Any additional useful data.
60
- # @return [GOBL::Org::Meta]
61
- property :meta, GOBL::Org::Meta
60
+ # @return [GOBL::CBC::Meta]
61
+ property :meta, GOBL::CBC::Meta
62
62
  end
63
63
  end
64
64
  end
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -25,8 +25,8 @@ module GOBL
25
25
 
26
26
  # @!attribute [r] tax_id
27
27
  # The entity's legal ID code used for tax purposes. They may have other numbers, but we're only interested in those valid for tax purposes.
28
- # @return [GOBL::Org::TaxIdentity]
29
- property :tax_id, GOBL::Org::TaxIdentity
28
+ # @return [GOBL::Tax::Identity]
29
+ property :tax_id, GOBL::Tax::Identity
30
30
 
31
31
  # @!attribute [r] name
32
32
  # Legal name or representation of the organization.
@@ -71,8 +71,8 @@ module GOBL
71
71
 
72
72
  # @!attribute [r] meta
73
73
  # Any additional semi-structured information that does not fit into the rest of the party.
74
- # @return [GOBL::Org::Meta]
75
- property :meta, GOBL::Org::Meta
74
+ # @return [GOBL::CBC::Meta]
75
+ property :meta, GOBL::CBC::Meta
76
76
  end
77
77
  end
78
78
  end
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -46,8 +46,8 @@ module GOBL
46
46
 
47
47
  # @!attribute [r] meta
48
48
  # Data about the data.
49
- # @return [GOBL::Org::Meta]
50
- property :meta, GOBL::Org::Meta
49
+ # @return [GOBL::CBC::Meta]
50
+ property :meta, GOBL::CBC::Meta
51
51
  end
52
52
  end
53
53
  end
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
data/lib/gobl/org/unit.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
data/lib/gobl/pay/card.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.32.0
6
+ ## Generated with GOBL v0.34.1
7
7
  ##
8
8
 
9
9
  module GOBL