# GetReceipts

Use this method to retrieve either one or many draft receipts.

{% hint style="warning" %}
**Deprecation and Removal Notice**\
This function will be deprecated in Linx from **6 December 2025** and will be removed entirely in **late May 2026**.

After the removal date, this function will no longer work in Linx solutions because the underlying Xero API endpoint is being retired by Xero.
{% endhint %}

## Properties

#### Authentication

Authentication values used to connect to the Xero server.

#### Receipt id

You can retrieve an individual record by specifying the ReceiptID.

#### Modified after

A UTC timestamp (yyyy-mm-ddThh:mm:ss) . Only records created or modified since this timestamp will be returned e.g. 2009-11-12T00:00:00.

#### Where

Restrict the returned items using the specified criteria. See Where filter.

#### Order by

Return items in a specific order. See Order by filter.

#### Return options

Select how the data is to be returned.

Possible values are:

* Only the first item.
* The first item or an empty item.
* All the items one by one.
* All of the items at once.

## Output

#### Return type of Receipts

#### A list of receipts or a single receipt depending on the selected [Return option](https://github.com/linx-software/linx-docs/blob/v6-Main/reference/plugins/xero/content/receipts/getattachments.md#return-options).

## Links

[Xero Developer: Receipts (GET)](https://developer.xero.com/documentation/api/receipts#GET)
