Skip to main content

I’ve been trying to create an invoice in my Stripe account

->Trigger: ( QBO: New Invoice )

Product description ( csv )
Qty: ( csv )
Unit price: ( csv )

->Action: ( Stripe: Create Invoice )

Product description ( csv )
Qty: ( csv )
Unit price: ( csv )

What works: 

  • It creates invoice
  • It line items description + Qty properly

What doesn’t works:

  • The unit price result on my invoice are in cents

If i try to formate the regular pricing format to integer ( csv ) than it doesn’t work. But if i keep the formatting in dollar ( csv ) it works but in cents.

 

Any help please?

 

Hi ​@Pierre Prince 

Click field labels that are underlined to see tooltips with more info about the field.

I believe Stripe expects the numeric amounts in cents.

Try adding this Zap action: Formatter > Numbers > Perform Math Operation

Divide by 100 to get the value into cents.

 


Hey ​@Troy Tessalone 

I’ve tried To multiply & divide but same result:

here’s the result for both
 

 


@Pierre Prince 

Sorry, make sure to multiply x 100 to get the cents.

e.g. 13.50 x 100 = 1350


@Pierre Prince 

For us to have current context about the error, post current screenshots showing how your Zap steps are outlined and configured in EDIT mode with the field mappings visible.

 

Help link about using Line Items in Zaps: https://help.zapier.com/hc/en-us/articles/8496277737997-Use-line-items-in-Zaps

 

The Invoice Items section expects the data to be formatted as an array of items, not as a comma separated string of values.