_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
Pay an Invoice.
The ID of the Invoice to be paid.
The amount that will be paid.
FM_api('Invoice_pay', ['id' => '1', 'amt' => 500]);{'ok':1}If the User is not logged in:
{'error':'not logged in'}If the amount is not set:
Last updated
{'error':'amount is not set'}