Upload an AP Invoice File

POST {{base_url}}/APInvoiceApprovals/Documents/UploadFile

Use this endpoint to upload a file for an AP invoice in AP Invoice Approvals.

The AP Invoices grid on the AP Invoice Approvals form displays all of the files associated with the AP invoice.

Request Body

[{"name"=>"file", "value"=>nil, "datatype"=>"null"}]

HEADERS

KeyDatatypeRequiredDescription
Content-TypestringRequired.

The type of content supported by the API endpoint. | | Authorization | string | | Required.

The type of authorization supported by the API endpoint. |

RESPONSES

status: OK

[{"FileID":"a4dd3b8c-a2a8-4c7b-a2c2-aa1bb92c2802","FileName":"Test PDF.pdf"}]