gobl 0.11.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/data/regimes/co.json +140 -0
  3. data/data/regimes/es.json +3 -0
  4. data/data/regimes/fr.json +6 -0
  5. data/data/regimes/pt.json +5 -0
  6. data/lib/generated/gobl/bill/charge.rb +1 -1
  7. data/lib/generated/gobl/bill/delivery.rb +10 -10
  8. data/lib/generated/gobl/bill/discount.rb +1 -1
  9. data/lib/generated/gobl/bill/document_reference.rb +1 -1
  10. data/lib/generated/gobl/bill/invoice.rb +1 -1
  11. data/lib/generated/gobl/bill/line.rb +1 -1
  12. data/lib/generated/gobl/bill/line_charge.rb +1 -1
  13. data/lib/generated/gobl/bill/line_discount.rb +1 -1
  14. data/lib/generated/gobl/bill/ordering.rb +6 -1
  15. data/lib/generated/gobl/bill/outlay.rb +1 -1
  16. data/lib/generated/gobl/bill/payment.rb +1 -1
  17. data/lib/generated/gobl/bill/preceding.rb +1 -1
  18. data/lib/generated/gobl/bill/tax.rb +1 -1
  19. data/lib/generated/gobl/bill/totals.rb +1 -1
  20. data/lib/generated/gobl/cal/date.rb +1 -1
  21. data/lib/generated/gobl/cal/period.rb +8 -1
  22. data/lib/generated/gobl/cbc/code.rb +1 -1
  23. data/lib/generated/gobl/cbc/key.rb +1 -1
  24. data/lib/generated/gobl/cbc/meta.rb +1 -1
  25. data/lib/generated/gobl/cbc/note.rb +1 -1
  26. data/lib/generated/gobl/cbc/stamp.rb +1 -1
  27. data/lib/generated/gobl/currency/code.rb +1 -1
  28. data/lib/generated/gobl/currency/exchange_rate.rb +1 -1
  29. data/lib/generated/gobl/document.rb +2 -2
  30. data/lib/generated/gobl/dsig/digest.rb +1 -1
  31. data/lib/generated/gobl/dsig/signature.rb +1 -1
  32. data/lib/generated/gobl/envelope.rb +1 -1
  33. data/lib/generated/gobl/header.rb +1 -1
  34. data/lib/generated/gobl/i18n/string.rb +1 -1
  35. data/lib/generated/gobl/l10n/code.rb +1 -1
  36. data/lib/generated/gobl/l10n/country_code.rb +1 -1
  37. data/lib/generated/gobl/note/message.rb +1 -1
  38. data/lib/generated/gobl/org/address.rb +1 -1
  39. data/lib/generated/gobl/org/coordinates.rb +1 -1
  40. data/lib/generated/gobl/org/email.rb +1 -1
  41. data/lib/generated/gobl/org/identity.rb +1 -1
  42. data/lib/generated/gobl/org/image.rb +1 -1
  43. data/lib/generated/gobl/org/inbox.rb +1 -1
  44. data/lib/generated/gobl/org/item.rb +1 -1
  45. data/lib/generated/gobl/org/name.rb +1 -1
  46. data/lib/generated/gobl/org/party.rb +1 -1
  47. data/lib/generated/gobl/org/person.rb +1 -1
  48. data/lib/generated/gobl/org/registration.rb +1 -1
  49. data/lib/generated/gobl/org/telephone.rb +1 -1
  50. data/lib/generated/gobl/org/unit.rb +1 -1
  51. data/lib/generated/gobl/org/website.rb +1 -1
  52. data/lib/generated/gobl/pay/advance.rb +1 -1
  53. data/lib/generated/gobl/pay/card.rb +1 -1
  54. data/lib/generated/gobl/pay/credit_transfer.rb +1 -1
  55. data/lib/generated/gobl/pay/direct_debit.rb +1 -1
  56. data/lib/generated/gobl/pay/due_date.rb +1 -1
  57. data/lib/generated/gobl/pay/instructions.rb +1 -1
  58. data/lib/generated/gobl/pay/online.rb +1 -1
  59. data/lib/generated/gobl/pay/terms.rb +1 -1
  60. data/lib/generated/gobl/tax/category.rb +1 -1
  61. data/lib/generated/gobl/tax/category_total.rb +1 -1
  62. data/lib/generated/gobl/tax/combo.rb +1 -1
  63. data/lib/generated/gobl/tax/identity.rb +1 -1
  64. data/lib/generated/gobl/tax/identity_type.rb +1 -1
  65. data/lib/generated/gobl/tax/key_definition.rb +1 -1
  66. data/lib/generated/gobl/tax/preceding_definitions.rb +11 -1
  67. data/lib/generated/gobl/tax/rate.rb +1 -1
  68. data/lib/generated/gobl/tax/rate_total.rb +1 -1
  69. data/lib/generated/gobl/tax/rate_total_surcharge.rb +1 -1
  70. data/lib/generated/gobl/tax/rate_value.rb +1 -1
  71. data/lib/generated/gobl/tax/regime.rb +1 -1
  72. data/lib/generated/gobl/tax/scenario.rb +1 -1
  73. data/lib/generated/gobl/tax/scenario_set.rb +1 -1
  74. data/lib/generated/gobl/tax/set.rb +1 -1
  75. data/lib/generated/gobl/tax/tag.rb +1 -1
  76. data/lib/generated/gobl/tax/total.rb +1 -1
  77. data/lib/generated/gobl/tax/zone.rb +1 -1
  78. data/lib/generated/gobl/uuid/uuid.rb +1 -1
  79. data/lib/gobl/version.rb +1 -1
  80. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d162daa116b9e2561aaed411ca059fcb926f150685dfd0682d403f5c0885f88c
