---
title: "GetInvoices"
canonical: "https://docs.dk.is/space/DEV/10355251/GetInvoices"
format: markdown
---
This function fetches posted invoices from the system

## Parameters

Used to call the function

1. customerNumber - string
2. numberOfInvoices - Integer
3. opt - [TInvoiceGetOptions](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10354812)

## Returns

Returns the following

- Array of [TInvoice](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10355773)

 

## Related articles



> Macro (contentbylabel)

> Macro (details)
> 
> | **Related issues** |  |
> | --- | --- |