Documentation
¶
Overview ¶
Package mydata handles the extensions and validation rules in order to use GOBL with the Greek MyData format.
Index ¶
Constants ¶
View Source
const ( ExtKeyVATRate = "gr-mydata-vat-rate" ExtKeyInvoiceType = "gr-mydata-invoice-type" ExtKeyExemption = "gr-mydata-exemption" ExtKeyIncomeCat = "gr-mydata-income-cat" ExtKeyIncomeType = "gr-mydata-income-type" ExtKeyPaymentMeans = "gr-mydata-payment-means" InvoiceTypeRetailPrefix = "11." )
Regime extension codes.
View Source
const ( TagIslands cbc.Key = "islands" TagGoods cbc.Key = "goods" TagServices cbc.Key = "services" TagExport cbc.Key = "export" TagEU cbc.Key = "eu" )
Document tag keys
View Source
const (
MeansKeyForeign cbc.Key = "foreign"
)
Regime Specific Payment Means Extension Keys
View Source
const ( // V1 for Greece MyData XML v1.x V1 cbc.Key = "gr-mydata-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 myDATA.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.