How Can We Help?
< All Topics
Print

View Invoice

The View Invoice is used to get Invoice Details for a range of Invoices.

Request JSON Example (Version 3.0)

The following is an example of the JSON string that will be posted

{
   "view_invoice": {
      "version": "3.0",
      "integration_type": "FLK",
      "member_id": "###",
      "account_id": "######",
      "invoice_number": "",
      "po_number": "",
      "from_invoice_date": "2020-04-04",
      "to_invoice_date": "2020-04-06",
      "location_id": "STN",
      "part_number": "",
      "invoice_type": ""
   }
}

Response JSON Example (Version 3.0)

The following is an example of the JSON string to be returned

{
   "view_invoice_response": {
      "version": "3.0",
      "integration_type": "FLK",
      "member_id": "###",
      "account_id": "######",
      "status": "success",
      "error_description": "",
      "invoices": [
         {
            "invoice_number": "000-274114",
            "invoice_date": "2020-04-06 00:00:00",
            "account_id": "######",
            "location_id": "STN",
            "location_description": "FISHER AUTO PARTS",
            "po_number": "145530tt",
            "item_count": 3,
            "total_cost": 333.36,
            "link_url": "",
            "invoice_detail": [
               {
                  "item_quantity": 1,
                  "line_code": "871",
                  "part_number": "HO8210",
                  "description": "",
                  "list_price": 110.36,
                  "cost": 62.59,
                  "invoice": 274114
               },
               {
                  "item_quantity": 1,
                  "line_code": "871",
                  "part_number": "HO8211",
                  "description": "",
                  "list_price": 109.3,
                  "cost": 61.99,
                  "invoice": 274114
               },
               {
                  "item_quantity": 1,
                  "line_code": "854",
                  "part_number": "CU2956",
                  "description": "",
                  "list_price": 279.66,
                  "cost": 208.78,
                  "invoice": 274114
               }
            ]
         },
         {
            "invoice_number": "000-274129",
            "invoice_date": "2020-04-06 00:00:00",
            "account_id": "######",
            "location_id": "STN",
            "location_description": "FISHER AUTO PARTS",
            "po_number": "145533",
            "item_count": 1,
            "total_cost": 4.46,
            "link_url": "",
            "invoice_detail": [
               {
                  "item_quantity": 1,
                  "line_code": "657",
                  "part_number": "47021",
                  "description": "",
                  "list_price": 6.22,
                  "cost": 4.46,
                  "invoice": 274129
               }
            ]
         },
         {
            "invoice_number": "000-274135",
            "invoice_date": "2015-04-06 00:00:00",
            "account_id": "######",
            "location_id": "STN",
            "location_description": "FISHER AUTO PARTS",
            "po_number": "145481rc",
            "item_count": 1,
            "total_cost": 44.97,
            "link_url": "",
            "invoice_detail": [
               {
                  "item_quantity": 1,
                  "line_code": "211",
                  "part_number": "SB518514",
                  "description": "",
                  "list_price": 64.84,
                  "cost": 44.97,
                  "invoice": 274135
               }
            ]
         }
      ]
   }
}
Table of Contents