gobl 0.12.0 → 0.13.0

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 (77) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +16 -9
  3. data/lib/generated/gobl/bill/charge.rb +6 -1
  4. data/lib/generated/gobl/bill/delivery.rb +1 -1
  5. data/lib/generated/gobl/bill/discount.rb +1 -1
  6. data/lib/generated/gobl/bill/document_reference.rb +1 -1
  7. data/lib/generated/gobl/bill/invoice.rb +1 -1
  8. data/lib/generated/gobl/bill/line.rb +1 -1
  9. data/lib/generated/gobl/bill/line_charge.rb +1 -1
  10. data/lib/generated/gobl/bill/line_discount.rb +1 -1
  11. data/lib/generated/gobl/bill/ordering.rb +1 -1
  12. data/lib/generated/gobl/bill/outlay.rb +1 -1
  13. data/lib/generated/gobl/bill/payment.rb +1 -1
  14. data/lib/generated/gobl/bill/preceding.rb +1 -1
  15. data/lib/generated/gobl/bill/tax.rb +1 -1
  16. data/lib/generated/gobl/bill/totals.rb +1 -1
  17. data/lib/generated/gobl/cal/date.rb +1 -1
  18. data/lib/generated/gobl/cal/period.rb +1 -1
  19. data/lib/generated/gobl/cbc/code.rb +1 -1
  20. data/lib/generated/gobl/cbc/key.rb +1 -1
  21. data/lib/generated/gobl/cbc/meta.rb +1 -1
  22. data/lib/generated/gobl/cbc/note.rb +9 -4
  23. data/lib/generated/gobl/cbc/stamp.rb +1 -1
  24. data/lib/generated/gobl/currency/code.rb +1 -1
  25. data/lib/generated/gobl/currency/exchange_rate.rb +1 -1
  26. data/lib/generated/gobl/document.rb +1 -1
  27. data/lib/generated/gobl/dsig/digest.rb +1 -1
  28. data/lib/generated/gobl/dsig/signature.rb +1 -1
  29. data/lib/generated/gobl/envelope.rb +1 -1
  30. data/lib/generated/gobl/header.rb +1 -1
  31. data/lib/generated/gobl/i18n/string.rb +1 -1
  32. data/lib/generated/gobl/l10n/code.rb +1 -1
  33. data/lib/generated/gobl/l10n/country_code.rb +1 -1
  34. data/lib/generated/gobl/note/message.rb +1 -1
  35. data/lib/generated/gobl/org/address.rb +1 -1
  36. data/lib/generated/gobl/org/coordinates.rb +1 -1
  37. data/lib/generated/gobl/org/email.rb +1 -1
  38. data/lib/generated/gobl/org/identity.rb +1 -1
  39. data/lib/generated/gobl/org/image.rb +1 -1
  40. data/lib/generated/gobl/org/inbox.rb +1 -1
  41. data/lib/generated/gobl/org/item.rb +1 -1
  42. data/lib/generated/gobl/org/name.rb +1 -1
  43. data/lib/generated/gobl/org/party.rb +1 -1
  44. data/lib/generated/gobl/org/person.rb +1 -1
  45. data/lib/generated/gobl/org/registration.rb +9 -1
  46. data/lib/generated/gobl/org/telephone.rb +1 -1
  47. data/lib/generated/gobl/org/unit.rb +1 -1
  48. data/lib/generated/gobl/org/website.rb +1 -1
  49. data/lib/generated/gobl/pay/advance.rb +1 -1
  50. data/lib/generated/gobl/pay/card.rb +1 -1
  51. data/lib/generated/gobl/pay/credit_transfer.rb +1 -1
  52. data/lib/generated/gobl/pay/direct_debit.rb +1 -1
  53. data/lib/generated/gobl/pay/due_date.rb +1 -1
  54. data/lib/generated/gobl/pay/instructions.rb +11 -11
  55. data/lib/generated/gobl/pay/online.rb +1 -1
  56. data/lib/generated/gobl/pay/terms.rb +1 -1
  57. data/lib/generated/gobl/tax/category.rb +1 -1
  58. data/lib/generated/gobl/tax/category_total.rb +1 -1
  59. data/lib/generated/gobl/tax/combo.rb +1 -1
  60. data/lib/generated/gobl/tax/identity.rb +1 -1
  61. data/lib/generated/gobl/tax/identity_type.rb +1 -1
  62. data/lib/generated/gobl/tax/key_definition.rb +1 -1
  63. data/lib/generated/gobl/tax/preceding_definitions.rb +1 -1
  64. data/lib/generated/gobl/tax/rate.rb +1 -1
  65. data/lib/generated/gobl/tax/rate_total.rb +1 -1
  66. data/lib/generated/gobl/tax/rate_total_surcharge.rb +1 -1
  67. data/lib/generated/gobl/tax/rate_value.rb +1 -1
  68. data/lib/generated/gobl/tax/regime.rb +6 -1
  69. data/lib/generated/gobl/tax/scenario.rb +1 -1
  70. data/lib/generated/gobl/tax/scenario_set.rb +1 -1
  71. data/lib/generated/gobl/tax/set.rb +1 -1
  72. data/lib/generated/gobl/tax/tag.rb +1 -1
  73. data/lib/generated/gobl/tax/total.rb +1 -1
  74. data/lib/generated/gobl/tax/zone.rb +1 -1
  75. data/lib/generated/gobl/uuid/uuid.rb +1 -1
  76. data/lib/gobl/version.rb +1 -1
  77. metadata +5 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01ff1f5f1952b457c0e3f6cae8413700de5ed91f07d8e3b7b8460f9dbd18c98d
