# Automatic Invoice Creation

To automatically create invoices, you can use API integration with CryptoCloud. This method allows your system to generate invoices, send them to your customers, and receive notifications about the payment status.

How automatic invoice creation works:

1. API integration. Perform integration using API keys that can be found in your CryptoCloud personal account.&#x20;
2. Invoice creation. With each order, send a request to create an invoice, specifying the required parameters: amount, currency and customer data.&#x20;
3. Payment link reception. In response, the system will respond with a unique payment link, which can be sent to the client manually or automatically.&#x20;
4. Invoice payment. The client follows the link and makes the payment.&#x20;
5. Payment notification. Once the payment is complete, CryptoCloud sends a notification (POSTBACK) to the URL you specified. This allows you to automatically update the order status and perform further actions on your side.&#x20;
6. [Invoice status](/en/payments/invoice-statuses.md) check. You can also independently check the status of an invoice using INV number via API.

For more details on setting up automatic invoice generation via API, please refer to the [documentation for developers](https://docs.cryptocloud.plus/en/api-reference-v2/create-invoice).

{% hint style="info" %}
If you have any questions or need help, you can contact our support via chat on the website and in your personal account, as well as reach us on Telegram. Support contacts are listed [on our website](https://cryptocloud.plus/en/support).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.cryptocloud.plus/en/payments/automatic-invoice-creation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
