> For the complete documentation index, see [llms.txt](https://help.activenow.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.activenow.io/rozliczenia-z-klientami/podmiana-kodu-api-w-fakturowni.md).

# Podmiana kodu API w Fakturowni

Fakturownia ze względów bezpieczeństwa 1 października 2026 r. unieważnia wszystkie kody API swoich Klientów. Żeby wystawiać dalej faktury poprzez ActiveNow, wygeneruj w Fakturowni nowy kod i wklej go w ustawieniach. Zajmie Ci to kilka minut.

## Generowanie nowego kodu API w Fakturowni

{% stepper %}
{% step %}
Przejdź na stronę [app.fakturownia.pl/login](https://app.fakturownia.pl/login) i zaloguj się na swoje konto.
{% endstep %}

{% step %}
Po zalogowaniu zobaczysz na górze strony baner o podmianie kodów API. Kliknij *Wygeneruj nowy kod API*.

<figure><img src="https://1576053049-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGaO6of35OStmtsM3pEhY%2Fuploads%2FYjW9doZHsoAEMiaZk7sP%2Fimage.png?alt=media&amp;token=fd9d6264-5cc8-4142-adae-19f9ad68a3c7" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Nie wyświetla Ci się baner? Otwórz *Ustawienia → Ustawienia konta → Integracja* i kliknij *Zobacz ApiTokeny*.
{% endhint %}
{% endstep %}

{% step %}
W lewym górnym rogu kliknij *Dodaj nowy Token*. W opisie tokenu wpisz **ActiveNow 29/09/2026**, żeby łatwo rozpoznać, do czego służy, i kliknij *Zapisz*.

<figure><img src="https://1576053049-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGaO6of35OStmtsM3pEhY%2Fuploads%2F0s1xiJbHdJkXLFz6ibCS%2Fimage.png?alt=media&amp;token=bb3a09c2-1c64-4e12-9cf7-c6fc0654b08c" alt="Lista tokenów API w Fakturowni z zaznaczonym przyciskiem Dodaj nowy Token"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Po utworzeniu tokenu skopiuj go, żeby wkleić go w ActiveNow.
{% endstep %}
{% endstepper %}

## Wklejanie nowego kodu w ActiveNow

{% stepper %}
{% step %}
W ActiveNow przejdź do *Ustawienia → Fakturowanie*.
{% endstep %}

{% step %}
W sekcji *Integracja z fakturownia.pl* kliknij *Edytuj*.
{% endstep %}

{% step %}
W polu Token API kliknij szary ołówek, wklej nowy Token i kliknij w dowolnym miejscu na stronie, aby zapisać zmianę.

<figure><img src="https://1576053049-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGaO6of35OStmtsM3pEhY%2Fuploads%2FWfF4Emalj4PPOG3JhOXU%2Fimage.png?alt=media&amp;token=7803d209-9b57-450a-9290-695e2b9ccf6c" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
**Nie zmieniaj pola Adres konta.** Nazwa Twojego konta w Fakturowni zostaje taka sama, zmienia się tylko kod API.
{% endhint %}

Gotowe! Od teraz faktury będą wystawiać się tak jak dotychczas.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.activenow.io/rozliczenia-z-klientami/podmiana-kodu-api-w-fakturowni.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
