> 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/en/billing/replacing-the-fakturownia-api-code.md).

# Replacing the API Code in Fakturownia

For security reasons, Fakturownia is invalidating all of its customers' API codes on 1 October 2026. To keep issuing invoices through ActiveNow, generate a new code in Fakturownia and paste it into your settings. It only takes a few minutes.

## Generating a new API code in Fakturownia

{% stepper %}
{% step %}
Go to [app.fakturownia.pl/login](https://app.fakturownia.pl/login) and log in to your account.
{% endstep %}

{% step %}
After logging in, you'll see a banner at the top of the page about replacing API codes. Click *Wygeneruj nowy kod API* (Generate a new API code).

<figure><img src="https://2983515171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5ksnUuhXGAx5afQd3MB%2Fuploads%2Fgit-blob-285e5f1c996604994004457c8aaeb6f3293d3fb0%2Ffakturownia-banner-generate-new-api-code.png?alt=media" alt="Fakturownia banner about API codes being invalidated, with the Wygeneruj nowy kod API button"><figcaption></figcaption></figure>

{% hint style="info" %}
Don't see the banner? Open *Ustawienia → Ustawienia konta → Integracja* (Settings → Account settings → Integration) and click *Zobacz ApiTokeny* (View API tokens).

<img src="https://2983515171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5ksnUuhXGAx5afQd3MB%2Fuploads%2Fgit-blob-7a53ffe7174d1f146f68a398cb68c544cca6d3b0%2Ffakturownia-account-settings-integration.png?alt=media" alt="" data-size="original">

<img src="https://2983515171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5ksnUuhXGAx5afQd3MB%2Fuploads%2Fgit-blob-3ce83f17eb5363170836eccb84bbe658d1f91dcb%2Ffakturownia-integration-view-api-tokens.png?alt=media" alt="" data-size="original">
{% endhint %}
{% endstep %}

{% step %}
Click *Dodaj nowy Token* (Add new token) in the top left corner. In the token description, enter **ActiveNow 29/09/2026** so you can easily tell what it's for, then click *Zapisz* (Save).

<figure><img src="https://2983515171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5ksnUuhXGAx5afQd3MB%2Fuploads%2Fgit-blob-97f3de45bfdb4b987c99c68b4dbddd5b3838bc0f%2Ffakturownia-api-tokens-add-new-token.png?alt=media" alt="Fakturownia API tokens list with the Dodaj nowy Token button highlighted"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Once the token is created, copy it so you can paste it into ActiveNow.
{% endstep %}
{% endstepper %}

## Pasting the new code into ActiveNow

{% stepper %}
{% step %}
In ActiveNow, go to *Settings → Invoicing*.
{% endstep %}

{% step %}
In the *Integration with fakturownia.pl* section, click *Edit*.

<figure><img src="https://2983515171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5ksnUuhXGAx5afQd3MB%2Fuploads%2Fgit-blob-7618ee1183d712850a3b9e67ec6d5d47616c040c%2Factivenow-invoicing-settings-edit.png?alt=media" alt="Settings → Invoicing in ActiveNow with the Edit button highlighted in the Integration with fakturownia.pl section"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
In the *API authorization token in fakturownia.pl* field, delete the old code, paste the new one and click *Save*.

<figure><img src="https://2983515171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5ksnUuhXGAx5afQd3MB%2Fuploads%2Fgit-blob-4a36f523d5c7ed5948f7c44f021b5a2a662fcc0e%2Factivenow-invoicing-settings-api-token-field.png?alt=media" alt="Integration with fakturownia.pl section in edit mode with the API token field and Save button highlighted"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
**Don't change the&#x20;*****Address in fakturownia.pl*****&#x20;field.** Your Fakturownia account name stays the same — only the API code changes.
{% endhint %}

That's it! Your invoices will keep being issued just as before.


---

# 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/en/billing/replacing-the-fakturownia-api-code.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.
