Cannot Set Auto Bill When Creating Recurring Invoice Through API

I am attempting to create a recurring invoice through a POST to the invoice API and am having difficulties setting the auto bill setting to “Always”.

On the front-end, the options for auto bill are off, opt-in, opt-out, and always. When looking at the data returned from doing a GET on an invoice, auto_bill is always set to true and does not seem to be affected by the off, opt-in, opt-out, or always selections.

Is there a way for me to set auto bill to “Always” when creating a recurring invoice through a POST to the Invoice API

You need to set auto_bill_id to 4

That worked! You guys continue to amaze us with how quick you are to respond and solve our issues. Thank you!

Awesome, glad to hear it worked!