The CloseSalesInvoice service allows for confirming a sales invoice, meaning its content can no longer be modified.
This step is essential to proceed with posting the invoice, which generates accounting entries and enables tracking payments associated with the invoice.
After closing, the invoice status changes from Pending
(Draft) to Closed
(Unposted), making it ready for posting and further financial processing.