# Invoices

An Invoice represents a statement of the amount owed by a customer. They are either generated one-off or periodically from a subscription.&#x20;

The [Invoices](broken://spaces/-LqH4RJfLVLuHPXuJyTZ/pages/OdUytt0ZnhYd3s537zM1) resource is a critical component of the billing and payments system, capturing detailed statements of amounts owed by customers. This resource facilitates efficient financial management by allowing businesses to create, retrieve, update, and manage invoices. Users can seamlessly integrate invoicing into their workflow, whether dealing with single invoices or those generated periodically through subscriptions. Additionally, the Invoices resource supports various operations such as opening, voiding, and deleting invoices and listing all invoices in the system, ensuring comprehensive invoice management and tracking.

{% openapi src="/files/iNzDkkGaCIlZVrD9ZEeL" path="/invoices" method="get" %}
[2021-12-13.json](https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media\&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e)
{% endopenapi %}

{% openapi src="/files/iNzDkkGaCIlZVrD9ZEeL" path="/invoices" method="post" %}
[2021-12-13.json](https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media\&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e)
{% endopenapi %}

{% openapi src="/files/iNzDkkGaCIlZVrD9ZEeL" path="/invoices/{id}" method="get" %}
[2021-12-13.json](https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media\&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e)
{% endopenapi %}

{% openapi src="/files/iNzDkkGaCIlZVrD9ZEeL" path="/invoices/{id}" method="post" %}
[2021-12-13.json](https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media\&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e)
{% endopenapi %}

{% openapi src="/files/iNzDkkGaCIlZVrD9ZEeL" path="/invoices/{id}" method="delete" %}
[2021-12-13.json](https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media\&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e)
{% endopenapi %}

{% openapi src="/files/iNzDkkGaCIlZVrD9ZEeL" path="/invoices/{id}/open" method="post" %}
[2021-12-13.json](https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media\&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e)
{% endopenapi %}

{% openapi src="/files/iNzDkkGaCIlZVrD9ZEeL" path="/invoices/{id}/void" method="post" %}
[2021-12-13.json](https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media\&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e)
{% endopenapi %}

{% openapi src="/files/iNzDkkGaCIlZVrD9ZEeL" path="/invoices/{id}/sources/{sourceId}" method="post" %}
[2021-12-13.json](https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media\&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e)
{% endopenapi %}

{% openapi src="/files/iNzDkkGaCIlZVrD9ZEeL" path="/invoices/{id}/sources/{sourceId}" method="delete" %}
[2021-12-13.json](https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media\&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e)
{% endopenapi %}


---

# 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.digitalriver.com/digital-river-api-reference/2021-12-13/invoices.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.
