Documentation Index

Fetch the complete documentation index at: https://docs.restaurant365.com/llms.txt

Use this file to discover all available pages before exploring further.

/public/accounting/v1/accounts-payable/invoices

Prev Next
Patch
/public/accounting/v1/accounts-payable/invoices

Updates the approval status of AP invoices in bulk

Security
HTTP
Type Bearer

Put ONLY your JWT Bearer token on textbox below!

Body parameters
Expand All
object

Updates the approval status of AP invoices in bulk.

invoices
Array of object (R365.Accounting.Public.Contracts.Invoices.Models.InvoicePatchItem) | null

The list of invoices to patch.

object

A single invoice patch operation within a bulk patch request.

id
string (uuid)

The invoice unique identifier.

approvalStatus
string

Approval status for transactions

Valid values[ "Unapproved", "Approved" ]
Responses
200

All invoices updated successfully.

Expand All
object

Response from a bulk AP Invoice patch operation.

results
Array of object (R365.Accounting.Public.Contracts.Invoices.Models.InvoicePatchResult) | null

Per-item processing outcomes, one entry per invoice in the original request.

object

Processing outcome for a single invoice in a bulk patch request.

requestIndex
integer (int32)

Zero-based index of this item in the original request's Invoices array.

id
string (uuid)

The invoice identifier from the request.

status
string

Processing outcome for a single invoice patch operation.

Valid values[ "Unknown", "Succeeded", "Failed" ]
errorCode
string | null

Machine-friendly error code. Populated when Status is Failed.

errorMessage
string | null

Human-readable error description. Populated when Status is Failed.

207

Multi-Status – Batch operation result containing status for each invoice in the request.

Expand All
object

Response from a bulk AP Invoice patch operation.

results
Array of object (R365.Accounting.Public.Contracts.Invoices.Models.InvoicePatchResult) | null

Per-item processing outcomes, one entry per invoice in the original request.

object

Processing outcome for a single invoice in a bulk patch request.

requestIndex
integer (int32)

Zero-based index of this item in the original request's Invoices array.

id
string (uuid)

The invoice identifier from the request.

status
string

Processing outcome for a single invoice patch operation.

Valid values[ "Unknown", "Succeeded", "Failed" ]
errorCode
string | null

Machine-friendly error code. Populated when Status is Failed.

errorMessage
string | null

Human-readable error description. Populated when Status is Failed.

400

Bad request – one or more validation errors occurred.

401

Unauthorized – authentication is required and has failed or has not been provided.

403

Forbidden – the caller does not have permission to perform this operation.

422

Unprocessable Content

Expand All
object
errorCode
string | null
innerError
object (R365.Accounting.Public.Models.R365Error)
errorCode
string | null
innerError
object (R365.Accounting.Public.Models.R365Error) Recursive