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

Commit

Permalink
Merge pull request #77 from invopop/gobl-0.52
Browse files Browse the repository at this point in the history
Upgrading to GOBL 0.52
  • Loading branch information
samlown authored Jul 18, 2023
2 parents 9b0799d + 1338e48 commit 26a20fd
Show file tree
Hide file tree
Showing 22 changed files with 55 additions and 61 deletions.
4 changes: 2 additions & 2 deletions cmd/gobl/testdata/Test_build_do_not_envelop
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"currency": "EUR",
"issue_date": "2021-06-16",
"supplier": {
"name": "A Company Name S.L.",
"tax_id": {
"country": "ES",
"code": "B91983379"
},
"name": "A Company Name S.L.",
"people": [
{
"name": {
Expand Down Expand Up @@ -43,11 +43,11 @@
]
},
"customer": {
"name": "Autofiscal S.L.",
"tax_id": {
"country": "ES",
"code": "B85905495"
},
"name": "Autofiscal S.L.",
"addresses": [
{
"num": "1629",
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 @@ -16,11 +16,11 @@
"currency": "EUR",
"issue_date": "2021-06-16",
"supplier": {
"name": "A Company Name S.L.",
"tax_id": {
"country": "ES",
"code": "B91983379"
},
"name": "A Company Name S.L.",
"people": [
{
"name": {
Expand Down Expand Up @@ -53,11 +53,11 @@
]
},
"customer": {
"name": "Autofiscal S.L.",
"tax_id": {
"country": "ES",
"code": "B85905495"
},
"name": "Autofiscal S.L.",
"addresses": [
{
"num": "1629",
Expand Down
6 changes: 3 additions & 3 deletions cmd/gobl/testdata/Test_build_explicit_stdout
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"currency": "EUR",
"issue_date": "2022-02-01",
"supplier": {
"name": "MªF. Services",
"tax_id": {
"country": "ES",
"code": "58384285G"
},
"name": "MªF. Services",
"people": [
{
"name": {
Expand All @@ -45,11 +45,11 @@
]
},
"customer": {
"name": "Sample Consumer",
"tax_id": {
"country": "ES",
"code": "54387763P"
},
"name": "Sample Consumer"
}
},
"lines": [
{
Expand Down
6 changes: 3 additions & 3 deletions cmd/gobl/testdata/Test_build_input_file
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"currency": "EUR",
"issue_date": "2022-02-01",
"supplier": {
"name": "MªF. Services",
"tax_id": {
"country": "ES",
"code": "58384285G"
},
"name": "MªF. Services",
"people": [
{
"name": {
Expand All @@ -45,11 +45,11 @@
]
},
"customer": {
"name": "Sample Consumer",
"tax_id": {
"country": "ES",
"code": "54387763P"
},
"name": "Sample Consumer"
}
},
"lines": [
{
Expand Down
6 changes: 3 additions & 3 deletions cmd/gobl/testdata/Test_build_merge_values
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"currency": "MXN",
"issue_date": "2022-02-01",
"supplier": {
"name": "MªF. Services",
"tax_id": {
"country": "ES",
"code": "58384285G"
},
"name": "MªF. Services",
"people": [
{
"name": {
Expand All @@ -45,11 +45,11 @@
]
},
"customer": {
"name": "Sample Consumer",
"tax_id": {
"country": "ES",
"code": "54387763P"
},
"name": "Sample Consumer"
}
},
"lines": [
{
Expand Down
6 changes: 3 additions & 3 deletions cmd/gobl/testdata/Test_build_output_file_outfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"currency": "EUR",
"issue_date": "2022-02-01",
"supplier": {
"name": "MªF. Services",
"tax_id": {
"country": "ES",
"code": "58384285G"
},
"name": "MªF. Services",
"people": [
{
"name": {
Expand All @@ -45,11 +45,11 @@
]
},
"customer": {
"name": "Sample Consumer",
"tax_id": {
"country": "ES",
"code": "54387763P"
},
"name": "Sample Consumer"
}
},
"lines": [
{
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 @@ -15,11 +15,11 @@
"currency": "EUR",
"issue_date": "2021-06-16",
"supplier": {
"name": "A Company Name S.L.",
"tax_id": {
"country": "ES",
"code": "B91983379"
},
"name": "A Company Name S.L.",
"people": [
{
"name": {
Expand Down Expand Up @@ -52,11 +52,11 @@
]
},
"customer": {
"name": "Autofiscal S.L.",
"tax_id": {
"country": "ES",
"code": "B85905495"
},
"name": "Autofiscal S.L.",
"addresses": [
{
"num": "1629",
Expand Down
6 changes: 3 additions & 3 deletions cmd/gobl/testdata/Test_build_overwrite_output_file_outfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"currency": "EUR",
"issue_date": "2022-02-01",
"supplier": {
"name": "MªF. Services",
"tax_id": {
"country": "ES",
"code": "58384285G"
},
"name": "MªF. Services",
"people": [
{
"name": {
Expand All @@ -45,11 +45,11 @@
]
},
"customer": {
"name": "Sample Consumer",
"tax_id": {
"country": "ES",
"code": "54387763P"
},
"name": "Sample Consumer"
}
},
"lines": [
{
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 @@ -15,11 +15,11 @@
"currency": "EUR",
"issue_date": "2021-06-16",
"supplier": {
"name": "A Company Name S.L.",
"tax_id": {
"country": "ES",
"code": "B91983379"
},
"name": "A Company Name S.L.",
"people": [
{
"name": {
Expand Down Expand Up @@ -52,11 +52,11 @@
]
},
"customer": {
"name": "Autofiscal S.L.",
"tax_id": {
"country": "ES",
"code": "54387763P"
},
"name": "Autofiscal S.L.",
"addresses": [
{
"num": "1629",
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 @@ -15,11 +15,11 @@
"currency": "EUR",
"issue_date": "2021-06-16",
"supplier": {
"name": "A Company Name S.L.",
"tax_id": {
"country": "ES",
"code": "B91983379"
},
"name": "A Company Name S.L.",
"people": [
{
"name": {
Expand Down Expand Up @@ -52,11 +52,11 @@
]
},
"customer": {
"name": "Autofiscal S.L.",
"tax_id": {
"country": "ES",
"code": "54387763P"
},
"name": "Autofiscal S.L.",
"addresses": [
{
"num": "1629",
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 @@ -15,11 +15,11 @@
"currency": "EUR",
"issue_date": "2021-06-16",
"supplier": {
"name": "A Different Company S.L.",
"tax_id": {
"country": "ES",
"code": "B91983379"
},
"name": "A Different Company S.L.",
"people": [
{
"name": {
Expand Down Expand Up @@ -52,11 +52,11 @@
]
},
"customer": {
"name": "Autofiscal S.L.",
"tax_id": {
"country": "ES",
"code": "54387763P"
},
"name": "Autofiscal S.L.",
"addresses": [
{
"num": "1629",
Expand Down
6 changes: 3 additions & 3 deletions cmd/gobl/testdata/Test_sign_explicit_stdout
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"currency": "EUR",
"issue_date": "2022-02-01",
"supplier": {
"name": "MªF. Services",
"tax_id": {
"country": "ES",
"code": "58384285G"
},
"name": "MªF. Services",
"people": [
{
"name": {
Expand All @@ -45,11 +45,11 @@
]
},
"customer": {
"name": "Sample Consumer",
"tax_id": {
"country": "ES",
"code": "54387763P"
},
"name": "Sample Consumer"
}
},
"lines": [
{
Expand Down
6 changes: 3 additions & 3 deletions cmd/gobl/testdata/Test_sign_input_file
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"currency": "EUR",
"issue_date": "2022-02-01",
"supplier": {
"name": "MªF. Services",
"tax_id": {
"country": "ES",
"code": "58384285G"
},
"name": "MªF. Services",
"people": [
{
"name": {
Expand All @@ -45,11 +45,11 @@
]
},
"customer": {
"name": "Sample Consumer",
"tax_id": {
"country": "ES",
"code": "54387763P"
},
"name": "Sample Consumer"
}
},
"lines": [
{
Expand Down
6 changes: 3 additions & 3 deletions cmd/gobl/testdata/Test_sign_merge_values
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"currency": "MXN",
"issue_date": "2022-02-01",
"supplier": {
"name": "MªF. Services",
"tax_id": {
"country": "ES",
"code": "58384285G"
},
"name": "MªF. Services",
"people": [
{
"name": {
Expand All @@ -45,11 +45,11 @@
]
},
"customer": {
"name": "Sample Consumer",
"tax_id": {
"country": "ES",
"code": "54387763P"
},
"name": "Sample Consumer"
}
},
"lines": [
{
Expand Down
6 changes: 3 additions & 3 deletions cmd/gobl/testdata/Test_sign_output_file_outfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"currency": "EUR",
"issue_date": "2022-02-01",
"supplier": {
"name": "MªF. Services",
"tax_id": {
"country": "ES",
"code": "58384285G"
},
"name": "MªF. Services",
"people": [
{
"name": {
Expand All @@ -45,11 +45,11 @@
]
},
"customer": {
"name": "Sample Consumer",
"tax_id": {
"country": "ES",
"code": "54387763P"
},
"name": "Sample Consumer"
}
},
"lines": [
{
Expand Down
Loading

0 comments on commit 26a20fd

Please sign in to comment.