---
title: "Automatch and Attach File to Transaction"
method: POST
path: "/receipts/automatching"
tags: ["Receipt Automatching"]
---

# Automatch and Attach File to Transaction

`POST /receipts/automatching`

Send us a receipt (PDF, PNG, JPEG) and we try to find the corresponding transaction for this receipt and attach it to the matching transaction. This endpoint works **asynchronously** and only starts the automatching process. You will get a callback with the result once it is finished. Or you can query the status yourself.

## Response `202`

Accepted

- object
  - `automatchingTaskId` string, uuid, required — The id of the automatching task for later fetching the status of this task. You will also get a callback if subscribed.

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref
- `404` — unresolved $ref
- `500` — unresolved $ref

---

[API](https://skmtc.dev/getpliant/apis/pliant-customer-api.md) · [All operations](https://skmtc.dev/getpliant/apis/pliant-customer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getpliant/pliant-customer-api/revisions/f3f589cfa718/schema)
