Create Outgoing Payment
Create or update outgoingpayment data in Xorosoft ERP. Send the JSON payload using the field names documented in this operation and in the module export/import format used by Xorosoft ERP.
post
Authorizations
AuthorizationstringRequired
Body
Vendor payment payload containing payment header values and payable document allocations.
Responses
200
Request processed successfully.
application/json
Standard Xorosoft ERP API response envelope used by most endpoints.
ResultbooleanOptional
True when the operation completed successfully.
MessagestringOptional
Human-readable success or error message.
Pageinteger · nullableOptional
Current page number when paging is enabled.
TotalPagesinteger · nullableOptional
Total page count when paging is enabled.
400
Invalid request, failed validation, or business rule error.
text/plain
401
Missing or invalid private app credentials.
403
Private app does not have permission for this request.
post/api/xerp/outgoingpayment/create
POST /api/xerp/outgoingpayment/create HTTP/1.1
Host: res.xorosoft.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 281
{
"OutgoingPaymentHeaderObj": {
"VendorName": "Example Vendor",
"PaymentRefNo": "OP-1001",
"PaymentMethodName": "Check",
"CurrencyCode": "USD",
"Amount": 100,
"ThirdPartyRefNo": "OP-EXT-1001",
"ThirdPartySource": "Integration"
},
"OutgoingPaymentDetailArr": [
{
"BillNumber": "BILL-1001",
"Amount": 100
}
]
}{
"Result": true,
"Message": "Request processed successfully",
"Data": {}
}Last updated
Was this helpful?