Nawiązanie sesji interaktywnej #1
Answered
by
alapierre
alapierre
asked this question in
Pytania i Odpowiedzi
-
|
Jak nawiązać sesję interaktywną z KSeF? |
Beta Was this translation helpful? Give feedback.
Answered by
alapierre
Sep 15, 2023
Replies: 1 comment
-
|
przykład dokumentu XML, który należy wysyłać pod endpoint <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns3:InitSessionTokenRequest xmlns="http://ksef.mf.gov.pl/schema/gtw/svc/online/types/2021/10/01/0001" xmlns:ns2="http://ksef.mf.gov.pl/schema/gtw/svc/types/2021/10/01/0001" xmlns:ns3="http://ksef.mf.gov.pl/schema/gtw/svc/online/auth/request/2021/10/01/0001">
<ns3:Context>
<Challenge>__challenge__</Challenge>
<Identifier xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:SubjectIdentifierByCompanyType">
<ns2:Identifier>__identifier__</ns2:Identifier>
</Identifier>
<DocumentType>
<ns2:Service>KSeF</ns2:Service>
<ns2:FormCode>
<ns2:SystemCode>FA (2)</ns2:SystemCode>
<ns2:SchemaVersion>1-0E</ns2:SchemaVersion>
<ns2:TargetNamespace>http://crd.gov.pl/wzor/2023/06/29/12648/</ns2:TargetNamespace>
<ns2:Value>FA</ns2:Value>
</ns2:FormCode>
</DocumentType>
<Token>__encryptedToken__</Token>
</ns3:Context>
</ns3:InitSessionTokenRequest>
Przykłady: https://github.com/ksef4dev/sample-requests/blob/main/session.http |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
alapierre
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
przykład dokumentu XML, który należy wysyłać pod endpoint
/api/online/Session/InitToken: