Skip to content

slovak-egov/einvoice

Repository files navigation

E-Invoice

Documentation

OpenAPI 3 / Swagger

OpenAPI 3 definition.

You can view it on this website.

Error messages

Api errors

Audit log

Events

Try it out

https://dev.einvoice.mfsr.sk

  • user: E0000046137
  • password: PopradTa3@

Discussion

Development

  • Ensure postgres and redis-server services are running.

  • Initialize DB

    Set proper env variables and run:

./dev-scripts/start_service.sh cmd/migrations init
./dev-scripts/start_service.sh cmd/migrations up
  • Export proper env variables for every service in ${server-name}/.env.
APISERVER_ENV=dev
...
  • Run services you need:
./dev-scripts/start_service.sh ${service-name}

Deployment

Jelastic

Invoice format

Useful resources:

eInvoicing-EN16931

Maindoc

From maindoc you need only invoice and credit note parts.

Subset for CrossIndustryInvoice

Slovak law

  • o zarucenej elektronickej fakturacii 215/2019
  • o dani z pridanej hodnoty 222/2004
  • o slobodnom pristupe k informaciam 211/2000

EU regulation

  • Directive on electronic invoicing in public procurement 2014/55/EU
  • Council Directive on the common system of value added tax 2006/112/EC
  • Regulation on electronic identification and trust services for electronic transactions in the internal market 910/2014
  • Commission Implementing Decision on the publication of the reference of the European standard on electronic invoicing and the list of its syntaxes pursuant to Directive 2017/1870