Documentation
¶
Overview ¶
Package pt provides models for dealing with the Portuguese tax regime.
Index ¶
Constants ¶
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 ( ZoneAveiro l10n.Code = "01" ZoneBeja l10n.Code = "02" ZoneBraga l10n.Code = "03" ZoneBraganca l10n.Code = "04" ZoneCasteloBranco l10n.Code = "05" ZoneCoimbra l10n.Code = "06" ZoneEvora l10n.Code = "07" ZoneFaro l10n.Code = "08" ZoneGuarda l10n.Code = "09" ZoneLeiria l10n.Code = "10" ZoneLisboa l10n.Code = "11" ZonePortalegre l10n.Code = "12" ZonePorto l10n.Code = "13" ZoneSantarem l10n.Code = "14" ZoneSetubal l10n.Code = "15" ZoneVianaDoCastelo l10n.Code = "16" ZoneVilaReal l10n.Code = "17" ZoneViseu l10n.Code = "18" ZoneAzores l10n.Code = "20" // Autonomous Region ZoneMadeira l10n.Code = "30" // Autonomous Region )
Zone code definitions for Portugal based on districts and autonomous regions based on ISO 3166-2:PT.
View Source
const ( StampProviderATATCUD cbc.Key = "at-atcud" StampProviderATQR cbc.Key = "at-qr" )
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 ( TaxCountryRegionPT = "PT" TaxCountryRegionAC = "PT-AC" TaxCountryRegionMA = "PT-MA" )
AT Tax Country Regions
View Source
const (
ExtKeyExemptionCode = "pt-exemption-code"
)
Special codes to be used inside rates.
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.