Skip to content

Update invoice and line items from order webhook

Automatically monitor new order updates via Webhooks by Zapier across Webhooks by Zapier and Salesforce. Create and update invoices and line items when order details arrive and totals changeβ€”so you can keep billing records current, reconcile amounts, and persist invoice IDs without manual invoice rework.

How this automation updates invoice accuracy

When order updates arrive without matching invoices, teams lose time reconciling totals and line-item detail. This automation retrieves order details, creates or updates Salesforce invoices and line items, and writes back invoice IDs to keep systems aligned.

  1. 1.Catches new order update

    Integrate Webhooks by Zapier and order data feeds to retrieve full order details and map totals, currency, and line items to invoice groups.

    Webhooks by Zapieror swap with your favorite app
  2. 2.Finds related opportunity and invoice

    Integrate Salesforce and CRM context tools to find matching records and map order fields into invoice fields, creating a new invoice when needed.

    Salesforceor swap with your favorite app
  3. 3.Iterates line items array

    Integrate Looping by Zapier and product lookup tools to iterate mapped line items and create or update Salesforce invoice line-item records.

    Looping by Zapieror swap with your favorite app
  4. 4.Updates invoice totals and status

    Integrate Salesforce and reporting tools to update the parent invoice with aggregated totals, currency, payment status, and processing stage fields.

    Salesforceor swap with your favorite app
  5. 5.Writes invoice ID back locally

    Integrate MySQL and database tools to write the Salesforce invoice ID and processing marker back to internal rows.

    MySQLor swap with your favorite app

Automate your work, your way

Build custom automations across your tools in minutes. Describe what you need, connect your apps, and create workflows without the manual effort.

Trusted by 3.4 million companies

Calendly
Okta
Zendesk
Dropbox
Asana
Allstate
Airbnb
ActiveCampaign
Lyft
Webflow
Canva
Sysco
LA Clippers
Getaround
Grammarly
HelloFresh
Lululemon
Barry's
Hopper
Casper
Hudl
Miro
The New York Times
Ruggable
Calendly
Okta
Zendesk
Dropbox
Asana
Allstate
Airbnb
ActiveCampaign
Lyft
Webflow
Canva
Sysco
LA Clippers
Getaround
Grammarly
HelloFresh
Lululemon
Barry's
Hopper
Casper
Hudl
Miro
The New York Times
Ruggable

