get_attachments
List or download GOS attachments for an SAP document (invoice, PO, material doc, FI) by number, year, and company code, or via raw object type and key. Files save to Downloads; open them to view.
Instructions
GOS attachments of an SAP document: lists them and saves the files to Downloads/SAP attachments (content is never returned; open the saved file). kind: invoice (MIRO, needs year), material_doc (needs year), po, fi (needs year + company_code). Or raw object_type + object_key (e.g. BUS2091). download=false only lists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| year | No | ||
| folder | No | ||
| number | No | ||
| download | No | ||
| object_key | No | ||
| object_type | No | ||
| company_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |