To use the Invoices API, import {invoices} from the wix-billing-backend module:
{invoices}
wix-billing-backend