4
- data.tar.gz: 5bf384ff04e77aa7304fcd7b99f7c9cc0dbd50fa0ca060753575bfe569023d18
3
+ metadata.gz: 9f70d1bbc2e695f02fa1e1536d695cb4679ed14241a741086a634f13750cf87a
4
+ data.tar.gz: 4df73f1d2afbd910ecbb9e22aaf1731753d3bfff86343d735edf32273c2d36c6
5
5
  SHA512:
6
- metadata.gz: 4b64bbc22b727558079e18f90ac10a9cbdf0150f057590887830cc59c5ab9274d8c20f7fbdfd854cff42c70aba8ef46e800a23699315f65f8d5f5391925e1ef3
7
- data.tar.gz: 96cc1e1548d7be6dd012cc0c2a2f69a1a4255749329b1f1b994c4de49e48131972aee27bab6260f7c98211f356b8b38aa5db4518efb13dbff9981ef59877ff0b
6
+ metadata.gz: 6f9891ae52a7b6f46f8e60248c28fe57b9cbe5deff0fb542fb89097deeffbdc6bedee84902d237b0153c74ba74bade31ee6b8d5e3c561a967f32a8bb32440c91
7
+ data.tar.gz: 875e7d964d16bebff30a576a81e161f962e5a9cfa70bd18542e05966cfe68c92084075fcb2cf25c398151ece68a95cd8017eb62fd326ecf641ded2e309b381f3
data/README.md CHANGED
@@ -12,18 +12,18 @@ Ruby library for reading, producing, manipulating and operating over [GOBL][3] d
12
12
 
13
13
  ### Features
14
14
 
