gobl 0.4.1 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/regimes/co.json +14696 -0
- data/data/{tax/ES.json → regimes/es.json} +57 -57
- data/data/{tax/FR.json → regimes/fr.json} +1 -1
- data/data/{tax/GB.json → regimes/gb.json} +1 -1
- data/data/{tax/NL.json → regimes/nl.json} +1 -1
- data/lib/extensions.rb +1 -1
- data/lib/gobl/bill/advances.rb +1 -1
- data/lib/gobl/bill/charge.rb +3 -3
- data/lib/gobl/bill/delivery.rb +1 -1
- data/lib/gobl/bill/discount.rb +3 -3
- data/lib/gobl/bill/exchange_rates.rb +1 -1
- data/lib/gobl/bill/invoice.rb +5 -5
- data/lib/gobl/bill/invoice_type.rb +1 -1
- data/lib/gobl/bill/line.rb +3 -3
- data/lib/gobl/bill/line_charge.rb +1 -1
- data/lib/gobl/bill/line_discount.rb +1 -1
- data/lib/gobl/bill/ordering.rb +1 -1
- data/lib/gobl/bill/outlay.rb +1 -1
- data/lib/gobl/bill/payment.rb +1 -1
- data/lib/gobl/bill/preceding.rb +5 -5
- data/lib/gobl/bill/scheme_keys.rb +2 -2
- data/lib/gobl/bill/tax.rb +5 -5
- data/lib/gobl/bill/totals.rb +1 -1
- data/lib/gobl/cal/date.rb +1 -1
- data/lib/gobl/cal/period.rb +1 -1
- data/lib/gobl/{org → cbc}/code.rb +3 -3
- data/lib/gobl/{org → cbc}/key.rb +3 -3
- data/lib/gobl/{org → cbc}/meta.rb +2 -2
- data/lib/gobl/{org → cbc}/note.rb +3 -3
- data/lib/gobl/{org → cbc}/note_key.rb +3 -3
- data/lib/gobl/{org → cbc}/stamp.rb +5 -5
- data/lib/gobl/currency/code.rb +1 -1
- data/lib/gobl/currency/exchange_rate.rb +1 -1
- data/lib/gobl/document.rb +1 -1
- data/lib/gobl/dsig/digest.rb +1 -1
- data/lib/gobl/dsig/signature.rb +1 -1
- data/lib/gobl/envelope.rb +1 -1
- data/lib/gobl/header.rb +5 -5
- data/lib/gobl/i18n/string.rb +1 -1
- data/lib/gobl/l10n/code.rb +1 -1
- data/lib/gobl/l10n/country_code.rb +1 -1
- data/lib/gobl/note/message.rb +3 -3
- data/lib/gobl/org/address.rb +5 -6
- data/lib/gobl/org/coordinates.rb +1 -1
- data/lib/gobl/org/email.rb +3 -3
- data/lib/gobl/org/inbox.rb +5 -5
- data/lib/gobl/org/item.rb +3 -3
- data/lib/gobl/org/item_code.rb +1 -1
- data/lib/gobl/org/name.rb +3 -3
- data/lib/gobl/org/party.rb +5 -5
- data/lib/gobl/org/person.rb +3 -3
- data/lib/gobl/org/registration.rb +1 -1
- data/lib/gobl/org/telephone.rb +1 -1
- data/lib/gobl/org/unit.rb +1 -1
- data/lib/gobl/pay/advance.rb +1 -1
- data/lib/gobl/pay/card.rb +1 -1
- data/lib/gobl/pay/credit_transfer.rb +1 -1
- data/lib/gobl/pay/direct_debit.rb +1 -1
- data/lib/gobl/pay/due_date.rb +1 -1
- data/lib/gobl/pay/instructions.rb +3 -3
- data/lib/gobl/pay/method_key.rb +1 -1
- data/lib/gobl/pay/online.rb +1 -1
- data/lib/gobl/pay/term_key.rb +1 -1
- data/lib/gobl/pay/terms.rb +1 -1
- data/lib/gobl/tax/category.rb +4 -4
- data/lib/gobl/tax/category_total.rb +3 -3
- data/lib/gobl/tax/combo.rb +5 -5
- data/lib/gobl/{org/tax_identity.rb → tax/identity.rb} +11 -11
- data/lib/gobl/tax/rate.rb +4 -4
- data/lib/gobl/tax/rate_total.rb +3 -3
- data/lib/gobl/tax/rate_total_surcharge.rb +1 -1
- data/lib/gobl/tax/rate_value.rb +2 -2
- data/lib/gobl/tax/{region.rb → regime.rb} +14 -14
- data/lib/gobl/tax/scheme.rb +8 -8
- data/lib/gobl/tax/schemes.rb +1 -1
- data/lib/gobl/tax/set.rb +1 -1
- data/lib/gobl/{org → tax}/source_key.rb +3 -3
- data/lib/gobl/tax/total.rb +1 -1
- data/lib/gobl/tax/zone.rb +43 -0
- data/lib/gobl/uuid/uuid.rb +1 -1
- data/lib/gobl/version.rb +1 -1
- data/lib/gobl.rb +2 -1
- data/lib/gobl_extensions/tax/regime_helper.rb +35 -0
- metadata +18 -19
- data/data/tax/CO.json +0 -10212
- data/lib/gobl/tax/localities.rb +0 -14
- data/lib/gobl/tax/locality.rb +0 -34
- data/lib/gobl_extensions/tax/region_helper.rb +0 -35
@@ -1,14 +1,14 @@
|
|
1
1
|
{
|
2
|
-
"$schema": "https://gobl.org/draft-0/tax/
|
2
|
+
"$schema": "https://gobl.org/draft-0/tax/regime",
|
3
3
|
"name": {
|
4
4
|
"en": "Spain",
|
5
5
|
"es": "España"
|
6
6
|
},
|
7
7
|
"country": "ES",
|
8
|
-
"
|
8
|
+
"zones": [
|
9
9
|
{
|
10
10
|
"code": "VI",
|
11
|
-
"
|
11
|
+
"region": {
|
12
12
|
"es": "Ávila"
|
13
13
|
},
|
14
14
|
"meta": {
|
@@ -17,7 +17,7 @@
|
|
17
17
|
},
|
18
18
|
{
|
19
19
|
"code": "AB",
|
20
|
-
"
|
20
|
+
"region": {
|
21
21
|
"es": "Albacete"
|
22
22
|
},
|
23
23
|
"meta": {
|
@@ -26,7 +26,7 @@
|
|
26
26
|
},
|
27
27
|
{
|
28
28
|
"code": "A",
|
29
|
-
"
|
29
|
+
"region": {
|
30
30
|
"es": "Alicante"
|
31
31
|
},
|
32
32
|
"meta": {
|
@@ -35,7 +35,7 @@
|
|
35
35
|
},
|
36
36
|
{
|
37
37
|
"code": "AL",
|
38
|
-
"
|
38
|
+
"region": {
|
39
39
|
"es": "Almería"
|
40
40
|
},
|
41
41
|
"meta": {
|
@@ -44,7 +44,7 @@
|
|
44
44
|
},
|
45
45
|
{
|
46
46
|
"code": "AV",
|
47
|
-
"
|
47
|
+
"region": {
|
48
48
|
"es": "Ávila"
|
49
49
|
},
|
50
50
|
"meta": {
|
@@ -53,7 +53,7 @@
|
|
53
53
|
},
|
54
54
|
{
|
55
55
|
"code": "BA",
|
56
|
-
"
|
56
|
+
"region": {
|
57
57
|
"es": "Badajoz"
|
58
58
|
},
|
59
59
|
"meta": {
|
@@ -62,7 +62,7 @@
|
|
62
62
|
},
|
63
63
|
{
|
64
64
|
"code": "PM",
|
65
|
-
"
|
65
|
+
"region": {
|
66
66
|
"es": "Baleares"
|
67
67
|
},
|
68
68
|
"meta": {
|
@@ -71,7 +71,7 @@
|
|
71
71
|
},
|
72
72
|
{
|
73
73
|
"code": "IB",
|
74
|
-
"
|
74
|
+
"region": {
|
75
75
|
"es": "Baleares"
|
76
76
|
},
|
77
77
|
"meta": {
|
@@ -80,7 +80,7 @@
|
|
80
80
|
},
|
81
81
|
{
|
82
82
|
"code": "B",
|
83
|
-
"
|
83
|
+
"region": {
|
84
84
|
"es": "Barcelona"
|
85
85
|
},
|
86
86
|
"meta": {
|
@@ -89,7 +89,7 @@
|
|
89
89
|
},
|
90
90
|
{
|
91
91
|
"code": "BU",
|
92
|
-
"
|
92
|
+
"region": {
|
93
93
|
"es": "Burgos"
|
94
94
|
},
|
95
95
|
"meta": {
|
@@ -98,7 +98,7 @@
|
|
98
98
|
},
|
99
99
|
{
|
100
100
|
"code": "CC",
|
101
|
-
"
|
101
|
+
"region": {
|
102
102
|
"es": "Cáceres"
|
103
103
|
},
|
104
104
|
"meta": {
|
@@ -107,7 +107,7 @@
|
|
107
107
|
},
|
108
108
|
{
|
109
109
|
"code": "CA",
|
110
|
-
"
|
110
|
+
"region": {
|
111
111
|
"es": "Cadiz"
|
112
112
|
},
|
113
113
|
"meta": {
|
@@ -116,7 +116,7 @@
|
|
116
116
|
},
|
117
117
|
{
|
118
118
|
"code": "CS",
|
119
|
-
"
|
119
|
+
"region": {
|
120
120
|
"es": "Castellón"
|
121
121
|
},
|
122
122
|
"meta": {
|
@@ -125,7 +125,7 @@
|
|
125
125
|
},
|
126
126
|
{
|
127
127
|
"code": "CR",
|
128
|
-
"
|
128
|
+
"region": {
|
129
129
|
"es": "Ciudad Real"
|
130
130
|
},
|
131
131
|
"meta": {
|
@@ -134,7 +134,7 @@
|
|
134
134
|
},
|
135
135
|
{
|
136
136
|
"code": "CO",
|
137
|
-
"
|
137
|
+
"region": {
|
138
138
|
"es": "Cordoba"
|
139
139
|
},
|
140
140
|
"meta": {
|
@@ -143,7 +143,7 @@
|
|
143
143
|
},
|
144
144
|
{
|
145
145
|
"code": "C",
|
146
|
-
"
|
146
|
+
"region": {
|
147
147
|
"es": "La Coruña"
|
148
148
|
},
|
149
149
|
"meta": {
|
@@ -152,7 +152,7 @@
|
|
152
152
|
},
|
153
153
|
{
|
154
154
|
"code": "CU",
|
155
|
-
"
|
155
|
+
"region": {
|
156
156
|
"es": "Cuenca"
|
157
157
|
},
|
158
158
|
"meta": {
|
@@ -161,7 +161,7 @@
|
|
161
161
|
},
|
162
162
|
{
|
163
163
|
"code": "GE",
|
164
|
-
"
|
164
|
+
"region": {
|
165
165
|
"es": "Gerona"
|
166
166
|
},
|
167
167
|
"meta": {
|
@@ -170,7 +170,7 @@
|
|
170
170
|
},
|
171
171
|
{
|
172
172
|
"code": "GI",
|
173
|
-
"
|
173
|
+
"region": {
|
174
174
|
"es": "Girona"
|
175
175
|
},
|
176
176
|
"meta": {
|
@@ -179,7 +179,7 @@
|
|
179
179
|
},
|
180
180
|
{
|
181
181
|
"code": "GR",
|
182
|
-
"
|
182
|
+
"region": {
|
183
183
|
"es": "Granada"
|
184
184
|
},
|
185
185
|
"meta": {
|
@@ -188,7 +188,7 @@
|
|
188
188
|
},
|
189
189
|
{
|
190
190
|
"code": "GU",
|
191
|
-
"
|
191
|
+
"region": {
|
192
192
|
"es": "Guadalajara"
|
193
193
|
},
|
194
194
|
"meta": {
|
@@ -197,7 +197,7 @@
|
|
197
197
|
},
|
198
198
|
{
|
199
199
|
"code": "SS",
|
200
|
-
"
|
200
|
+
"region": {
|
201
201
|
"es": "Guipúzcoa"
|
202
202
|
},
|
203
203
|
"meta": {
|
@@ -206,7 +206,7 @@
|
|
206
206
|
},
|
207
207
|
{
|
208
208
|
"code": "H",
|
209
|
-
"
|
209
|
+
"region": {
|
210
210
|
"es": "Huelva"
|
211
211
|
},
|
212
212
|
"meta": {
|
@@ -215,7 +215,7 @@
|
|
215
215
|
},
|
216
216
|
{
|
217
217
|
"code": "HU",
|
218
|
-
"
|
218
|
+
"region": {
|
219
219
|
"es": "Huesca"
|
220
220
|
},
|
221
221
|
"meta": {
|
@@ -224,7 +224,7 @@
|
|
224
224
|
},
|
225
225
|
{
|
226
226
|
"code": "J",
|
227
|
-
"
|
227
|
+
"region": {
|
228
228
|
"es": "Jaén"
|
229
229
|
},
|
230
230
|
"meta": {
|
@@ -233,7 +233,7 @@
|
|
233
233
|
},
|
234
234
|
{
|
235
235
|
"code": "LE",
|
236
|
-
"
|
236
|
+
"region": {
|
237
237
|
"es": "León"
|
238
238
|
},
|
239
239
|
"meta": {
|
@@ -242,7 +242,7 @@
|
|
242
242
|
},
|
243
243
|
{
|
244
244
|
"code": "L",
|
245
|
-
"
|
245
|
+
"region": {
|
246
246
|
"es": "Lérida / Lleida"
|
247
247
|
},
|
248
248
|
"meta": {
|
@@ -251,7 +251,7 @@
|
|
251
251
|
},
|
252
252
|
{
|
253
253
|
"code": "LO",
|
254
|
-
"
|
254
|
+
"region": {
|
255
255
|
"es": "La Rioja"
|
256
256
|
},
|
257
257
|
"meta": {
|
@@ -260,7 +260,7 @@
|
|
260
260
|
},
|
261
261
|
{
|
262
262
|
"code": "LU",
|
263
|
-
"
|
263
|
+
"region": {
|
264
264
|
"es": "Lugo"
|
265
265
|
},
|
266
266
|
"meta": {
|
@@ -269,7 +269,7 @@
|
|
269
269
|
},
|
270
270
|
{
|
271
271
|
"code": "M",
|
272
|
-
"
|
272
|
+
"region": {
|
273
273
|
"es": "Madrid"
|
274
274
|
},
|
275
275
|
"meta": {
|
@@ -278,7 +278,7 @@
|
|
278
278
|
},
|
279
279
|
{
|
280
280
|
"code": "MA",
|
281
|
-
"
|
281
|
+
"region": {
|
282
282
|
"es": "Málaga"
|
283
283
|
},
|
284
284
|
"meta": {
|
@@ -287,7 +287,7 @@
|
|
287
287
|
},
|
288
288
|
{
|
289
289
|
"code": "MU",
|
290
|
-
"
|
290
|
+
"region": {
|
291
291
|
"es": "Murcia"
|
292
292
|
},
|
293
293
|
"meta": {
|
@@ -296,7 +296,7 @@
|
|
296
296
|
},
|
297
297
|
{
|
298
298
|
"code": "NA",
|
299
|
-
"
|
299
|
+
"region": {
|
300
300
|
"es": "Navarra"
|
301
301
|
},
|
302
302
|
"meta": {
|
@@ -305,7 +305,7 @@
|
|
305
305
|
},
|
306
306
|
{
|
307
307
|
"code": "OR",
|
308
|
-
"
|
308
|
+
"region": {
|
309
309
|
"es": "Orense"
|
310
310
|
},
|
311
311
|
"meta": {
|
@@ -314,7 +314,7 @@
|
|
314
314
|
},
|
315
315
|
{
|
316
316
|
"code": "OU",
|
317
|
-
"
|
317
|
+
"region": {
|
318
318
|
"es": "Orense"
|
319
319
|
},
|
320
320
|
"meta": {
|
@@ -323,7 +323,7 @@
|
|
323
323
|
},
|
324
324
|
{
|
325
325
|
"code": "O",
|
326
|
-
"
|
326
|
+
"region": {
|
327
327
|
"es": "Asturias"
|
328
328
|
},
|
329
329
|
"meta": {
|
@@ -332,7 +332,7 @@
|
|
332
332
|
},
|
333
333
|
{
|
334
334
|
"code": "P",
|
335
|
-
"
|
335
|
+
"region": {
|
336
336
|
"es": "Palencia"
|
337
337
|
},
|
338
338
|
"meta": {
|
@@ -341,7 +341,7 @@
|
|
341
341
|
},
|
342
342
|
{
|
343
343
|
"code": "GC",
|
344
|
-
"
|
344
|
+
"region": {
|
345
345
|
"es": "Las Palmas"
|
346
346
|
},
|
347
347
|
"meta": {
|
@@ -350,7 +350,7 @@
|
|
350
350
|
},
|
351
351
|
{
|
352
352
|
"code": "PO",
|
353
|
-
"
|
353
|
+
"region": {
|
354
354
|
"es": "Pontevedra"
|
355
355
|
},
|
356
356
|
"meta": {
|
@@ -359,7 +359,7 @@
|
|
359
359
|
},
|
360
360
|
{
|
361
361
|
"code": "SA",
|
362
|
-
"
|
362
|
+
"region": {
|
363
363
|
"es": "Salamanca"
|
364
364
|
},
|
365
365
|
"meta": {
|
@@ -368,7 +368,7 @@
|
|
368
368
|
},
|
369
369
|
{
|
370
370
|
"code": "TF",
|
371
|
-
"
|
371
|
+
"region": {
|
372
372
|
"es": "Santa Cruz de Tenerife"
|
373
373
|
},
|
374
374
|
"meta": {
|
@@ -377,7 +377,7 @@
|
|
377
377
|
},
|
378
378
|
{
|
379
379
|
"code": "S",
|
380
|
-
"
|
380
|
+
"region": {
|
381
381
|
"es": "Cantabria"
|
382
382
|
},
|
383
383
|
"meta": {
|
@@ -386,7 +386,7 @@
|
|
386
386
|
},
|
387
387
|
{
|
388
388
|
"code": "SG",
|
389
|
-
"
|
389
|
+
"region": {
|
390
390
|
"es": "Segovia"
|
391
391
|
},
|
392
392
|
"meta": {
|
@@ -395,7 +395,7 @@
|
|
395
395
|
},
|
396
396
|
{
|
397
397
|
"code": "SE",
|
398
|
-
"
|
398
|
+
"region": {
|
399
399
|
"es": "Sevilla"
|
400
400
|
},
|
401
401
|
"meta": {
|
@@ -404,7 +404,7 @@
|
|
404
404
|
},
|
405
405
|
{
|
406
406
|
"code": "SO",
|
407
|
-
"
|
407
|
+
"region": {
|
408
408
|
"es": "Soria"
|
409
409
|
},
|
410
410
|
"meta": {
|
@@ -413,7 +413,7 @@
|
|
413
413
|
},
|
414
414
|
{
|
415
415
|
"code": "T",
|
416
|
-
"
|
416
|
+
"region": {
|
417
417
|
"es": "Tarragona"
|
418
418
|
},
|
419
419
|
"meta": {
|
@@ -422,7 +422,7 @@
|
|
422
422
|
},
|
423
423
|
{
|
424
424
|
"code": "TE",
|
425
|
-
"
|
425
|
+
"region": {
|
426
426
|
"es": "Teruel"
|
427
427
|
},
|
428
428
|
"meta": {
|
@@ -431,7 +431,7 @@
|
|
431
431
|
},
|
432
432
|
{
|
433
433
|
"code": "TO",
|
434
|
-
"
|
434
|
+
"region": {
|
435
435
|
"es": "Toledo"
|
436
436
|
},
|
437
437
|
"meta": {
|
@@ -440,7 +440,7 @@
|
|
440
440
|
},
|
441
441
|
{
|
442
442
|
"code": "V",
|
443
|
-
"
|
443
|
+
"region": {
|
444
444
|
"es": "Valencia"
|
445
445
|
},
|
446
446
|
"meta": {
|
@@ -449,7 +449,7 @@
|
|
449
449
|
},
|
450
450
|
{
|
451
451
|
"code": "VA",
|
452
|
-
"
|
452
|
+
"region": {
|
453
453
|
"es": "Valladolid"
|
454
454
|
},
|
455
455
|
"meta": {
|
@@ -458,7 +458,7 @@
|
|
458
458
|
},
|
459
459
|
{
|
460
460
|
"code": "BI",
|
461
|
-
"
|
461
|
+
"region": {
|
462
462
|
"es": "Vizcaya"
|
463
463
|
},
|
464
464
|
"meta": {
|
@@ -467,7 +467,7 @@
|
|
467
467
|
},
|
468
468
|
{
|
469
469
|
"code": "ZA",
|
470
|
-
"
|
470
|
+
"region": {
|
471
471
|
"es": "Zamora"
|
472
472
|
},
|
473
473
|
"meta": {
|
@@ -476,7 +476,7 @@
|
|
476
476
|
},
|
477
477
|
{
|
478
478
|
"code": "Z",
|
479
|
-
"
|
479
|
+
"region": {
|
480
480
|
"es": "Zaragoza"
|
481
481
|
},
|
482
482
|
"meta": {
|
@@ -485,7 +485,7 @@
|
|
485
485
|
},
|
486
486
|
{
|
487
487
|
"code": "CE",
|
488
|
-
"
|
488
|
+
"region": {
|
489
489
|
"es": "Ceuta"
|
490
490
|
},
|
491
491
|
"meta": {
|
@@ -494,7 +494,7 @@
|
|
494
494
|
},
|
495
495
|
{
|
496
496
|
"code": "ML",
|
497
|
-
"
|
497
|
+
"region": {
|
498
498
|
"es": "Melilla"
|
499
499
|
},
|
500
500
|
"meta": {
|
data/lib/extensions.rb
CHANGED
@@ -9,4 +9,4 @@ GOBL::I18n::String.include GOBLExtensions::I18n::ValueKeysHelper
|
|
9
9
|
GOBL::Document.include GOBLExtensions::DocumentHelper
|
10
10
|
GOBL::Document.extend GOBLExtensions::DocumentHelper::ClassMethods
|
11
11
|
GOBL::Envelope.include GOBLExtensions::EnvelopeHelper
|
12
|
-
GOBL::Tax::
|
12
|
+
GOBL::Tax::Regime.extend GOBLExtensions::Tax::RegimeHelper::ClassMethods
|
data/lib/gobl/bill/advances.rb
CHANGED
data/lib/gobl/bill/charge.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.
|
6
|
+
## Generated with GOBL v0.34.1
|
7
7
|
##
|
8
8
|
|
9
9
|
module GOBL
|
@@ -60,8 +60,8 @@ module GOBL
|
|
60
60
|
|
61
61
|
# @!attribute [r] meta
|
62
62
|
# Additional semi-structured information.
|
63
|
-
# @return [GOBL::
|
64
|
-
property :meta, GOBL::
|
63
|
+
# @return [GOBL::CBC::Meta]
|
64
|
+
property :meta, GOBL::CBC::Meta
|
65
65
|
end
|
66
66
|
end
|
67
67
|
end
|
data/lib/gobl/bill/delivery.rb
CHANGED
data/lib/gobl/bill/discount.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.
|
6
|
+
## Generated with GOBL v0.34.1
|
7
7
|
##
|
8
8
|
|
9
9
|
module GOBL
|
@@ -60,8 +60,8 @@ module GOBL
|
|
60
60
|
|
61
61
|
# @!attribute [r] meta
|
62
62
|
# Additional semi-structured information.
|
63
|
-
# @return [GOBL::
|
64
|
-
property :meta, GOBL::
|
63
|
+
# @return [GOBL::CBC::Meta]
|
64
|
+
property :meta, GOBL::CBC::Meta
|
65
65
|
end
|
66
66
|
end
|
67
67
|
end
|
data/lib/gobl/bill/invoice.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.
|
6
|
+
## Generated with GOBL v0.34.1
|
7
7
|
##
|
8
8
|
|
9
9
|
module GOBL
|
@@ -121,13 +121,13 @@ module GOBL
|
|
121
121
|
|
122
122
|
# @!attribute [r] notes
|
123
123
|
# Unstructured information that is relevant to the invoice, such as correction or additional legal details.
|
124
|
-
# @return [Array<GOBL::
|
125
|
-
property :notes, [GOBL::
|
124
|
+
# @return [Array<GOBL::CBC::Note>]
|
125
|
+
property :notes, [GOBL::CBC::Note]
|
126
126
|
|
127
127
|
# @!attribute [r] meta
|
128
128
|
# Additional semi-structured data that doesn't fit into the body of the invoice.
|
129
|
-
# @return [GOBL::
|
130
|
-
property :meta, GOBL::
|
129
|
+
# @return [GOBL::CBC::Meta]
|
130
|
+
property :meta, GOBL::CBC::Meta
|
131
131
|
end
|
132
132
|
end
|
133
133
|
end
|
data/lib/gobl/bill/line.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.
|
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] notes
|
64
64
|
# Set of specific notes for this line that may be required for clarification.
|
65
|
-
# @return [Array<GOBL::
|
66
|
-
property :notes, [GOBL::
|
65
|
+
# @return [Array<GOBL::CBC::Note>]
|
66
|
+
property :notes, [GOBL::CBC::Note]
|
67
67
|
end
|
68
68
|
end
|
69
69
|
end
|
data/lib/gobl/bill/ordering.rb
CHANGED
data/lib/gobl/bill/outlay.rb
CHANGED