Finance

Get all invoices relations

Get invoice relationsGet all invoices relations

get/admin/finance/invoice-relations

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/finance/invoice-relations
  • Auth: HTTP basic

Query parameters

customer_idnumber double
Example:1

Optional. Filter relations by customer ID.

invoice_idnumber double
Example:1

Optional. Filter relations by invoice ID.

Response

idnumber

This is ID of invoice relation

customer_idnumber

This is ID of related customer

payer_idnumber

This is ID of a payment or transaction or credit note

typestring

Type of payer (payment, transaction or credit_note)

invoice_idnumber

ID of related an invoice

transaction_idnumber

ID of related transaction. Used instead of invoice_id

amountnumber

Amount

Example response

[
  {
    "id": 1,
    "customer_id": 3,
    "payer_id": 45,
    "type": "payment",
    "invoice_id": 100,
    "transaction_id": 132,
    "amount": 15.3
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.