4
- data.tar.gz: 3aa58e456a8cbaa5bf1330020eeb6aca7b5a8afcbd151e414464dacd007899bf
3
+ metadata.gz: 01ff1f5f1952b457c0e3f6cae8413700de5ed91f07d8e3b7b8460f9dbd18c98d
4
+ data.tar.gz: 5bf384ff04e77aa7304fcd7b99f7c9cc0dbd50fa0ca060753575bfe569023d18
5
5
  SHA512:
6
- metadata.gz: 7f2bd0ce77302a5286172352dd6d438ef6f36258ff7633a7aaf59b73f51b2c822c7051f29cfb09cdaf850fff6b225bc681c8a23287e2aa9d78fdbb1fae839850
7
- data.tar.gz: dc18b7b9ea9ad8003da892bd91f3e4f78340f5b457322732f89d36400b142f118a339675d47b747bd97fd9a0d3fc1ded1a76784a738bc5c70a2e3a186ee96252
6
+ metadata.gz: 4b64bbc22b727558079e18f90ac10a9cbdf0150f057590887830cc59c5ab9274d8c20f7fbdfd854cff42c70aba8ef46e800a23699315f65f8d5f5391925e1ef3
7
+ data.tar.gz: 96cc1e1548d7be6dd012cc0c2a2f69a1a4255749329b1f1b994c4de49e48131972aee27bab6260f7c98211f356b8b38aa5db4518efb13dbff9981ef59877ff0b
data/data/regimes/co.json CHANGED
@@ -14581,7 +14581,147 @@
14581
14581
  }
14582
14582
  ],
14583
14583
  "currency": "COP",
