Skip to main content
Answer

Failed to create an invoice in Wave Cannot convert undefined or null to object

  • April 29, 2024
  • 3 replies
  • 41 views

Hi there. I am trying to add multiple line items (product and shipping) to a Wave invoice from Shopify and am getting the following error

Failed to create an invoice in Wave

Cannot convert undefined or null to object
 
A possible problem as mentioned in another post is that some data could be custom, but all my entries are data fields. Additionally, when I enter each line item by its self, there is no error and an invoice is generated in Wave, but together throw an error. I have tested everything I can think of! Please see the attached screen shot.

Best answer by jayeshkumarbhatia

Hey @carmen802 ,

 

You will have to format line items to create an invoice. You can read more about this here

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

jayeshkumarbhatia
Forum|alt.badge.img+7

Hey @carmen802 ,

 

You will have to format line items to create an invoice. You can read more about this here


  • Author
  • Beginner
  • April 29, 2024

Thank you! I didn’t realize that csv should be in the formatter, not the action part, so now it is working!


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • April 30, 2024

That’s awesome @carmen802! Big thanks to @jayeshkumarbhatia for pointing you in the right direction!

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