Related automations

  • Apps: NetSuite, Filter by Zapier, Formatter by Zapier, Microsoft Dynamics 365 CRM, Looping by Zapier
    Swap with your favorite apps.

    Add and update invoice records in central billing database

    Your ERP invoice updates often miss customer or department links, causing manual lookups and billing delays. Keep invoice headers and lines synced so finance can reconcile and bill on schedule.

  • Apps: Simpro, Filter by Zapier, Google Sheets
    Swap with your favorite apps.

    Add approved job invoices to ledger sheet

    Your job invoices are often unrecorded after field updates, delaying cashflow visibility and manual reconciliation. It records approved invoices to your ledger so billing is ready same day.

  • Apps: ServiceTitan, Filter by Zapier, Code by Zapier
    Swap with your favorite apps.

    Add assessment fee to scheduled job invoices by business unit

    Your scheduled job invoices sometimes omit diagnostic fees for certain business units, creating billing and reconciliation delays. Add the correct fee so billing collects revenue before next cycle.

  • Apps: Xero, Formatter by Zapier, Google Sheets
    Swap with your favorite apps.

    Add authorised supplier bills to cashflow master sheet

    Authorised supplier bills sit only in accounting, causing cashflow blind spots for finance. Finance and billing staff get consolidated cashflow rows same day, enabling on-time payment decisions.

  • Apps: Webhooks by Zapier, Code by Zapier, Looping by Zapier, Google Sheets
    Swap with your favorite apps.

    Add bill line items to spreadsheet for purchasing

    Your supplier bills arrive without structured line items, blocking price reconciliation and timely payments. Get line-item rows into your ledger same-day.

  • Apps: Email by Zapier, Webhooks by Zapier, Google Sheets
    Swap with your favorite apps.

    Add cloud provider invoices to central finance spreadsheet

    Your cloud invoices arrive by email and aren't captured centrally, causing manual work and delayed reconciliation. Record each invoice into a shared finance sheet so billing can reconcile faster.

  • Apps: Lev, LeadConnector, Google Sheets
    Swap with your favorite apps.

    Add completed service invoices to finance report sheet

    Your completed invoices go unlogged when stage updates aren't captured, delaying reconciliation. Rows are added to a central finance sheet so accounting can reconcile the same day.

  • Apps: Ninja Forms, Formatter by Zapier, Airtable
    Swap with your favorite apps.

    Add contractor invoices from forms into billing records

    Your contractor invoice submissions arrive unstructured and clog email, delaying approvals. Capture each form as a structured billing record so billing staff can start payments same day.

  • Apps: Jotform, Formatter by Zapier, Google Sheets
    Swap with your favorite apps.

    Add contractor invoice submissions to your payments tracker

    Your contractor invoice form submissions scatter payment info and delay payouts. Capture each submission into one payments sheet so billing can process same-day.

  • Apps: Webhooks by Zapier, HubSpot, Looping by Zapier, Filter by Zapier, Formatter by Zapier
    Swap with your favorite apps.

    Add course line items to draft invoice and send

    Your course invoices miss line item details after CRM updates, causing reconciliation delays and payment confusion. It adds matched course line items and emails the invoice the same day.

  • Apps: Xero, Filter by Zapier, Formatter by Zapier, Smartsheet
    Swap with your favorite apps.

    Add draft bills to approval sheet for review

    Your draft bills in accounting sit unreviewed, blocking approvals and delaying vendor payments. Billing staff can review and approve invoices same day.

  • Apps: QuickBooks Online, Filter by Zapier, Smartsheet
    Swap with your favorite apps.

    Add edited invoices to your invoice tracker sheet

    Your edited invoices sometimes miss the billing tracker, leaving project and billing teams without job context. It logs rows and updates invoice tracking so reconciliation and dispatch happen before the next run.

  • Explore all invoice processing & management automations

    Accelerate invoice processing with automated invoice capture, approval routing, and payment updates

    View all

Set up in minutes

Zapier connects your tools, triggers actions from real-time data, and streamlines workflows so your team can focus on what matters most.

  1. Step 1

    Connect your tools

    Bring your apps together so information can move automatically between the tools your team already uses.

  2. Step 2

    Define the trigger

    Choose the events that should start your workflow, like a new submission, updated record, completed task, or customer action.

  3. Step 3

    Automate and measure

    Let your workflow handle follow-ups, updates, notifications, and reporting so your team can track progress and act faster.

See how teams are automating with Zapier (and loving it!)

Smart Charge America

Without Zapier, we would have needed well over 100 employees today just to do what we're doing. We would have been out of business by now.

David Laderberg, VP of Sales

Remote

Without having automation, we would have to at least be double our size. Doubling is a bit of a euphemism β€” I think we would have died or fallen back into oblivion.

Marcelo Lebre, Co-Founder

SweepBright

Zapier helps us close far above 50% more deals than we would without it. It is a key element of our overall strategy and, therefore, of our sales pitch.

Raphael Bochner, Founder and CIO

Digioh

Zapier gives us unlimited flexibility and creativity. With Zapier, you're like an artist with a blank canvas. I don't know what we'd do without it.

Rishi Shah, CEO and Co-Founder

Otter.ai

We don't just want to patch holes; we want to build scalable, future-proof systems. Zapier is helping us do that.

Allen Lai, Head of Customer Experience

Superhuman

We've been able to scale our operations while staying lean. Zapier lets us do more without needing more people.

Jacob Sirrs, Marketing Operations Specialist

Ready to automate your workflow securely?

Streamline processes, uncover new opportunities, and respond faster to change. Empower your team to get more done, without the manual work.