KSEF REST API serves as an integration interface for the Polish National e-Invoice System (KSeF), a central repository of structured electronic invoices managed by the Ministry of Finance.