Skip to content

Commit

Permalink
Updating missing changes for common constants refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
samlown committed Nov 23, 2023
1 parent f193b30 commit 1fb72b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
27 changes: 0 additions & 27 deletions regimes/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion regimes/us/us.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func New() *tax.Regime {
// Sales Tax
//
{
Code: common.TaxCategoryST,
Code: tax.CategoryST,
Name: i18n.String{
i18n.EN: "ST",
},
Expand Down

0 comments on commit 1fb72b9

Please sign in to comment.