15
- * Dedicated Ruby classes for each GOBL structure with typed attributes
16
- * [Object instantiation from nested hashes and arrays of attributes](#instantiating-structures)
17
- * [Object serialization/deserialization to/from JSON GOBL data](#serializing-to-and-deserializing-from-json)
18
- * [Idiomatic value objects with enumerations support](#handling-value-objects-and-enumerations)
19
- * Access to operations in the [GOBL CLI][4] service: [build, validate and sign](#running-operations)
20
- * [Full API reference documentation][1]
15
+ - Dedicated Ruby classes for each GOBL structure with typed attributes
16
+ - [Object instantiation from nested hashes and arrays of attributes](#instantiating-structures)
17
+ - [Object serialization/deserialization to/from JSON GOBL data](#serializing-to-and-deserializing-from-json)
18
+ - [Idiomatic value objects with enumerations support](#handling-value-objects-and-enumerations)
19
+ - Access to operations in the [GOBL CLI][4] service: [build, validate and sign](#running-operations)
20
+ - [Full API reference documentation][1]
21
21
 
22
22
  ### Documentation
23
23
 
24
- * [User guide](#user-guide)
25
- * [API reference][6]
26
- * [GOBL documentation][2]
24
+ - [User guide](#user-guide)
25
+ - [API reference][6]
26
+ - [GOBL documentation][2]
27
27
 
28
28
  ## User guide
29
29
 
@@ -249,3 +249,10 @@ The library is fully documented using YARD. You can spin up a YARD server with t
249
249
  [4]: https://github.com/invopop/gobl.cli
250
250
  [5]: https://www.rubydoc.info/gems/gobl/GOBL/Operations
251
251
  [6]: https://www.rubydoc.info/gems/gobl/index
252
+
253
+ ### Releases
254
+
255
+ When releasing a new version of the GOBL Ruby library:
256
+
257
+ 1. Update lib/gobl/version.rb and commit the change (no need to push)
258
+ 2. Run `rake release` which generates the tag, pushes everything to github and rubygems
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.4
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -18,6 +18,11 @@ module GOBL
18
18
  # @return [GOBL::UUID::UUID]
19
19
  property :uuid, GOBL::UUID::UUID
20
20
 
21
+ # @!attribute [r] key
22
+ # Key for grouping or identifying charges for tax purposes.
23
+ # @return [GOBL::CBC::Key]
24
+ property :key, GOBL::CBC::Key
25
+
21
26
  # @!attribute [r] i
22
27
  # Line number inside the list of discounts (calculated).
23
28
  # @return [Integer]
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -21,10 +21,10 @@ module GOBL
21
21
  'dangerous-goods' => 'Dangerous goods additional information',
22
22
  'ack' => 'Acknowledgement Description',
23
23
  'rate' => 'Rate additional information',
24
- 'reason' => 'Reason',
25
- 'dispute' => 'Dispute',
24
+ 'reason' => 'Explanation of something relevant to the document',
25
+ 'dispute' => 'Details on a dispute.',
26
26
  'customer' => 'Customer remarks',
27
- 'glossary' => 'Glossary',
27
+ 'glossary' => 'Glossary of terms',
28
28
  'customs' => 'Customs declaration information',
29
29
  'general' => 'General information',
30
30
  'handling' => 'Handling instructions',
@@ -63,6 +63,11 @@ module GOBL
63
63
  # @return [String]
64
64
  property :text, String
65
65
  validates_presence_of :text
66
+
67
+ # @!attribute [r] meta
68
+ # Additional information about the note
69
+ # @return [GOBL::CBC::Meta]
70
+ property :meta, GOBL::CBC::Meta
66
71
  end
67
72
  end
68
73
  end
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -17,6 +17,14 @@ module GOBL
17
17
  # @return [GOBL::UUID::UUID]
18
18
  property :uuid, GOBL::UUID::UUID
19
19
 
20
+ # @!attribute [r] social_capital
21
+ # @return [GOBL::Num::Amount]
22
+ property :social_capital, GOBL::Num::Amount
23
+
24
+ # @!attribute [r] currency
25
+ # @return [GOBL::Currency::Code]
26
+ property :currency, GOBL::Currency::Code
27
+
20
28
  # @!attribute [r] office
21
29
  # @return [String]
22
30
  property :office, String
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -15,16 +15,16 @@ module GOBL
15
15
 
16
16
  # Enumeration of possible values for {#key} with their corresponding descriptions
17
17
  KEY_ENUM = {
18
- 'any' => 'Any method available, no preference',
19
- 'card' => 'Credit or debit card',
20
- 'credit-transfer' => 'Sender initiated bank or wire transfer',
21
- 'debit-transfer' => 'Receiver initiated bank or wire transfer',
22
- 'cash' => 'Cash',
23
- 'cheque' => 'Cheque',
24
- 'credit' => 'Credit',
25
- 'bank-draft' => 'Bankers Draft or Bank Cheque',
26
- 'direct-debit' => 'Direct debit',
27
- 'online' => 'Online or web payment'
18
+ 'any' => 'Any method available, no preference.',
19
+ 'card' => 'Credit or debit card.',
20
+ 'credit-transfer' => 'Sender initiated bank or wire transfer.',
21
+ 'debit-transfer' => 'Receiver initiated bank or wire transfer.',
22
+ 'cash' => 'Cash in hand.',
23
+ 'cheque' => 'Cheque from bank.',
24
+ 'credit' => 'Using credit from previous transactions with the supplier.',
25
+ 'bank-draft' => 'Bankers Draft or Bank Cheque.',
26
+ 'direct-debit' => 'Direct debit from the customers bank account.',
27
+ 'online' => 'Online or web payment.'
28
28
  }.freeze
29
29
 
30
30
  # @!attribute [r] key
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
7
7
  ##
8
8
 
9
9
  module GOBL
@@ -46,6 +46,11 @@ module GOBL
46
46
  # @return [Array<IdentityType>]
47
47
  property :identity_types, [IdentityType]
48
48
 
49
+ # @!attribute [r] charge_types
50
+ # Charge types specific for the regime and may be validated or used in the UI as suggestions
51
+ # @return [Array<KeyDefinition>]
52
+ property :charge_types, [KeyDefinition]
53
+
49
54
  # @!attribute [r] tags
50
55
  # Tags that can be applied at the document level to identify additional considerations.
51
56
  # @return [Array<Tag>]
@@ -3,7 +3,7 @@
3
3
  ##
4
4
  ## DO NOT EDIT - This file was generated automatically.
5
5
  ##
6
- ## Generated with GOBL v0.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.42.0
6
+ ## Generated with GOBL v0.42.4
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.12.0'
4
+ VERSION = '0.13.0'
5
5
  end
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gobl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
- - David Lilue
7
+ - Luismi Cavalle
8
8
  - Sam Lown
9
+ - David Lilue
9
10
  - Juanjo Molinero
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2023-04-05 00:00:00.000000000 Z
14
+ date: 2023-04-28 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: activesupport
@@ -178,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
179
  - !ruby/object:Gem::Version
179
180
  version: 3.1.4
180
181
  requirements: []
181
- rubygems_version: 3.4.6
182
+ rubygems_version: 3.4.10
182
183
  signing_key:
183
184
  specification_version: 4
184
185
  summary: Minimalist ruby version of the GOBL library