I have a problem creating Invoices from Creator

I have a problem creating Invoices from Creator

I am trying to set up Invoice creation from a form in Creator but get the error message
Error in statement at line number 1
The field input.Invoice_Detail_Status is of type BOOLEAN. But you are trying to update it with data of type MAP

What type of field should


Invoice_Detail_Status be?

Hope someone can help

Thanks
David