# Codes

If you have a discount code for Datacake Billing, then you can enter it while creating a device to use the code to pay for the device.

Simply enter the code in the following input field:

![](/files/-Mc9u0PE8wjV-RSx-1IP)

Next press on "Apply" to enable the code. If the code is valid, a new Plan will appear in the List of choseable plans. Select this and press on "Add 1 Device" to add the device based on the discounted device subscription plan.


---

# 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://docs.datacake.de/portal/billing/codes.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.
