---
title: "Attach a PDF to an existing invoice by URL — Stuut GETs the PDF from"
method: POST
path: "/v2/integrations/providers/boomi/invoices/{remote_id}/pdf"
tags: ["integrations"]
---

# Attach a PDF to an existing invoice by URL — Stuut GETs the PDF from

`POST /v2/integrations/providers/boomi/invoices/{remote_id}/pdf`

## Request

- Base URL: `https://api.stuut.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stuut.ai/v2/integrations/providers/boomi/invoices/{remote_id}/pdf`
- Auth: HTTP bearer

`pdf_url` and stores it. The invoice record must already have been pushed
via `/invoices`; otherwise this returns 404.

## Path parameters

- `remote_id` string, required

## Request body

- BoomiInvoicePdfPayload: PDF attachment for an invoice — Boomi sends a downloadable URL.
  - `pdf_url` string, required: URL Stuut should GET to download the invoice PDF
  - `filename` string, nullable: Optional file name; defaults to <remote_id>.pdf
  - `mime_type` string, nullable: Optional MIME type; defaults to application/pdf

## Response `200`

Successful Response

- BoomiInboundResult
  - `remote_id` string, required
  - `success` boolean, required
  - `stuut_id` string, nullable, required
  - `error_code` string, nullable, required
  - `message` string, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stuut/apis/stuut-api.md) - [All operations](https://skmtc.dev/stuut/apis/stuut-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stuut/apis/stuut-api/revisions/ff0ad16a55ff?raw)
