--- START INTEGRACJI KSeF ---
Pobieram challenge... OK
Pobieram certyfikat... Szyfruję token... OK
Otwieram sesję... OK (Ref: 20260316-AU-1F3AAC6000-CB87D8C30F-82)
Wysyłam fakturę...
Fatal error: Uncaught Exception: KSeF Error (403): {"title":"Forbidden","status":403,"detail":"Brak wymaganych uprawnie\u0144 do wykonania operacji w bie\u017C\u0105cym kontek\u015Bcie.","instance":"/v2/sessions/online/20260316-AU-1F3AAC6000-CB87D8C30F-82/invoices","reasonCode":"missing-permissions","traceId":"71355d591973fe649f207094dd7260eb","security":{"requiredAnyOfPermissions":["InvoiceWrite","PefInvoiceWrite","EnforcementOperations"],"presentPermissions":[]}} in /home/klient.dhosting.pl/hdweb/ksef.hdweb.pl/public_html/index.php:42
Stack trace:
#0 /home/klient.dhosting.pl/hdweb/ksef.hdweb.pl/public_html/index.php(171): ksef_request('POST', 'https://api-tes...', Array, Array)
#1 {main}
thrown in /home/klient.dhosting.pl/hdweb/ksef.hdweb.pl/public_html/index.php on line 42