Documentation
¶
Overview ¶
Package pt provides models for dealing with the Portuguese tax regime.
Index ¶
Constants ¶
View Source
const ( ExtKeyRegion = "pt-region" ExtKeyExemptionCode = "pt-exemption-code" // note: avoid redundant prefixes like `-code` )
Special codes to be used inside rates.
View Source
const ( TaxRateExempt cbc.Key = "exempt" TaxRateOutlay cbc.Key = "outlay" TaxRateIntrastate cbc.Key = "intrastate-export" TaxRateImports cbc.Key = "imports" TaxRateExports cbc.Key = "exports" TaxRateSuspension cbc.Key = "suspension-scheme" TaxRateInternalOps cbc.Key = "internal-operations" TaxRateSmallRetail cbc.Key = "small-retail-scheme" TaxRateExemptScheme cbc.Key = "exempt-scheme" TaxRateTobacco cbc.Key = "tobacco-scheme" TaxRateMargin cbc.Key = "margin-scheme" TaxRateTravel cbc.Key = "travel" TaxRateSecondHand cbc.Key = "second-hand" TaxRateArt cbc.Key = "art" TaxRateAntiques cbc.Key = "antiques" TaxRateTransmission cbc.Key = "goods-transmission" TaxRateOther cbc.Key = "other" TaxRateFlatRate cbc.Key = "flat-rate-scheme" TaxRateNonDeductible cbc.Key = "non-deductible" TaxRateConsignment cbc.Key = "consignment-goods" TaxRateReverseCharge cbc.Key = "reverse-charge" TaxRateWaste cbc.Key = "waste" TaxRateCivilEng cbc.Key = "civil-eng" TaxRateGreenhouse cbc.Key = "greenhouse" TaxRateWoods cbc.Key = "woods" TaxRateB2B cbc.Key = "b2b" TaxRateIntraEU cbc.Key = "intraeu" TaxRateRealEstate cbc.Key = "real-estate" TaxRateGold cbc.Key = "gold" TaxRateNonTaxable cbc.Key = "non-taxable" )
Tax rate exemption tags
View Source
const ( KeyATTaxCountryRegion cbc.Key = "at-tax-country-region" KeyATTaxCode cbc.Key = "at-tax-code" KeyATTaxExemptionCode cbc.Key = "at-tax-exemption-code" KeyATInvoiceType cbc.Key = "at-invoice-type" )
Custom keys used typically in meta information
View Source
const ( StampProviderATATCUD cbc.Key = "at-atcud" StampProviderATQR cbc.Key = "at-qr" StampProviderATHash cbc.Key = "at-hash" StampProviderATAppID cbc.Key = "at-app-id" )
AT official codes to include in stamps.
View Source
const ( TaxCodeStandard cbc.Code = "NOR" TaxCodeIntermediate cbc.Code = "INT" TaxCodeReduced cbc.Code = "RED" TaxCodeExempt cbc.Code = "ISE" TaxCodeOther cbc.Code = "OUT" )
AT Tax Map
View Source
const (
TagInvoiceReceipt cbc.Key = "invoice-receipt"
)
Invoice type tags
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.