---
title: "GetInvoicesChunk"
canonical: "https://docs.dk.is/space/DEV/10354820/GetInvoicesChunk"
format: markdown
---
This function fetches invoices in chunks from the system

## Parameters

Used to call the function

1. RecordId - integer
2. numberofRecords - 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** |  |
> | --- | --- |