Content was last updated in 06.01.07-00
To successfully integrate R2 Invoices with your accounting software, use the following APIs.
In R2, create an Order, add item, and mention their price.
Generate the Invoice.
Create a Batch and add the Invoice to it.
Fetch the open batch (using filters) by invoking AR Invoice Batch List API.
Fetch Invoices added to a particular batch intended to be posted using AR Invoice Batch Details API.
Fetch Invoice details to reconcile with external accounting system using Invoice details API.
Once the Invoice details are reconciled with accounting software, mark the invoice as ‘Posted’ in R2 using Invoice API.
Once all the Invoices within a batch is marked as ‘Posted’, API will mark the batch as ‘Posted’ as well.