Skip to content

Commit 283db56

Browse files
committed
Release 0.115.0
1 parent 38904f2 commit 283db56

File tree

4 files changed

+118
-22
lines changed

4 files changed

+118
-22
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to GOBL will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). See also the [GOBL versions](https://docs.gobl.org/overview/versions) documentation site for more details.
66

7-
## [Unreleased]
7+
## [v0.115.0]
88

99
This one is big...
1010

data/regimes/es.json

+114-18
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,87 @@
139139
}
140140
],
141141
"extensions": [
142+
{
143+
"key": "es-facturae-doc-type",
144+
"name": {
145+
"en": "FacturaE: Document Type",
146+
"es": "FacturaE: Tipo de Documento"
147+
},
148+
"values": [
149+
{
150+
"value": "FC",
151+
"name": {
152+
"en": "Commercial Invoice",
153+
"es": "Factura Comercial"
154+
}
155+
},
156+
{
157+
"value": "FA",
158+
"name": {
159+
"en": "Simplified Invoice",
160+
"es": "Factura Simplificada"
161+
}
162+
},
163+
{
164+
"value": "AF",
165+
"name": {
166+
"en": "Self-billed Invoice",
167+
"es": "Auto-Factura"
168+
}
169+
}
170+
]
171+
},
172+
{
173+
"key": "es-facturae-invoice-class",
174+
"name": {
175+
"en": "FacturaE: Invoice Class",
176+
"es": "FacturaE: Clase de Factura"
177+
},
178+
"values": [
179+
{
180+
"value": "OO",
181+
"name": {
182+
"en": "Original",
183+
"es": "Original"
184+
}
185+
},
186+
{
187+
"value": "OR",
188+
"name": {
189+
"en": "Corrective Original",
190+
"es": "Original Rectificativa"
191+
}
192+
},
193+
{
194+
"value": "OC",
195+
"name": {
196+
"en": "Summary Original",
197+
"es": "Original Recapitulativa"
198+
}
199+
},
200+
{
201+
"value": "CO",
202+
"name": {
203+
"en": "Copy of the Original",
204+
"es": "Duplicado Original"
205+
}
206+
},
207+
{
208+
"value": "CR",
209+
"name": {
210+
"en": "Copy of the Corrective",
211+
"es": "Duplicado Rectificativa"
212+
}
213+
},
214+
{
215+
"value": "CC",
216+
"name": {
217+
"en": "Copy of the Summary",
218+
"es": "Duplicado Recapitulativa"
219+
}
220+
}
221+
]
222+
},
142223
{
143224
"key": "es-facturae-correction",
144225
"name": {
@@ -534,32 +615,40 @@
534615
"credit-note",
535616
"debit-note"
536617
],
537-
"codes": {
538-
"facturae-invoice-document-type": "FC"
618+
"tags": [
619+
"facturae"
620+
],
621+
"ext": {
622+
"es-facturae-doc-type": "FC"
539623
}
540624
},
541625
{
542626
"tags": [
627+
"facturae",
543628
"simplified"
544629
],
545-
"codes": {
546-
"facturae-invoice-document-type": "FA"
630+
"ext": {
631+
"es-facturae-doc-type": "FA"
547632
}
548633
},
549634
{
550635
"tags": [
636+
"facturae",
551637
"self-billed"
552638
],
553-
"codes": {
554-
"facturae-invoice-document-type": "AF"
639+
"ext": {
640+
"es-facturae-doc-type": "AF"
555641
}
556642
},
557643
{
558644
"type": [
559645
"standard"
560646
],
561-
"codes": {
562-
"facturae-invoice-class": "OO"
647+
"tags": [
648+
"facturae"
649+
],
650+
"ext": {
651+
"es-facturae-invoice-class": "OO"
563652
}
564653
},
565654
{
@@ -568,50 +657,57 @@
568657
"credit-note",
569658
"debit-note"
570659
],
571-
"codes": {
572-
"facturae-invoice-class": "OR"
660+
"tags": [
661+
"facturae"
662+
],
663+
"ext": {
664+
"es-facturae-invoice-class": "OR"
573665
}
574666
},
575667
{
576668
"tags": [
669+
"facturae",
577670
"summary"
578671
],
579-
"codes": {
580-
"facturae-invoice-class": "OC"
672+
"ext": {
673+
"es-facturae-invoice-class": "OC"
581674
}
582675
},
583676
{
584677
"type": [
585678
"standard"
586679
],
587680
"tags": [
681+
"facturae",
588682
"copy"
589683
],
590-
"codes": {
591-
"facturae-invoice-class": "CO"
684+
"ext": {
685+
"es-facturae-invoice-class": "CO"
592686
}
593687
},
594688
{
595689
"type": [
596690
"corrective"
597691
],
598692
"tags": [
693+
"facturae",
599694
"copy"
600695
],
601-
"codes": {
602-
"facturae-invoice-class": "CR"
696+
"ext": {
697+
"es-facturae-invoice-class": "CR"
603698
}
604699
},
605700
{
606701
"type": [
607702
"standard"
608703
],
609704
"tags": [
705+
"facturae",
610706
"copy",
611707
"summary"
612708
],
613-
"codes": {
614-
"facturae-invoice-class": "CC"
709+
"ext": {
710+
"es-facturae-invoice-class": "CC"
615711
}
616712
},
617713
{

data/schemas/bill/invoice.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300
"customer": {
301301
"$ref": "https://gobl.org/draft-0/org/party",
302302
"title": "Customer",
303-
"description": "Legal entity receiving the goods or services, may be empty in certain circumstances such as simplified invoices."
303+
"description": "Legal entity receiving the goods or services, may be nil in certain circumstances such as simplified invoices."
304304
},
305305
"lines": {
306306
"items": {
@@ -783,7 +783,7 @@
783783
},
784784
"type": "array",
785785
"title": "Tags",
786-
"description": "Special tax tags that apply to this invoice according to local requirements."
786+
"description": "Tags are used to help identify specific tax scenarios or requirements that will\napply changes to the contents of the invoice. Tags by design should always be optional,\nit should always be possible to build a valid invoice without any tags."
787787
},
788788
"ext": {
789789
"$ref": "https://gobl.org/draft-0/tax/extensions",

version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
type Version string
99

1010
// VERSION is the current version of the GOBL library.
11-
const VERSION Version = "v0.114.0"
11+
const VERSION Version = "v0.115.0"
1212

1313
// Semver parses and returns semver
1414
func (v Version) Semver() *semver.Version {

0 commit comments

Comments
 (0)