AR(Account Receivable) Batches
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
End Point: /arbatches
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 (Asset information)
End Point: /arbatches{id}
You can retrieve information of an existing asset by providing its Asset ID or Record ID.
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.