> For the complete documentation index, see [llms.txt](https://developer-sandbox.younium.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer-sandbox.younium.com/api-s/api-2.1/invoices.md). Agents can also search and read this documentation through its [MCP server](https://developer-sandbox.younium.com/~gitbook/mcp).

# Invoices

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices" method="get" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/{id}" method="get" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/{id}" method="patch" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/{id}/RelatedInvoices" method="get" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/invoiceLines/ChargeType/{type}" method="get" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/Usage/{usageId}" method="get" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/invoiceLines/Usage/{usageId}" method="get" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/invoiceDownloadAttachment/{invoiceId}" method="get" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/generateAttachmentURL/{invoiceId}" method="get" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/{id}/Attachments" method="get" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/PostedInvoiceDocumentAttachments" method="get" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/DownloadAttachment/{id}" method="get" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/paid" method="post" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/onAccountInvoice" method="post" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/{id}/cancel" method="post" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/{id}/credit" method="post" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/{id}/post" method="post" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/orders/{id}" method="post" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/{id}/ProcessStripePayment" method="post" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

{% openapi src="/files/NUyqXWVK2HuNAYYplP0L" path="/Invoices/{id}/OnlinePaymentLogs" method="get" expanded="true" %}
[youniumv2-sandbox.json](https://4077345047-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWO0q5W7FmACVcfgGFVFF%2Fuploads%2Fgit-blob-10b05d08f4fba163fc081b69e452f1a16757c002%2Fyouniumv2-sandbox.json?alt=media)
{% endopenapi %}

***
