Documentation
¶
Overview ¶
Package sdi handles the extensions and validation rules in order to use GOBL with the Italian SDI and FatturaPA format.
Index ¶
Constants ¶
View Source
const ( ExtKeyFiscalRegime cbc.Key = "it-sdi-fiscal-regime" ExtKeyFormat cbc.Key = "it-sdi-format" ExtKeyDocumentType cbc.Key = "it-sdi-document-type" ExtKeyExempt cbc.Key = "it-sdi-exempt" ExtKeyRetained cbc.Key = "it-sdi-retained" ExtKeyPaymentMeans cbc.Key = "it-sdi-payment-means" ExtKeyVATLiability cbc.Key = "it-sdi-vat-liability" )
Italian extension keys required by the Italian tax authority (SDI) and defined as part of the FatturaPA specification.
View Source
const ( // IdentityTypeCUP defines code managed by the CIPE (Interministerial Committee for Economic Planning) which characterises every public investment project (Individual Project Code) IdentityTypeCUP cbc.Code = "CUP" // IdentityTypeCIG defines tender procedure identification code. IdentityTypeCIG cbc.Code = "CIG" )
View Source
const ( KeyInboxCode cbc.Key = "it-sdi-code" KeyInboxPEC cbc.Key = "it-sdi-pec" )
Inbox keys to universally identify where copies of documents can be sent.
View Source
const ( MeansKeyTreasury cbc.Key = "treasury" MeansKeyPaymentSlip cbc.Key = "payment-slip" MeansKeyRID cbc.Key = "rid" MeansKeyRIDUtility cbc.Key = "rid-utility" MeansKeyRIDFast cbc.Key = "rid-fast" MeansKeyRIBA cbc.Key = "riba" MeansKeyTaxReceipt cbc.Key = "tax-receipt" MeansKeySpecialAccount cbc.Key = "special-account" MeansKeyPostOffice cbc.Key = "post-office" MeansKeySEPA cbc.Key = "sepa" MeansKeySEPACore cbc.Key = "sepa-core" MeansKeySEPAB2B cbc.Key = "sepa-b2b" MeansKeyPagoPA cbc.Key = "pagopa" )
Regime Specific Payment Means Extension Keys
View Source
const ( // Tags for document type TagFreelance cbc.Key = "freelance" TagCeilingExceeded cbc.Key = "ceiling-exceeded" TagSanMarinoPaper cbc.Key = "san-marino-paper" TagImport cbc.Key = "import" TagGoods cbc.Key = "goods" TagGoodsEU cbc.Key = "goods-eu" TagGoodsWithTax cbc.Key = "goods-with-tax" TagGoodsExtracted cbc.Key = "goods-extracted" TagRegularization cbc.Key = "regularization" TagDeferred cbc.Key = "deferred" TagThirdPeriod cbc.Key = "third-period" TagDepreciableAssets cbc.Key = "depreciable-assets" )
Document tag keys
View Source
const ( // V1 for SDI's FatturaPA verions 1.x V1 cbc.Key = "it-sdi-v1" )
Variables ¶
This section is empty.
Functions ¶
func PaymentMeansExtensions ¶
func PaymentMeansExtensions() tax.Extensions
PaymentMeansExtensions returns the mapping of payment means to their extension values used by SDI.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.