SRS Integration Partner Services
HomeV1 APIsV2 APIs
HomeV1 APIsV2 APIs
  1. Invoices
  • Authentication
    • Token
      POST
  • Orders
    • Delivery Details
      GET
    • Deliveries list
      POST
    • Proof of Delivery
      GET
    • Order Details
      GET
    • Order list
      POST
    • Submit Order
      POST
  • Invoices
    • Invoice Details
      GET
    • Invoices List
      POST
    • Invoice PDF
      GET
  • Customers
    • Customer Details
      GET
    • Validate Customer
      GET
    • Nearest Eligible Branch
      GET
    • Ship to Address
      GET
    • Order Templates
      GET
  • Products
    • Pricing
      POST
  • Branches
    • Branch Details
      GET
    • Branch Active Items
      GET
  1. Invoices

Invoices List

POST
/invoices/list
Provides a list in invoices and information.

Request

Header Params

Body Params application/json

Example
{
  "branchCode": "WSGRA",
  "customerCode": "DEMO001",
  "shipToSequenceNumber": "1",
  "startInvoiceDate": "2020-04-22",
  "endInvoiceDate": "2024-06-11",
  "orderNumber": 16627333,
  "rowReturnLimit": 100
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://services-qa.roofhub.pro/invoices/list' \
--header 'Authorization: Bearer' \
--header 'Content-Type: application/json' \
--data-raw '{
  "branchCode": "WSGRA",
  "customerCode": "DEMO001",
  "shipToSequenceNumber": "1",
  "startInvoiceDate": "2020-04-22",
  "endInvoiceDate": "2024-06-11",
  "orderNumber": 16627333,
  "rowReturnLimit": 100
}'

Responses

🟢200Invoices List without customer code
application/json
Body

Example
{
    "invoiceList": [
        {
            "invoiceNumber": "0019073403-001",
            "orderNumber": 19073403,
            "shipmentNumber": 1,
            "customerCode": "DEMO001",
            "invoiceDate": "2020-09-22T00:00:00",
            "invoiceSubTotal": 3133.99,
            "invoiceCharges": 30,
            "invoiceTax": 189.84,
            "invoiceTotal": 3353.83,
            "paymentStatus": "Paid",
            "PONumber": "11792",
            "salesTypeCode": "WHSE",
            "SOTypeCode": "SO",
            "jobNumber": "513",
            "shipToAddress1": "7440 State Hwy 121",
            "shipToAddress2": "",
            "shipToAddress3": "",
            "shipToCityStateZip": "McKinney, TX 75070",
            "billToAddress1": "7440 State Hwy 121",
            "billToAddress2": "",
            "billToAddress3": "",
            "billToCityStateZip": "McKinney, TX 75070",
            "notes": " ",
            "dueDate": "2020-10-30T00:00:00",
            "overDue": "No",
            "branchLogo": "https://media.srsdistribution.com/Uploads/BrandsByID/37.png",
            "branchCode": "WSGRA",
            "branchName": "WILLOUGHBY SUPPLY - GRAND RAPIDS",
            "branchAddress": "7440 State Hwy 121",
            "branchCityStateZip": "McKinney, TX 75070",
            "branchFax": "555-555-5555",
            "branchPhone": "555-555-5555"
        }
    ]
}
Modified at 2025-09-25 13:20:33
Previous
Invoice Details
Next
Invoice PDF
Built with