# Payment Dump Entry Numbers

*Article Topics:* [*Payments*](/getting-started/common-topics/payments.md)*,* [*Smarty*](/getting-started/common-topics/smarty.md)

Add a number to every [banking check](http://en.wikipedia.org/wiki/Cheque) in a dump using the [Smarty ](/using-nats/one-off-articles/smarty.md){counter} function in the entry header. For example:

```
Check #{counter}
```

You can use {counter} multiple times in the same header, or generate a unique number across all dumps, by assigning a number to a variable and updating it after each run. For example, to print a series of checks starting with check #100:

{% code overflow="wrap" %}

```
{counter assign=mycounter}Row:{$mycounter} Check #{math equation="x+y" x=100 y=$mycounter}
```

{% endcode %}

The next time you want to print checks, update the *100* in *x=100*. For example, to print a new series of checks starting with check #177:

{% code overflow="wrap" %}

```
{counter assign=mycounter}Row:{$mycounter} Check #{math equation="x+y" x=177 y=$mycounter}
```

{% endcode %}


---

# 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.toomuchmedia.com/nats-admin/payments/further-reading/payment-dump-entry-numbers.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.
