package
0.200.1
Repository: https://github.com/invopop/gobl.git
Documentation: pkg.go.dev

# README

🇵🇱 GOBL Polish Tax Regime

Poland uses the FA_VAT format for their e-invoicing system.

Example PL GOBL files can be found in the examples (YAML uncalculated documents) and examples/out (JSON calculated envelopes) subdirectories.

Public Documentation

Poland specifics

TFormaPlatnosci - Payment Means

The FA_VAT TFormaPlatnosci field specifies an invoice's means of payment. The following table lists all the supported values and how GOBL will map them from the invoice's payment instructions key:

CodeNameGOBL Payment Instructions Key
1Gotówkacash
2Kartacard
3Boncoupon
4Czekcheque
5Kredytloan
6Przelewcredit-transfer
7Mobilnamobile

Example

The following GOBL maps to the 1 (gotówka) value of the TFormaPlatnosci field:

{
  "$schema": "https://gobl.org/draft-0/bill/invoice",

  // [...]

  "payment": {
    "instructions": {
      "key": "cash"
    }
  }
}

Document Type (TRodzajFaktury)

All Polish invoices must be identified with a specific type code defined by the FA_VAT format. The following table helps identify how GOBL will map the expected Polish code with a combination of the Invoice Type and tax tags.

CodeTypeTax TagsDescription
VATstandardRegular invoice
UPRstandardsimplifiedSimplified (no customer)
ZALstandardpartialAdvance invioce
ROZstandardsettlementSettlement invoice
KORcredit-noteCredit note for regular invoice
KOR_ZALcredit-notepartialCredit note for advance invoice
KOR_ROZcredit-notesettlementCredit note for settlement invoice