Content was last updated in 06.01.07-00
This resource provides a set of operations to search AR Batches irrespective of the Batch is marked as posted or not and fetch details of a specific AR Batch by ID.
GET
You can search for any existing AR Batch using this service. You can apply filters as well as defined here.
Sample response payload
[
{
"batchid": "string",
"batchname": "string",
"status": "Open",
"datecreated": "MM/dd/yyyy HH:mm",
"createdby": "string",
"posteddate": "MM/dd/yyyy HH:mm",
"postedby": "string"
}
]
GET By ID
You can retrieve all information of a specific AR Batch along with invoice detail.
Sample response payload
{
"batchid": "string",
"batchname": "string",
"status": "Open",
"datecreated": "MM/dd/yyyy HH:mm",
"createdby": "string",
"posteddate": "MM/dd/yyyy HH:mm",
"postedby": "string",
"invoices": [
{
"invoiceno": "string",
"orderno": "string",
"description": "string",
"duedate": "MM/dd/yyyy HH:mm",
"invoicedate": "MM/dd/yyyy HH:mm",
"outstandingbalance": 0,
"type": "Invoice",
"parentinvoiceid": "string",
"secondaryinvoiceno": "string",
"billingcompanyid": "string",
"billingcompanyname": "string",
"billingcontactname": "string",
"transactioncurrency": "string",
"summarytype": "Invoice",
"posted": true,
"standaloneinvoice": true
}
]
}
Click here to see how the APIs helps to integrate R2 with your accounting system/software.