diff --git a/regimes/hu/identities.go b/regimes/hu/identities.go index 422a8983..e5631e3b 100644 --- a/regimes/hu/identities.go +++ b/regimes/hu/identities.go @@ -12,7 +12,9 @@ import ( ) const ( - // When an individual belongs to a group, the user group tax number must be included in a separate field. + // IdentityKeyGroupNumber is the key used when a person belongs to a VAT group + // The main tax identity field contains the vat number of the group and it is required to include + // the vat number of the group member, which is included in identites. IdentityKeyGroupNumber cbc.Key = "hu-group-number" ) diff --git a/regimes/hu/identities_test.go b/regimes/hu/identities_test.go index 317b6d4a..dd6d7042 100644 --- a/regimes/hu/identities_test.go +++ b/regimes/hu/identities_test.go @@ -18,10 +18,8 @@ func TestValidateGroupId(t *testing.T) { {"Empty code", "", ""}, {"Invalid length (5)", "12345", "invalid length"}, {"Invalid length (10)", "1234567890", "invalid length"}, - {"Invalid check digit", "12345678", "checksum mismatch"}, {"Invalid VAT code", "21114445123", "invalid VAT code"}, {"Invalid area code", "82713452101", "invalid area code"}, - {"Valid code (8 chars)", "98109858", ""}, {"Valid code (11 chars)", "88212131403", ""}, } for _, tt := range tests {