diff --git a/items.go b/items.go index c4bafb7..cc1b077 100644 --- a/items.go +++ b/items.go @@ -4,7 +4,6 @@ import ( "strconv" "github.com/invopop/gobl/bill" - "github.com/invopop/gobl/cbc" "github.com/invopop/gobl/i18n" "github.com/invopop/gobl/regimes/it" "github.com/invopop/gobl/tax" @@ -121,7 +120,7 @@ func findRiferimentoNormativo(rateTotal *tax.RateTotal) string { nature := rateTotal.Ext[it.ExtKeySDINature].Code() for _, c := range def.Codes { - if c.Code == cbc.Code(nature) { + if c.Code == nature { return c.Name[i18n.IT] } }