bokio_download_credit_note
Download a published credit note as a PDF to a specified save path; returns the written file path and byte count.
Instructions
Download a published credit note as a PDF file to savePath. Returns the written path and byte count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| savePath | Yes | File path inside BOKIO_DOWNLOAD_DIR, else the working directory; an existing file is never overwritten, so pick a new name. | |
| companyId | No | Bokio company id. Defaults to BOKIO_COMPANY_ID if omitted. | |
| creditNoteId | Yes | Id from bokio_list_credit_notes; an unknown id returns a not-found error. |