# Payments

### Create Payment

After opening the invoice details, click on the **Add Payment** button in the Invoice Actions list. In the opened window fill out the details and click on the <mark style="background-color:green;">Create Payment</mark> button to confirm.

![Dentaltap - Create Invoice Payment](https://774973970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCSfaCbl5WBCUFhF8TR%2Fuploads%2FiFD7vFhqo1uoDrRlFzoD%2Fimage.png?alt=media\&token=d5ec7078-8e82-4827-9647-0ed1946cd157)

**Required fields:**

* Type - a payment type, set to Cash by default;
* Amount - payment amount, can be full invoice amount, or partial payment;
* Date/Time - date and time, when the payment was collected.

**Optional fields:**

* Group - a custom tag (group) for analytics purposes, for example, if you collect payments via credit cards by several POS systems, you can specify the device id as a group. And in analytics, you will see collections for each POS separately.

Once you created a payment, you can see it in the Payments List under the Invoice.

![Dentaltap - Invoice Payment Focus](https://774973970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCSfaCbl5WBCUFhF8TR%2Fuploads%2FSPvHD7EdknHNBeeseaED%2FArtboard%20%E2%80%93%2023.png?alt=media\&token=b76833a4-7b50-48f3-8f20-3f937a436381)

#### Payment Actions

* Print - print a receipt for this payment;
* Delete - delete invoice payment.

![Dentaltap - Invoice Payment](https://774973970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCSfaCbl5WBCUFhF8TR%2Fuploads%2FpU7jbrHJrLejpNvZ19S1%2Fimage.png?alt=media\&token=9c042ad2-b0be-4424-98f6-de2afedb5280)

### Update Payment

You can't update the invoice payment. If you need to make any changes, you need to [#delete-invoice-payment](#delete-invoice-payment "mention").

### Delete Payment

Open the Payment Actions list and click on the Delete option. Find the delete option in [#payment-actions](#payment-actions "mention") to delete a payment.


---

# 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://dentaltap.gitbook.io/dentaltap/billing/payments.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.
