Route purchase order line splits to Sage Intacct

Developer ToolAPI IntegrationMarketingAccountingERPFinancial ManagementSales EnablementRecipe Tools

What it does

When someone sends an HTTP webhook request, this automation retrieves the purchase order from Sage Intacct. It validates the order status and split amount, then accumulates the split line items and posts them back to Sage Intacct.

Who it's for

Accounting teams who need to split purchase order lines in Sage Intacct from an external system.

How teams use this

Split a purchase order line by cost center

When a purchase spans multiple cost centers, split the line item and amounts across those centers in Sage Intacct. The order remains in the system with the new allocation.

Automate line splits from procurement system

Route purchase order split requests from a procurement platform directly to Sage Intacct via HTTP webhook. The same validation and split logic applies to all incoming requests.

Add approval step before split posts

Insert a condition to check for approval status before the split lines are posted to Sage Intacct. Only approved splits proceed to update the order.

How it works

  1. Receive line split request via HTTP. An HTTP webhook receives a real-time request to split a purchase order line, including the order identifier and split details from the external system.
  2. Retrieve the purchase order. Fetch the purchase order from Sage Intacct using the order identifier from the webhook request so the line items can be validated.
  3. Validate order status and split amount. Check that the order status is not Pending and that the split amount is greater than zero before proceeding with the line split in Sage Intacct.
  4. Split and accumulate line items. Loop through each line item, split the amounts as requested, and accumulate the updated lines into a list for posting back to Sage Intacct.
  5. Post split lines to the order. Send the accumulated split line items back to Sage Intacct to complete the purchase order line split and update the order record.