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

Upgrading to GOBL 0.52 #77

Merged
merged 1 commit into from
Jul 18, 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
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