# signing.files.fromGoogleDocs

Import a Google Docs document by its docs.google.com link as a verified PDF original. Only documents shared publicly (anyone with the link) can be fetched; otherwise download the document as PDF or Word from Google Docs and upload it.

`POST /api/v1/accounting/signing.files.fromGoogleDocs`

Permissions: `accounting:read`, `accounting:write` · Roles: admin, finance · Idempotency key required · Reaches outside Oatmilk (email or a provider)

MCP tool: `accounting_signing_files_from_google_docs`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `url` | string (uri) | Yes | A full web address, starting with https://. at most 2000 characters. |
| `idempotencyKey` | string | Yes | Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match. 8–200 characters. |

## Example request

```bash
curl https://app.getoatmilk.com/api/v1/accounting/signing.files.fromGoogleDocs \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "url": "https://example.com/webhooks/oatmilk"
}'
```

Reference page: https://app.getoatmilk.com/docs/api/signing.files.fromGoogleDocs
