Sales invoices and sales credit notes are batched up for posting by a scheduled job in the following circumstances:
When you click Post (or Save & Post in the case of recurring invoices mentioned above) the documents are given a "Ready to Post" status and temporary worker item records are created. If the process fails to post the document, its status is set back to "In Progress". If the process fails to create income schedule journals or adjustment journals, the invoice status remains as "Complete".
These worker item records are processed by the Background Posting Scheduler that your administrator will have configured to run at regular intervals. See Setting up the Background Posting Scheduler for more information, including how to resolve errors logged by the process.
For a sales invoice with an income schedule, up to three worker items are created by the Background Posting Scheduler, one each for the following actions:
Posting by the API works differently. When the invoice is posted by the API, it is given a status of "Complete" immediately and so the first item in the previous list is not performed by the Background Posting Scheduler in this case.
When you post sales invoices or sales credit notes that have their tax value calculated by AvaTax, the posting is completed in three stages:
This means that there is a delay between the sales document being posted in FinancialForce Accounting and its tax value being committed in AvaTax.