Search invoices

Overview

This route will search for and return an array of invoices.

Resource Access

GET https://<hostname>/invoice/v1/invoice

Parameters

The requested criteria can be a combination of one or more of the following fields:

KeysValues
filter%7B%7D
search<Item user wants to search>
size10
sortcreated%3Adesc

Example Request

🚧

GET https://<hostname>/invoice/v1/invoice?size=3

Example Response


{
	"totalRecords": 1349515,
	"totalType": "exact",
	"recordCount": 10,
	"records": [
    	{
        	"amountPaid": 0,
        	"buyer": {
            	"id": "50e4c067-0243-54b3-9a60-6871aef94e22",
            	"bid": "BDCBUYER010320",
            	"name": "BDC BUYER 010320"
        	},
        	"creditAmount": 0,
        	"creditMemoNote": "",
        	"creditNumber": "",
        	"date": "2020-01-10T14:05:25Z",
        	"description": "",
   	     "discountAmount": 0,
        	"fileId": "71c7f820-33b1-11ea-a7f0-a7ecedf9088c",
        	"id": "f036f77f-c56c-4065-8357-668634ce8aae",
        	"importDate": "2020-01-10T14:05:17Z",
        	"location": "",
        	"number": "5-55",
        	"openAmount": 0,
        	"pifTransactionId": "93bb9e90-3e6f-4f98-8db9-e771146576b0",
        	"supplier": {
            	"id": "4688c41e-1eca-5c63-9ec3-4d6c6269a082",
            	"name": "BDC SUPP010320"
        	},
        	"totalDue": 0
    	},
    	{
        	"amountPaid": 0,
        	"buyer": {
            	"id": "bbd6d966-18e8-5674-bd57-7d544417c640",
            	"bid": "BDCINSTBUYER121719",
            	"name": "BDC INST BUYER"
        	},
  	      "creditAmount": 0,
        	"creditMemoNote": "",
        	"creditNumber": "",
        	"date": "2020-01-13T15:10:34Z",
        	"description": "",
        	"discountAmount": 0,
        	"fileId": "0deb8260-3616-11ea-a7f0-a7ecedf9088c",
        	"id": "181f758d-b3e1-4bb6-adb9-a8ee05ef39a4",
        	"importDate": "2020-01-13T15:10:29Z",
        	"location": "",
        	"number": "1144",
        	"openAmount": 0,
        	"pifTransactionId": "fab5cbf3-5256-453a-b0dc-eff7dedd6e7b",
        	"supplier": {
            	"id": "adc5120d-e105-595b-8055-5db8021143a4",
            	"name": "BDC SUPPv3 010720"
        	},
        	"totalDue": 0
    	},
    	{
        	"amountPaid": 0,
        	"buyer": {
            	"id": "bbd6d966-18e8-5674-bd57-7d544417c640",
            	"bid": "BDCINSTBUYER121719",
            	"name": "BDC INST BUYER"
        	},
        	"creditAmount": 0,
        	"creditMemoNote": "",
        	"creditNumber": "",
        	"date": "2020-01-13T15:10:34Z",
        	"description": "",
        	"discountAmount": 0,
        	"fileId": "0deb8260-3616-11ea-a7f0-a7ecedf9088c",
        	"id": "0ddcdfca-0de1-4cbe-9ea4-c9acfcc7ec43",
        	"importDate": "2020-01-13T15:10:29Z",
        	"location": "",
        	"number": "1129",
        	"openAmount": 0,
        	"pifTransactionId": "fab5cbf3-5256-453a-b0dc-eff7dedd6e7b",
        	"supplier": {
            	"id": "adc5120d-e105-595b-8055-5db8021143a4",
            	"name": "BDC SUPPv3 010720"
        	},
        	"totalDue": 0
    	}
	]
}



Priority Technology Holdings Logo