Inventory

Retrieve a Supplier Invoice

Work with Supplier Invoice.Retrieves the Supplier Invoice with the given ID.

get/admin/inventory/supplier-invoices/{id}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/inventory/supplier-invoices/{id}
  • Auth: HTTP basic

Path parameters

idnumber double required
Example:1

The ID of the desired Supplier Invoice.

Response

supplier_idnumber required

Supplier ID

original_invoice_numberstring

Original invoice number

datestring

Invoice create date. Format: YYYY-MM-DD

idnumber

Invoice ID

filename_originalstring

Original file name

filenamestring

File name

file_linkstring

Link to file

Example response

{
  "supplier_id": 1,
  "original_invoice_number": "invoice number",
  "date": "2019-05-02",
  "items": [
    {
      "id": 1,
      "product_id": 2,
      "tax": 10,
      "price": 100.5
    }
  ],
  "id": 1,
  "filename_original": "test.png",
  "filename": "6bcee1fd1062637b",
  "file_link": "/admin/download--view?module=inventory_supplier_invoices&id=15"
}

Changes

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