-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #398 from invopop/fix-tax-id-calculate
Fixing tax Identity normalize with Calculate method
- Loading branch information
Showing
9 changed files
with
128 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"$schema": "https://gobl.org/draft-0/envelope", | ||
"head": { | ||
"uuid": "8a51fd30-2a27-11ee-be56-0242ac120002", | ||
"dig": { | ||
"alg": "sha256", | ||
"val": "eb13b8883977bbd80419ce394072232e235c13c9325a4dda3693da85d86f3396" | ||
} | ||
}, | ||
"doc": { | ||
"$schema": "https://gobl.org/draft-0/org/party", | ||
"uuid": "0192a13b-7f85-7429-a635-b269f6eb5295", | ||
"name": "Provide One S.L.", | ||
"tax_id": { | ||
"country": "ES", | ||
"code": "B98602642" | ||
}, | ||
"addresses": [ | ||
{ | ||
"num": "42", | ||
"street": "Calle Pradillo", | ||
"locality": "Madrid", | ||
"region": "Madrid", | ||
"code": "28002", | ||
"country": "ES" | ||
} | ||
], | ||
"emails": [ | ||
{ | ||
"addr": "[email protected]" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"$schema": "https://gobl.org/draft-0/envelope", | ||
"head": { | ||
"uuid": "8a51fd30-2a27-11ee-be56-0242ac120002", | ||
"dig": { | ||
"alg": "sha256", | ||
"val": "3630785426ac28dd900af9bd1ea51cf5ed783896dfe954773ad1d88058267453" | ||
} | ||
}, | ||
"doc": { | ||
"$schema": "https://gobl.org/draft-0/tax/identity", | ||
"country": "ES", | ||
"code": "B98602642" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
$schema: "https://gobl.org/draft-0/org/party" | ||
uuid: "0192a13b-7f85-7429-a635-b269f6eb5295" | ||
tax_id: | ||
country: "ES" | ||
code: "B-986.026.42" # test normalization | ||
name: "Provide One S.L." | ||
emails: | ||
- addr: "[email protected]" | ||
addresses: | ||
- num: "42" | ||
street: "Calle Pradillo" | ||
locality: "Madrid" | ||
region: "Madrid" | ||
code: "28002" | ||
country: "ES" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
$schema: "https://gobl.org/draft-0/tax/identity" | ||
country: "ES" | ||
code: "B-986.026.42" # test normalization |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters