Invoice payments must be connected to invoices.
Listing Invoice Payments
Returns a collection of invoice payment records, optionally filtered by the available request parameters.
Available Request Parameters:
|id||integer||no||ID of the invoice.|
|client||integer||no||ID of the root (parent) client the connected invoice belongs to.|
|location||integer||no||ID of the client location the connected invoice belongs to.|
|invoice||integer||no||ID of the invoice the payment(s) belong to.|
|invoice_number||integer||no||Unique invoice number the payment(s) belong to.|
|invoice_reference_number||string||no||Invoice reference number (e.g. Claim number).|
|reference_number||string||no||Payment reference number (e.g. check or transaction number)|
|paid_from||date||no||Paid on or after the date (Alias: From).|
|paid_to||date||no||Paid on or before the date (Alias: To).|
|invoice_created_from||date||no||Invoice created on or after the date.|
|invoice_created_to||date||no||Invoice created on or before the date.|
|created_from||timestamp||no||Created on or after the date, as determined by the system.|
|created_to||timestamp||no||Created on or before the date, as determined by the system.|
|updated_from||timestamp||no||Updated on or after the date, as determined by the system.|
|updated_to||timestamp||no||Updated on or before the date, as determined by the system.|
Note: All timestamp parameters are queried and returned in UTC.
Getting an Invoice Payment
Returns a single invoice payment record, based on the numeric ID.