diff --git a/regimes/common/common.go b/regimes/common/common.go index 76a048da..2cc68f81 100644 --- a/regimes/common/common.go +++ b/regimes/common/common.go @@ -9,33 +9,6 @@ import ( "github.com/invopop/gobl/tax" ) -// Standard tax categories that may be shared between countries. -const ( - TaxCategoryST cbc.Code = "ST" // Sales Tax - TaxCategoryVAT cbc.Code = "VAT" // Value Added Tax - TaxCategoryGST cbc.Code = "GST" // Goods and Services Tax -) - -// Most commonly used keys. Local regions may add their own rate keys. -const ( - TaxRateExempt cbc.Key = "exempt" - TaxRateZero cbc.Key = "zero" - TaxRateStandard cbc.Key = "standard" - TaxRateIntermediate cbc.Key = "intermediate" - TaxRateReduced cbc.Key = "reduced" - TaxRateSuperReduced cbc.Key = "super-reduced" - TaxRateSpecial cbc.Key = "special" -) - -// Standard tax tags -const ( - TagSimplified cbc.Key = "simplified" - TagReverseCharge cbc.Key = "reverse-charge" - TagCustomerRates cbc.Key = "customer-rates" - TagSelfBilled cbc.Key = "self-billed" - TagPartial cbc.Key = "partial" -) - // Common inbox keys const ( InboxKeyPEPPOL cbc.Key = "peppol-id" diff --git a/regimes/us/us.go b/regimes/us/us.go index 0fbaa76f..b35deb0f 100644 --- a/regimes/us/us.go +++ b/regimes/us/us.go @@ -36,7 +36,7 @@ func New() *tax.Regime { // Sales Tax // { - Code: common.TaxCategoryST, + Code: tax.CategoryST, Name: i18n.String{ i18n.EN: "ST", },