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/payments

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

Updates the approval status of AP payments 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 payments in bulk.

payments
Array of object (R365.Accounting.Public.Contracts.Payments.Models.PaymentPatchItem) | null

The list of payments to patch.

object

A single payment patch operation within a bulk patch request.

id
string (uuid)

Unique identifier of the payment to patch.

approvalStatus
string

Approval status for transactions

Valid values[ "Unapproved", "Approved" ]
invoiceIds
Array of string | null

Invoices to associate with this payment.

string (uuid)
creditMemoIds
Array of string | null

Credit memos to associate with this payment.

string (uuid)
Responses
200

All payments updated successfully.

Expand All
object

Response from a bulk AP Payment patch operation.

results
Array of object (R365.Accounting.Public.Contracts.Payments.Models.PaymentPatchResult) | null

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

object

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

requestIndex
integer (int32)

Zero-based position of this payment in the original bulk request array.

id
string (uuid)

Unique identifier of the patched payment.

status
string

Processing outcome for a single payment patch operation.

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

Machine-readable error code when Status is Failed; otherwise null.

errorMessage
string | null

Human-readable error description when Status is Failed; otherwise null.

207

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

Expand All
object

Response from a bulk AP Payment patch operation.

results
Array of object (R365.Accounting.Public.Contracts.Payments.Models.PaymentPatchResult) | null

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

object

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

requestIndex
integer (int32)

Zero-based position of this payment in the original bulk request array.

id
string (uuid)

Unique identifier of the patched payment.

status
string

Processing outcome for a single payment patch operation.

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

Machine-readable error code when Status is Failed; otherwise null.

errorMessage
string | null

Human-readable error description when Status is Failed; otherwise null.

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