Skip to main content
Question

Trying to create invoice on quickbooks on webhook and getting error

  • August 27, 2026
  • 1 reply
  • 11 views

What this error means:

The "Invalid Reference Id" error indicates that the line_item_id value being passed to QuickBooks Online doesn't match a valid product or service in your QuickBooks account. This typically occurs when the item reference ID is incorrect, missing, or doesn't correspond to an actual product/service set up in QuickBooks Online.

How to fix it:

  • Verify that the line_item_id value ("111" in your case) corresponds to a valid product/service item in QuickBooks Online. The ID must be the unique identifier QuickBooks assigns to the item, not the item name or description.
  • Check that the product/service exists in QuickBooks Online and is marked as available for sales transactions.
  • If you're mapping the line_item_id from a previous step (the WebHookCLIAPI step), ensure that step is actually providing a valid QuickBooks item ID. You may need to add a "Find Product(s)" action to search for and retrieve the correct product ID from QuickBooks before creating the invoice.
  • As a workaround, try copying the product's SKU from QuickBooks Online and using that value instead of the line item ID.
  • Test the action with sample data to confirm the item reference is being passed correctly before running the full Zap.

1 reply

SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • August 28, 2026

Hi and welcome to the Community, ​@Eliana0809! 😁

Does the ID (111) match the ID for the product/service in QuickBooks, or have you not been able to confirm that yet?

Can you share a screenshot of your QuickBooks Create Invoice action, specifically the line items section and the Product/Service field? That'll help us see what has been mapped and whether something there is causing the error.