KSeFGPT
Get started for free
Chat

How to create an invoice in AI Chat and submit it to KSeF

Describe an invoice in plain language, review and correct the editable document, then submit it to KSeF. You need an active company conversation and permission to submit invoices.

Module
Chat
Reading time
7 min
Difficulty
Published
August 25, 2026
Author
Rafał Zeidler
Format
Written guide and video

Written procedure

What you will do

You will describe a standard VAT invoice in an active conversation. AI Chat will prepare the document and open it in a separate editable tab next to the conversation.

You will review the parties, dates, line items, and amounts, correct an example field, and submit the invoice. You will finish after Invoice accepted by KSeF and a reference number appear.

Requirements

Before you start

Prepare all details before sending the request. Once KSeF accepts an invoice, you cannot freely change its contents. An error may require a separate correction invoice.

ItemDescription
AccessThe company owner or an organization member with chat:use and invoices:send.
PlanA KSeFGPT plan that includes Chat.
Company and KSeFAn active conversation for the correct company, created with a KSeF token or certificate.
Invoice dataYour invoice number, issue and sale dates, buyer details, line items with quantity, unit, net price and VAT rate, plus payment terms.
Starting pointAfter signing in, open Chat and select an active conversation for the correct company.
Time requiredAbout 3 minutes plus AI response and KSeF processing time.

Process recording

PT27.92S

The recording shows describing an invoice in AI Chat, reviewing and changing the preview, and a controlled submission ending with acceptance.

How to create an invoice in AI Chat and submit it to KSeF - video guide
01Step

Describe the invoice in plain language

In Chat, select an active conversation for the company that will be the seller. If it does not exist yet, create it first and wait for Successfully logged in to KSeF.

Enter one unambiguous request. Include the invoice number and type, dates, buyer details, every line item with quantity, unit, net price and VAT rate, plus the payment date and method.

Example: Prepare VAT invoice FV/CHAT/08/2026 with issue and sale date 25 August 2026 for Demo Buyer Sp. z o.o., TIN 1111111111, Example Street 2, 00-002 Warsaw. One line item: Demonstration service, quantity 1, unit pcs, net price PLN 1,000, VAT 23%. Payment due 1 September 2026 by bank transfer.

Step 1
Active Chat conversation containing a complete description of a demonstration VAT invoice
02Step

Send the request and open the preview

Select the send button on the right of the input. The assistant replies and automatically opens a tab labelled with the invoice number when the document is ready.

The Edit, PDF, and XML views remain at the top of the preview. Edit is active by default. The first tab labelled with the company name returns to the conversation.

Step 2
Editable preview of an AI Chat invoice showing seller, buyer, and date details
03Step

Review the data and amounts

Compare the preview with your request. Check the invoice number, seller, buyer, TINs, addresses, issue date, sale date, currency, and payment terms.

Scroll to the line items. For each item, check the name, net unit price, quantity, unit, discount, and VAT rate. Then compare the net, VAT, and gross amounts in the tax rate summary.

You can also open PDF or XML, but submit only after reviewing the data in Edit. AI Chat helps prepare the invoice but does not assume responsibility for its correctness.

Step 3
Demonstration invoice line item and net, VAT, and gross amount summary in AI Chat
04Step

Correct data in the preview

Select a value marked with a pencil icon, enter the correction, and confirm with Enter or by selecting outside the field. The example changes the invoice number to FV/CHAT/08/2026-A.

KSeFGPT regenerates and validates the XML after a change. Wait for the indicator next to XML to disappear, then review every corrected value again.

Step 4
Invoice preview with the corrected number FV/CHAT/08/2026-A and editable fields
05Step

Confirm the data and submit the invoice

Select I take full responsibility for the correctness of data sent to KSeF. Submit to KSeF becomes available when the document has all required details and XML validation has no errors.

Select Submit to KSeF. The application uses the company and authentication method chosen when this conversation was created. Keep the view open until the processing result appears.

Step 5
Responsibility confirmation selected and the Submit to KSeF button enabled
06Step

Check the acceptance status

The initial Invoice sent to KSeF message means processing has started. Wait for the final Invoice accepted by KSeF status.

Check the reference number, status description, and code 200. If Invoice rejected by KSeF appears, read the error code and description, correct the document, and submit it as a new attempt.

Step 6
Final Invoice accepted by KSeF status with a reference number and code 200

Final state

Check the result

The operation is complete when the screen shows Invoice accepted by KSeF, a reference number, and code 200. Invoice sent to KSeF alone does not confirm acceptance.

After acceptance, open Invoices and find the document under Outcome. You can review its details and download the available invoice files there.

Diagnostics

If something does not work

Compare the symptom with the table below.

SymptomLikely causeWhat to do
You cannot open ChatThe plan does not include Chat or an organization member lacks chat:use.Check the plan. In an organization, ask the owner for chat:use.
The message input is disabledThe conversation has not connected to KSeF or its session has expired.Wait for the connection confirmation. After KSeF session ended, create a new conversation.
The assistant asks for more detailsThe request lacks information needed to create a complete invoice.Provide the missing value in the same conversation. Do not approve data you have not checked.
Submit to KSeF is disabledResponsibility is not confirmed, a required field is missing, or XML validation found an error.Read the bar above the preview, complete the listed fields, remove XML errors, and select the confirmation.
Submission reports that access is missingAn organization member lacks invoices:send.Ask the organization owner for permission to submit invoices for this company.
KSeF rejects the invoiceKSeF did not accept the document data or XML.Read the error code and description. Correct the indicated data and make a new submission attempt.

What next

If you do not have an active conversation, follow How to start a chat with the KSeFGPT AI Assistant.

After acceptance, follow How to download an invoice as PDF and XML plus UPO in KSeFGPT.

Create an invoice in AI Chat

Sign in, describe the invoice in plain language, and review the document before submission.

Sign in to KSeFGPT

Related instructions