In order to support interfacing with external (ERP) systems, the package M_API_INVOICE provides APIs to import invoices, extract invoice status information, and update fields on the invoice like ERP status, ERP message, retention percentage, retention amount, and so forth.