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
Post
/public/accounting/v1/accounts-payable/payments

Creates AP payments in bulk

Security
HTTP
Type Bearer

Put ONLY your JWT Bearer token on textbox below!

Body parameters
Expand All
object
payments
Array of object (R365.Accounting.AccountsPayable.Contracts.Payment.Apis.Requests.PaymentCreateItem) Required

The list of AP payments to create.

object
locationId
string (uuid) Required

The identifier of the location for the payment. Required.

vendorId
string (uuid) Required

The identifier of the vendor being paid. Required.

bankGlAccountId
string (uuid) Required

The identifier of the bank GL account used for the payment. Required.

paymentDate
string (date) Required

The date of the payment. Required.

paymentAmount
number (decimal) Required

The amount of the payment. Required.

comment
string | null

Optional comment for the payment.

checkNumber
string | null

Optional check number associated with the payment.

Responses
200

Payments created successfully.

Expand All
object
results
Array of object (R365.Accounting.AccountsPayable.Contracts.Payment.Apis.Responses.PaymentCreateResult)

Per-payment results for the batch operation.

object
requestIndex
integer (int32)

Zero-based index of the payment in the original request array.

vendorId
string (uuid)

The vendor identifier from the original request.

status
string

Result status of this payment. Valid values: Unknown, Succeeded, Failed.

errorCode
string | null

Error code if the payment failed, otherwise null.

errorMessage
string | null

Human-readable error message if the payment failed, otherwise null.

id
string (uuid) | null

The identifier of the created payment if succeeded, otherwise null.

207

Multi-Status – batch operation result containing per-payment success or failure.

Expand All
object
results
Array of object (R365.Accounting.AccountsPayable.Contracts.Payment.Apis.Responses.PaymentCreateResult)

Per-payment results for the batch operation.

object
requestIndex
integer (int32)

Zero-based index of the payment in the original request array.

vendorId
string (uuid)

The vendor identifier from the original request.

status
string

Result status of this payment. Valid values: Unknown, Succeeded, Failed.

errorCode
string | null

Error code if the payment failed, otherwise null.

errorMessage
string | null

Human-readable error message if the payment failed, otherwise null.

id
string (uuid) | null

The identifier of the created payment if succeeded, otherwise null.

400

Bad request – one or more validation errors occurred.

401

Unauthorized – authentication credentials are missing or invalid.

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