The only endpoint that can post the transaction is the new job cost commitment ones which we can turn on for your test environments and customers. Apart from that, user settings for posting controls are going to dictate the posting behavior.
The user will need to post AP Invoices created through the platform in Accounts Payable. That posting process will create unposted transactions in the job cost and general ledger. Depending on the posting settings in AP, those general ledger and job cost transactions will either automatically post or the user will need to post them manually in their respective modules.
Direct cost entries created via the platform will need to be manually posted in job cost.