14584
+ "identity_types": [
14585
+ {
14586
+ "key": "tin",
14587
+ "name": {
14588
+ "en": "TIN - Tax Identification Number",
14589
+ "es": "NIT - Número de Identificación Tributaria"
14590
+ },
14591
+ "meta": {
14592
+ "dian-additional-account-id": "1",
14593
+ "dian-company-id": "31"
14594
+ }
14595
+ },
14596
+ {
14597
+ "key": "civil",
14598
+ "name": {
14599
+ "en": "Civil Registry",
14600
+ "es": "Registro Civil"
14601
+ },
14602
+ "meta": {
14603
+ "dian-additional-account-id": "2",
14604
+ "dian-company-id": "11"
14605
+ }
14606
+ },
14607
+ {
14608
+ "key": "card",
14609
+ "name": {
14610
+ "en": "Identity Card",
14611
+ "es": "Tarjeta de Identidad"
14612
+ },
14613
+ "meta": {
14614
+ "dian-additional-account-id": "2",
14615
+ "dian-company-id": "12"
14616
+ }
14617
+ },
14618
+ {
14619
+ "key": "citizen",
14620
+ "name": {
14621
+ "en": "Citizen Identity Card",
14622
+ "es": "Cédula de ciudadanía"
14623
+ },
14624
+ "meta": {
14625
+ "dian-additional-account-id": "2",
14626
+ "dian-company-id": "13"
14627
+ }
14628
+ },
14629
+ {
14630
+ "key": "card+foreigner",
14631
+ "name": {
14632
+ "en": "Foreigner Identity Card",
14633
+ "es": "Tarjeta de Extranjería"
14634
+ },
14635
+ "meta": {
14636
+ "dian-additional-account-id": "2",
14637
+ "dian-company-id": "21"
14638
+ }
14639
+ },
14640
+ {
14641
+ "key": "citizen+foreigner",
14642
+ "name": {
14643
+ "en": "Foreigner Citizen Identity Card",
14644
+ "es": "Cédula de extranjería"
14645
+ },
14646
+ "meta": {
14647
+ "dian-additional-account-id": "2",
14648
+ "dian-company-id": "22"
14649
+ }
14650
+ },
14651
+ {
14652
+ "key": "tin+individual",
14653
+ "name": {
14654
+ "en": "TIN of an individual",
14655
+ "es": "NIT de persona natural"
14656
+ },
14657
+ "meta": {
14658
+ "dian-additional-account-id": "2",
14659
+ "dian-company-id": "31"
14660
+ }
14661
+ },
14662
+ {
14663
+ "key": "passport",
14664
+ "name": {
14665
+ "en": "Passport",
14666
+ "es": "Pasaporte"
14667
+ },
14668
+ "meta": {
14669
+ "dian-additional-account-id": "2",
14670
+ "dian-company-id": "41"
14671
+ }
14672
+ },
14673
+ {
14674
+ "key": "foreign",
14675
+ "name": {
14676
+ "en": "Foreign Document",
14677
+ "es": "Documento de identificación extranjero"
14678
+ },
14679
+ "meta": {
14680
+ "dian-additional-account-id": "2",
14681
+ "dian-company-id": "42"
14682
+ }
14683
+ },
14684
+ {
14685
+ "key": "pep",
14686
+ "name": {
14687
+ "en": "PEP - Special Permit to Stay",
14688
+ "es": "PEP - Permiso Especial de Permanencia"
14689
+ },
14690
+ "meta": {
14691
+ "dian-additional-account-id": "2",
14692
+ "dian-company-id": "47"
14693
+ }
14694
+ },
14695
+ {
14696
+ "key": "tin+foreign",
14697
+ "name": {
14698
+ "en": "Foreign TIN",
14699
+ "es": "NIT de otro país"
14700
+ },
14701
+ "meta": {
14702
+ "dian-additional-account-id": "1",
14703
+ "dian-company-id": "50"
14704
+ }
14705
+ },
14706
+ {
14707
+ "key": "nuip",
14708
+ "name": {
14709
+ "en": "NUIP - National Unique Personal Identification Number",
14710
+ "es": "NUIP - Número Único de Identificación Personal"
14711
+ },
14712
+ "meta": {
14713
+ "dian-additional-account-id": "2",
14714
+ "dian-company-id": "91"
14715
+ }
14716
+ }
14717
+ ],
14584
14718
  "preceding": {
14719
+ "types": [
14720
+ "credit-note"
14721
+ ],
14722
+ "stamps": [
14723
+ "dian-cude"
14724
+ ],
14585
14725
  "correction_methods": [
14586
14726
  {
14587
14727
  "key": "partial",
data/data/regimes/es.json CHANGED
@@ -812,6 +812,9 @@
812
812
  }
813
813
  ],
814
814
  "preceding": {
815
+ "types": [
816
+ "corrective"
817
+ ],
815
818
  "corrections": [
816
819
  {
817
820
  "key": "code",
data/data/regimes/fr.json CHANGED
@@ -6,6 +6,12 @@
6
6
  },
7
7
  "country": "FR",
8
8
  "currency": "EUR",
9
+ "preceding": {
10
+ "types": [
11
+ "corrective",
12
+ "credit-note"
13
+ ]
14
+ },
9
15
  "categories": [
10
16
  {
11
17
  "code": "VAT",
data/data/regimes/pt.json CHANGED
@@ -128,6 +128,11 @@
128
128
  }
129
129
  ],
130
130
  "currency": "EUR",
131
+ "preceding": {
132
+ "types": [
133
+ "credit-note"
134
+ ]
135
+ },
131
136
  "categories": [
132
137
  {
133
138
  "code": "VAT",
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -19,19 +19,19 @@ module GOBL
19
19
  property :receiver, GOBL::Org::Party
20
20
 
21
21
  # @!attribute [r] date
22
- # When the goods should be expected
22
+ # When the goods should be expected.
23
23
  # @return [GOBL::Cal::Date]
24
24
  property :date, GOBL::Cal::Date
25
25
 
26
- # @!attribute [r] start_date
27
- # Start of an invoicing or delivery period
28
- # @return [GOBL::Cal::Date]
29
- property :start_date, GOBL::Cal::Date
26
+ # @!attribute [r] period
27
+ # Period of time in which to expect delivery if a specific date is not available.
28
+ # @return [GOBL::Cal::Period]
29
+ property :period, GOBL::Cal::Period
30
30
 
31
- # @!attribute [r] end_date
32
- # End of an invoicing or delivery period
33
- # @return [GOBL::Cal::Date]
34
- property :end_date, GOBL::Cal::Date
31
+ # @!attribute [r] meta
32
+ # Additional custom data.
33
+ # @return [GOBL::CBC::Meta]
34
+ property :meta, GOBL::CBC::Meta
35
35
  end
36
36
  end
37
37
  end
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -18,6 +18,11 @@ module GOBL
18
18
  # @return [String]
19
19
  property :code, String
20
20
 
21
+ # @!attribute [r] period
22
+ # Period of time that the invoice document refers to often used in addition to the details provided in the individual line items.
23
+ # @return [GOBL::Cal::Period]
24
+ property :period, GOBL::Cal::Period
25
+
21
26
  # @!attribute [r] project
22
27
  # Project this invoice refers to.
23
28
  # @return [DocumentReference]
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -13,12 +13,19 @@ module GOBL
13
13
  # The Schema ID of the GOBL Period structure
14
14
  SCHEMA_ID = 'https://gobl.org/draft-0/cal/period'
15
15
 
16
+ # @!attribute [r] label
17
+ # Label is a short description of the period.
18
+ # @return [String]
19
+ property :label, String
20
+
16
21
  # @!attribute [r] start
22
+ # Start indicates when this period starts.
17
23
  # @return [GOBL::Cal::Date]
18
24
  property :start, GOBL::Cal::Date
19
25
  validates_presence_of :start
20
26
 
21
27
  # @!attribute [r] end
28
+ # End indicates when the period ends, and must be after the start date.
22
29
  # @return [GOBL::Cal::Date]
23
30
  property :end, GOBL::Cal::Date
24
31
  validates_presence_of :end
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -3,12 +3,12 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.39.0
6
+ ## Generated with GOBL v0.42.0
7
7
  ##
8
8
 
9
9
  module GOBL
10
10
  # Contains the document payload to be included inside an Envelope.
11
- #
11
+ #
12
12
  # The document must contain a `$schema` property that identifies
13
13
  # the data's structure otherwise it will be rejected.
14
14
  class Document < GOBL::Map
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -13,6 +13,16 @@ module GOBL
13
13
  # The Schema ID of the GOBL PrecedingDefinitions structure
14
14
  SCHEMA_ID = 'https://gobl.org/draft-0/tax/regime#/$defs/PrecedingDefinitions'
15
15
 
16
+ # @!attribute [r] types
17
+ # The types of sub-documents supported by the regime
18
+ # @return [Array<GOBL::CBC::Key>]
19
+ property :types, [GOBL::CBC::Key]
20
+
21
+ # @!attribute [r] stamps
22
+ # Stamps that must be copied from the preceding document.
23
+ # @return [Array<GOBL::CBC::Key>]
24
+ property :stamps, [GOBL::CBC::Key]
25
+
16
26
  # @!attribute [r] corrections
17
27
  # Corrections contains a list of all the keys that can be used to identify a correction.
18
28
  # @return [Array<KeyDefinition>]
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
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.39.0
6
+ ## Generated with GOBL v0.42.0
7
7
  ##
8
8
 
9
9
  module GOBL
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.11.0'
4
+ VERSION = '0.12.0'
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.11.0
4
+ version: 0.12.0
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-03-28 00:00:00.000000000 Z
13
+ date: 2023-04-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport