You cannot assign more than X units in Document Type = Invoice, Document No. [Document_Number], Line No. = [Line_Number]

When I try to post an invoice with a charge(item) type in purchase line, I get this error:

“You cannot assign more than 1 units in Document Type = Invoice, Document No. [Document_Number], Line No. = [Line_Number]”

Help Pleas