_pay
Parameters
id
amt
Example
FM_api('Invoice_pay', ['id' => '1', 'amt' => 500]);Result
On Success
{'ok':1}On Failure
{'error':'not logged in'}Last updated
FM_api('Invoice_pay', ['id' => '1', 'amt' => 500]);{'ok':1}{'error':'not logged in'}Last updated
{'error':'amount is not set'}