Migrate data through standalone invoices for distributor accounts
This article explains how to migrate and process large volumes of invoices for distributor accounts using standalone invoices and REST API.
You want to migrate over 200,000 invoices under an account during the migration phase. After going live, you have to process around 30,000 invoices for such accounts every day.
To meet the business requirements, perform the following steps:
-
Update an existing invoice owner account
by setting the
partnerAccount
field totrue
. - Create standalone invoices through the REST API in multiple requests.
-
After all standalone invoices are created and uploaded, use the Retrieve an account
or Retrieve an account summary
operation to check the value of the
lastMetricsUpdate
field for the accounts.