Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Upgrading to GOBL 0.55 #80

Merged
merged 1 commit into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_build_do_not_envelop
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"$schema": "https://gobl.org/draft-0/bill/invoice",
"uuid": "00000000-0000-0000-0000-000000000000",
"code": "INV2021-001",
"type": "standard",
"currency": "EUR",
"code": "INV2021-001",
"issue_date": "2021-06-16",
"currency": "EUR",
"supplier": {
"name": "A Company Name S.L.",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_build_envelop
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"uuid": "00000000-0000-0000-0000-000000000000",
"code": "INV2021-001",
"type": "standard",
"currency": "EUR",
"code": "INV2021-001",
"issue_date": "2021-06-16",
"currency": "EUR",
"supplier": {
"name": "A Company Name S.L.",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_build_explicit_stdout
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
},
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"code": "SAMPLE-001",
"type": "standard",
"currency": "EUR",
"code": "SAMPLE-001",
"issue_date": "2022-02-01",
"currency": "EUR",
"supplier": {
"name": "MªF. Services",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_build_input_file
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
},
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"code": "SAMPLE-001",
"type": "standard",
"currency": "EUR",
"code": "SAMPLE-001",
"issue_date": "2022-02-01",
"currency": "EUR",
"supplier": {
"name": "MªF. Services",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_build_merge_values
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
},
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"code": "SAMPLE-005X",
"type": "standard",
"currency": "EUR",
"code": "SAMPLE-005X",
"issue_date": "2022-02-01",
"currency": "EUR",
"supplier": {
"name": "MªF. Services",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_build_output_file_outfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
},
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"code": "SAMPLE-001",
"type": "standard",
"currency": "EUR",
"code": "SAMPLE-001",
"issue_date": "2022-02-01",
"currency": "EUR",
"supplier": {
"name": "MªF. Services",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_build_overwrite_input_file_outfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"uuid": "3d7fdbdc-d037-11eb-a068-3e7e00ce5635",
"code": "INV2021-001",
"type": "standard",
"currency": "EUR",
"code": "INV2021-001",
"issue_date": "2021-06-16",
"currency": "EUR",
"supplier": {
"name": "A Company Name S.L.",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_build_overwrite_output_file_outfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
},
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"code": "SAMPLE-001",
"type": "standard",
"currency": "EUR",
"code": "SAMPLE-001",
"issue_date": "2022-02-01",
"currency": "EUR",
"supplier": {
"name": "MªF. Services",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_build_recalculate
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"uuid": "3d7fdbdc-d037-11eb-a068-3e7e00ce5635",
"code": "INV2021-001",
"type": "standard",
"currency": "EUR",
"code": "INV2021-001",
"issue_date": "2021-06-16",
"currency": "EUR",
"supplier": {
"name": "A Company Name S.L.",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_build_success
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"uuid": "3d7fdbdc-d037-11eb-a068-3e7e00ce5635",
"code": "INV2021-001",
"type": "standard",
"currency": "EUR",
"code": "INV2021-001",
"issue_date": "2021-06-16",
"currency": "EUR",
"supplier": {
"name": "A Company Name S.L.",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_build_valid_file
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"uuid": "3d7fdbdc-d037-11eb-a068-3e7e00ce5635",
"code": "INV2021-001",
"type": "standard",
"currency": "EUR",
"code": "INV2021-001",
"issue_date": "2021-06-16",
"currency": "EUR",
"supplier": {
"name": "A Different Company S.L.",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_sign_explicit_stdout
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
},
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"code": "SAMPLE-001",
"type": "standard",
"currency": "EUR",
"code": "SAMPLE-001",
"issue_date": "2022-02-01",
"currency": "EUR",
"supplier": {
"name": "MªF. Services",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_sign_input_file
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
},
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"code": "SAMPLE-001",
"type": "standard",
"currency": "EUR",
"code": "SAMPLE-001",
"issue_date": "2022-02-01",
"currency": "EUR",
"supplier": {
"name": "MªF. Services",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_sign_merge_values
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
},
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"code": "SAMPLE-006X",
"type": "standard",
"currency": "EUR",
"code": "SAMPLE-006X",
"issue_date": "2022-02-01",
"currency": "EUR",
"supplier": {
"name": "MªF. Services",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_sign_output_file_outfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
},
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"code": "SAMPLE-001",
"type": "standard",
"currency": "EUR",
"code": "SAMPLE-001",
"issue_date": "2022-02-01",
"currency": "EUR",
"supplier": {
"name": "MªF. Services",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_sign_overwrite_input_file_outfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"uuid": "3d7fdbdc-d037-11eb-a068-3e7e00ce5635",
"code": "INV2021-001",
"type": "standard",
"currency": "EUR",
"code": "INV2021-001",
"issue_date": "2021-06-16",
"currency": "EUR",
"supplier": {
"name": "A Company Name S.L.",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_sign_overwrite_output_file_outfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
},
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"code": "SAMPLE-001",
"type": "standard",
"currency": "EUR",
"code": "SAMPLE-001",
"issue_date": "2022-02-01",
"currency": "EUR",
"supplier": {
"name": "MªF. Services",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_sign_recalculate
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"uuid": "3d7fdbdc-d037-11eb-a068-3e7e00ce5635",
"code": "INV2021-001",
"type": "standard",
"currency": "EUR",
"code": "INV2021-001",
"issue_date": "2021-06-16",
"currency": "EUR",
"supplier": {
"name": "A Company Name S.L.",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_sign_success
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"uuid": "3d7fdbdc-d037-11eb-a068-3e7e00ce5635",
"code": "INV2021-001",
"type": "standard",
"currency": "EUR",
"code": "INV2021-001",
"issue_date": "2021-06-16",
"currency": "EUR",
"supplier": {
"name": "A Company Name S.L.",
"tax_id": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_sign_valid_file
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"doc": {
"$schema": "https://gobl.org/draft-0/bill/invoice",
"uuid": "3d7fdbdc-d037-11eb-a068-3e7e00ce5635",
"code": "INV2021-001",
"type": "standard",
"currency": "EUR",
"code": "INV2021-001",
"issue_date": "2021-06-16",
"currency": "EUR",
"supplier": {
"name": "A Different Company S.L.",
"tax_id": {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.17
require (
github.com/google/go-cmp v0.5.9
github.com/imdario/mergo v0.3.15
github.com/invopop/gobl v0.54.0
github.com/invopop/gobl v0.55.0
github.com/invopop/yaml v0.2.0
github.com/labstack/echo/v4 v4.10.2
github.com/magefile/mage v1.13.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,8 @@ github.com/invopop/gobl v0.53.1-0.20230813095931-968e069b05b7 h1:aVz5cqyoH1Dwj40
github.com/invopop/gobl v0.53.1-0.20230813095931-968e069b05b7/go.mod h1:/s8rsPX3RK5J/yGK41lzzzB+zXeC29rpIZBYjSjvYzM=
github.com/invopop/gobl v0.54.0 h1:4sejjcl+p6thFoFVmi1w+yHNpHV2gbM/k9flT8q9SYk=
github.com/invopop/gobl v0.54.0/go.mod h1:/s8rsPX3RK5J/yGK41lzzzB+zXeC29rpIZBYjSjvYzM=
github.com/invopop/gobl v0.55.0 h1:NV62UR/W2f/mWwqhnlkjuBad/Zb64u50pDIQDBTeFnw=
github.com/invopop/gobl v0.55.0/go.mod h1:/s8rsPX3RK5J/yGK41lzzzB+zXeC29rpIZBYjSjvYzM=
github.com/invopop/jsonschema v0.7.0 h1:2vgQcBz1n256N+FpX3Jq7Y17AjYt46Ig3zIWyy770So=
github.com/invopop/jsonschema v0.7.0/go.mod h1:O9uiLokuu0+MGFlyiaqtWxwqJm41/+8Nj0lD7A36YH0=
github.com/invopop/validation v0.3.0 h1:o260kbjXzoBO/ypXDSSrCLL7SxEFUXBsX09YTE9AxZw=
Expand Down