GET api/InvoiceMangmnt/GenerateInvoice?CustID={CustID}&dateFrom={dateFrom}&dateTo={dateTo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CustID

integer

Required

dateFrom

string

Required

dateTo

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Cls_Invoice
NameDescriptionTypeAdditional information
InvoiceID

integer

None.

InvoicePDF

string

None.

InvoiceNo

string

None.

InvoiceDate

date

None.

InvoiceFrom

date

None.

InvoiceTo

date

None.

CustomerBillingAddress

string

None.

CustomerID

integer

None.

DateEntered

date

None.

EnteredBy

integer

None.

UpdationDate

date

None.

UpdatedBy

integer

None.

IsDeleted

boolean

None.

DeletedBy

integer

None.

DeletionDate

date

None.

InvoiceDetail

Cls_InvoiceDetail

None.

InvoiceDetailList

Collection of Cls_InvoiceDetail

None.

CustomerDetail

Cls_Customers

None.

TotalAmount

decimal number

None.

IsPaid

integer

None.

FromTitle

string

None.

FromAddress

string

None.

ToTitle

string

None.

ToAddress

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "InvoiceID": 1,
    "InvoicePDF": "sample string 2",
    "InvoiceNo": "sample string 3",
    "InvoiceDate": "2026-09-17T22:22:33.5512178+02:00",
    "InvoiceFrom": "2026-09-17T22:22:33.5512178+02:00",
    "InvoiceTo": "2026-09-17T22:22:33.5512178+02:00",
    "CustomerBillingAddress": "sample string 7",
    "CustomerID": 8,
    "DateEntered": "2026-09-17T22:22:33.5512178+02:00",
    "EnteredBy": 10,
    "UpdationDate": "2026-09-17T22:22:33.5512178+02:00",
    "UpdatedBy": 12,
    "IsDeleted": true,
    "DeletedBy": 14,
    "DeletionDate": "2026-09-17T22:22:33.5512178+02:00",
    "InvoiceDetail": {
      "InvoiceDetailID": 1,
      "Location": "sample string 2",
      "Tier": "sample string 3",
      "Distance": 4.0,
      "Discount": 5.0,
      "TotalDeliveries": 6,
      "Tax2Rate": 7.0,
      "Rate": 8.0,
      "Amount": 9.0,
      "SubTotal": 10.0,
      "HST": 11.0,
      "Total": 12.0,
      "InvoiceID": 13,
      "DateEntered": "2026-09-17T22:22:33.5512178+02:00",
      "EnteredBy": 15,
      "UpdationDate": "2026-09-17T22:22:33.5512178+02:00",
      "UpdatedBy": 17,
      "IsDeleted": true,
      "DeletedBy": 19,
      "DeletionDate": "2026-09-17T22:22:33.5512178+02:00"
    },
    "InvoiceDetailList": [
      {
        "InvoiceDetailID": 1,
        "Location": "sample string 2",
        "Tier": "sample string 3",
        "Distance": 4.0,
        "Discount": 5.0,
        "TotalDeliveries": 6,
        "Tax2Rate": 7.0,
        "Rate": 8.0,
        "Amount": 9.0,
        "SubTotal": 10.0,
        "HST": 11.0,
        "Total": 12.0,
        "InvoiceID": 13,
        "DateEntered": "2026-09-17T22:22:33.5512178+02:00",
        "EnteredBy": 15,
        "UpdationDate": "2026-09-17T22:22:33.5512178+02:00",
        "UpdatedBy": 17,
        "IsDeleted": true,
        "DeletedBy": 19,
        "DeletionDate": "2026-09-17T22:22:33.5512178+02:00"
      },
      {
        "InvoiceDetailID": 1,
        "Location": "sample string 2",
        "Tier": "sample string 3",
        "Distance": 4.0,
        "Discount": 5.0,
        "TotalDeliveries": 6,
        "Tax2Rate": 7.0,
        "Rate": 8.0,
        "Amount": 9.0,
        "SubTotal": 10.0,
        "HST": 11.0,
        "Total": 12.0,
        "InvoiceID": 13,
        "DateEntered": "2026-09-17T22:22:33.5512178+02:00",
        "EnteredBy": 15,
        "UpdationDate": "2026-09-17T22:22:33.5512178+02:00",
        "UpdatedBy": 17,
        "IsDeleted": true,
        "DeletedBy": 19,
        "DeletionDate": "2026-09-17T22:22:33.5512178+02:00"
      }
    ],
    "CustomerDetail": {
      "CustomerID": 1,
      "CustomerTypeID": 2,
      "FleetManagerID": 3,
      "CustomerName": "sample string 4",
      "ContactID": 5,
      "Details": "sample string 6",
      "DateEntered": "2026-09-17T22:22:33.5522168+02:00",
      "EnteredBy": "sample string 8",
      "UpdationDate": "2026-09-17T22:22:33.5522168+02:00",
      "UpdatedBy": "sample string 10",
      "IsDeleted": true,
      "DeletedBy": "sample string 12",
      "DeletionDate": "2026-09-17T22:22:33.5522168+02:00",
      "AllowDriverTracking": true,
      "ContactDetail": {
        "ContactID": 1,
        "SubDomainID": 2,
        "Company": "sample string 3",
        "ContactType": "sample string 4",
        "FirstName": "sample string 5",
        "LastName": "sample string 6",
        "Address1": "sample string 7",
        "Address2": "sample string 8",
        "City": "sample string 9",
        "StateProvince": "sample string 10",
        "Country": "sample string 11",
        "PostalZip": "sample string 12",
        "Phone1": "sample string 13",
        "Phone2": "sample string 14",
        "Password": "sample string 15",
        "Email": "sample string 16",
        "Website": "sample string 17",
        "Status": "sample string 18",
        "DateEntered": "2026-09-17T22:22:33.5522168+02:00",
        "EnteredBy": 20,
        "UpdationDate": "2026-09-17T22:22:33.5522168+02:00",
        "UpdatedBy": 22,
        "IsDeleted": true,
        "DeletedBy": 24,
        "DeletionDate": "2026-09-17T22:22:33.5522168+02:00",
        "SpecialPermission": true,
        "AuthenticationStatus": "sample string 27",
        "SocialLoginUser": true,
        "RememberMe": true,
        "AccessToken": "sample string 30",
        "SubdomainName": "sample string 31",
        "ProfileImage": "sample string 32",
        "SecurityQuestions": [
          {
            "QuestionID": 1,
            "Question": "sample string 2",
            "AnswerData": {
              "AnswerID": 1,
              "ContactID": 2,
              "QuestionID": 3,
              "Answer": "sample string 4",
              "UserAnswer": "sample string 5"
            }
          },
          {
            "QuestionID": 1,
            "Question": "sample string 2",
            "AnswerData": {
              "AnswerID": 1,
              "ContactID": 2,
              "QuestionID": 3,
              "Answer": "sample string 4",
              "UserAnswer": "sample string 5"
            }
          }
        ],
        "UserLogHistory": {
          "LogID": 1,
          "UserID": 2,
          "LoginDateTime": "2026-09-17T22:22:33.5522168+02:00",
          "LogoutDateTime": "2026-09-17T22:22:33.5522168+02:00",
          "IPAddress": "sample string 5",
          "HostName": "sample string 6",
          "OSVersion": "sample string 7",
          "Agent": "sample string 8",
          "BrowserName": "sample string 9"
        },
        "IsFirstTimeLogin": "sample string 33",
        "SubscriptionStatus": "sample string 34",
        "SubscriptionDate": "2026-09-17T22:22:33.5522168+02:00"
      },
      "CuttOffTimeDetail": {
        "CutoffTimeID": 1,
        "CustomerID": 2,
        "CutOffTime": "sample string 3",
        "DriverID": 4,
        "DriverName": "sample string 5"
      },
      "FleetManagerDetail": {
        "FleetManagerID": 1,
        "Details": "sample string 2",
        "ContactID": 3,
        "AlertTypeID": 4,
        "EmailNotification": true,
        "CompanyLogo": "sample string 6",
        "DateEntered": "2026-09-17T22:22:33.5522168+02:00",
        "EnteredBy": 8,
        "UpdatedOn": "2026-09-17T22:22:33.5522168+02:00",
        "UpdatedBy": 10,
        "IsDeleted": true,
        "DeletedBy": 12,
        "DeletionDate": "2026-09-17T22:22:33.5522168+02:00",
        "ContactDetail": {
          "ContactID": 1,
          "SubDomainID": 2,
          "Company": "sample string 3",
          "ContactType": "sample string 4",
          "FirstName": "sample string 5",
          "LastName": "sample string 6",
          "Address1": "sample string 7",
          "Address2": "sample string 8",
          "City": "sample string 9",
          "StateProvince": "sample string 10",
          "Country": "sample string 11",
          "PostalZip": "sample string 12",
          "Phone1": "sample string 13",
          "Phone2": "sample string 14",
          "Password": "sample string 15",
          "Email": "sample string 16",
          "Website": "sample string 17",
          "Status": "sample string 18",
          "DateEntered": "2026-09-17T22:22:33.5522168+02:00",
          "EnteredBy": 20,
          "UpdationDate": "2026-09-17T22:22:33.5522168+02:00",
          "UpdatedBy": 22,
          "IsDeleted": true,
          "DeletedBy": 24,
          "DeletionDate": "2026-09-17T22:22:33.5522168+02:00",
          "SpecialPermission": true,
          "AuthenticationStatus": "sample string 27",
          "SocialLoginUser": true,
          "RememberMe": true,
          "AccessToken": "sample string 30",
          "SubdomainName": "sample string 31",
          "ProfileImage": "sample string 32",
          "SecurityQuestions": [
            {
              "QuestionID": 1,
              "Question": "sample string 2",
              "AnswerData": {
                "AnswerID": 1,
                "ContactID": 2,
                "QuestionID": 3,
                "Answer": "sample string 4",
                "UserAnswer": "sample string 5"
              }
            },
            {
              "QuestionID": 1,
              "Question": "sample string 2",
              "AnswerData": {
                "AnswerID": 1,
                "ContactID": 2,
                "QuestionID": 3,
                "Answer": "sample string 4",
                "UserAnswer": "sample string 5"
              }
            }
          ],
          "UserLogHistory": {
            "LogID": 1,
            "UserID": 2,
            "LoginDateTime": "2026-09-17T22:22:33.5522168+02:00",
            "LogoutDateTime": "2026-09-17T22:22:33.5522168+02:00",
            "IPAddress": "sample string 5",
            "HostName": "sample string 6",
            "OSVersion": "sample string 7",
            "Agent": "sample string 8",
            "BrowserName": "sample string 9"
          },
          "IsFirstTimeLogin": "sample string 33",
          "SubscriptionStatus": "sample string 34",
          "SubscriptionDate": "2026-09-17T22:22:33.5522168+02:00"
        },
        "AlertTypeDetail": {
          "AlertTypeID": 1,
          "AlertType": "sample string 2"
        }
      },
      "CustomerTypeDetail": {
        "CustomerTypeID": 1,
        "CustomerType": 2,
        "DateEntered": "2026-09-17T22:22:33.5522168+02:00",
        "EnteredBy": 4,
        "UpdationDate": "2026-09-17T22:22:33.5522168+02:00",
        "UpdatedBy": 6,
        "IsDeleted": true,
        "DeletedBy": 8,
        "DeletionDate": "2026-09-17T22:22:33.5522168+02:00"
      }
    },
    "TotalAmount": 16.0,
    "IsPaid": 17,
    "FromTitle": "sample string 18",
    "FromAddress": "sample string 19",
    "ToTitle": "sample string 20",
    "ToAddress": "sample string 21"
  },
  {
    "InvoiceID": 1,
    "InvoicePDF": "sample string 2",
    "InvoiceNo": "sample string 3",
    "InvoiceDate": "2026-09-17T22:22:33.5512178+02:00",
    "InvoiceFrom": "2026-09-17T22:22:33.5512178+02:00",
    "InvoiceTo": "2026-09-17T22:22:33.5512178+02:00",
    "CustomerBillingAddress": "sample string 7",
    "CustomerID": 8,
    "DateEntered": "2026-09-17T22:22:33.5512178+02:00",
    "EnteredBy": 10,
    "UpdationDate": "2026-09-17T22:22:33.5512178+02:00",
    "UpdatedBy": 12,
    "IsDeleted": true,
    "DeletedBy": 14,
    "DeletionDate": "2026-09-17T22:22:33.5512178+02:00",
    "InvoiceDetail": {
      "InvoiceDetailID": 1,
      "Location": "sample string 2",
      "Tier": "sample string 3",
      "Distance": 4.0,
      "Discount": 5.0,
      "TotalDeliveries": 6,
      "Tax2Rate": 7.0,
      "Rate": 8.0,
      "Amount": 9.0,
      "SubTotal": 10.0,
      "HST": 11.0,
      "Total": 12.0,
      "InvoiceID": 13,
      "DateEntered": "2026-09-17T22:22:33.5512178+02:00",
      "EnteredBy": 15,
      "UpdationDate": "2026-09-17T22:22:33.5512178+02:00",
      "UpdatedBy": 17,
      "IsDeleted": true,
      "DeletedBy": 19,
      "DeletionDate": "2026-09-17T22:22:33.5512178+02:00"
    },
    "InvoiceDetailList": [
      {
        "InvoiceDetailID": 1,
        "Location": "sample string 2",
        "Tier": "sample string 3",
        "Distance": 4.0,
        "Discount": 5.0,
        "TotalDeliveries": 6,
        "Tax2Rate": 7.0,
        "Rate": 8.0,
        "Amount": 9.0,
        "SubTotal": 10.0,
        "HST": 11.0,
        "Total": 12.0,
        "InvoiceID": 13,
        "DateEntered": "2026-09-17T22:22:33.5512178+02:00",
        "EnteredBy": 15,
        "UpdationDate": "2026-09-17T22:22:33.5512178+02:00",
        "UpdatedBy": 17,
        "IsDeleted": true,
        "DeletedBy": 19,
        "DeletionDate": "2026-09-17T22:22:33.5512178+02:00"
      },
      {
        "InvoiceDetailID": 1,
        "Location": "sample string 2",
        "Tier": "sample string 3",
        "Distance": 4.0,
        "Discount": 5.0,
        "TotalDeliveries": 6,
        "Tax2Rate": 7.0,
        "Rate": 8.0,
        "Amount": 9.0,
        "SubTotal": 10.0,
        "HST": 11.0,
        "Total": 12.0,
        "InvoiceID": 13,
        "DateEntered": "2026-09-17T22:22:33.5512178+02:00",
        "EnteredBy": 15,
        "UpdationDate": "2026-09-17T22:22:33.5512178+02:00",
        "UpdatedBy": 17,
        "IsDeleted": true,
        "DeletedBy": 19,
        "DeletionDate": "2026-09-17T22:22:33.5512178+02:00"
      }
    ],
    "CustomerDetail": {
      "CustomerID": 1,
      "CustomerTypeID": 2,
      "FleetManagerID": 3,
      "CustomerName": "sample string 4",
      "ContactID": 5,
      "Details": "sample string 6",
      "DateEntered": "2026-09-17T22:22:33.5522168+02:00",
      "EnteredBy": "sample string 8",
      "UpdationDate": "2026-09-17T22:22:33.5522168+02:00",
      "UpdatedBy": "sample string 10",
      "IsDeleted": true,
      "DeletedBy": "sample string 12",
      "DeletionDate": "2026-09-17T22:22:33.5522168+02:00",
      "AllowDriverTracking": true,
      "ContactDetail": {
        "ContactID": 1,
        "SubDomainID": 2,
        "Company": "sample string 3",
        "ContactType": "sample string 4",
        "FirstName": "sample string 5",
        "LastName": "sample string 6",
        "Address1": "sample string 7",
        "Address2": "sample string 8",
        "City": "sample string 9",
        "StateProvince": "sample string 10",
        "Country": "sample string 11",
        "PostalZip": "sample string 12",
        "Phone1": "sample string 13",
        "Phone2": "sample string 14",
        "Password": "sample string 15",
        "Email": "sample string 16",
        "Website": "sample string 17",
        "Status": "sample string 18",
        "DateEntered": "2026-09-17T22:22:33.5522168+02:00",
        "EnteredBy": 20,
        "UpdationDate": "2026-09-17T22:22:33.5522168+02:00",
        "UpdatedBy": 22,
        "IsDeleted": true,
        "DeletedBy": 24,
        "DeletionDate": "2026-09-17T22:22:33.5522168+02:00",
        "SpecialPermission": true,
        "AuthenticationStatus": "sample string 27",
        "SocialLoginUser": true,
        "RememberMe": true,
        "AccessToken": "sample string 30",
        "SubdomainName": "sample string 31",
        "ProfileImage": "sample string 32",
        "SecurityQuestions": [
          {
            "QuestionID": 1,
            "Question": "sample string 2",
            "AnswerData": {
              "AnswerID": 1,
              "ContactID": 2,
              "QuestionID": 3,
              "Answer": "sample string 4",
              "UserAnswer": "sample string 5"
            }
          },
          {
            "QuestionID": 1,
            "Question": "sample string 2",
            "AnswerData": {
              "AnswerID": 1,
              "ContactID": 2,
              "QuestionID": 3,
              "Answer": "sample string 4",
              "UserAnswer": "sample string 5"
            }
          }
        ],
        "UserLogHistory": {
          "LogID": 1,
          "UserID": 2,
          "LoginDateTime": "2026-09-17T22:22:33.5522168+02:00",
          "LogoutDateTime": "2026-09-17T22:22:33.5522168+02:00",
          "IPAddress": "sample string 5",
          "HostName": "sample string 6",
          "OSVersion": "sample string 7",
          "Agent": "sample string 8",
          "BrowserName": "sample string 9"
        },
        "IsFirstTimeLogin": "sample string 33",
        "SubscriptionStatus": "sample string 34",
        "SubscriptionDate": "2026-09-17T22:22:33.5522168+02:00"
      },
      "CuttOffTimeDetail": {
        "CutoffTimeID": 1,
        "CustomerID": 2,
        "CutOffTime": "sample string 3",
        "DriverID": 4,
        "DriverName": "sample string 5"
      },
      "FleetManagerDetail": {
        "FleetManagerID": 1,
        "Details": "sample string 2",
        "ContactID": 3,
        "AlertTypeID": 4,
        "EmailNotification": true,
        "CompanyLogo": "sample string 6",
        "DateEntered": "2026-09-17T22:22:33.5522168+02:00",
        "EnteredBy": 8,
        "UpdatedOn": "2026-09-17T22:22:33.5522168+02:00",
        "UpdatedBy": 10,
        "IsDeleted": true,
        "DeletedBy": 12,
        "DeletionDate": "2026-09-17T22:22:33.5522168+02:00",
        "ContactDetail": {
          "ContactID": 1,
          "SubDomainID": 2,
          "Company": "sample string 3",
          "ContactType": "sample string 4",
          "FirstName": "sample string 5",
          "LastName": "sample string 6",
          "Address1": "sample string 7",
          "Address2": "sample string 8",
          "City": "sample string 9",
          "StateProvince": "sample string 10",
          "Country": "sample string 11",
          "PostalZip": "sample string 12",
          "Phone1": "sample string 13",
          "Phone2": "sample string 14",
          "Password": "sample string 15",
          "Email": "sample string 16",
          "Website": "sample string 17",
          "Status": "sample string 18",
          "DateEntered": "2026-09-17T22:22:33.5522168+02:00",
          "EnteredBy": 20,
          "UpdationDate": "2026-09-17T22:22:33.5522168+02:00",
          "UpdatedBy": 22,
          "IsDeleted": true,
          "DeletedBy": 24,
          "DeletionDate": "2026-09-17T22:22:33.5522168+02:00",
          "SpecialPermission": true,
          "AuthenticationStatus": "sample string 27",
          "SocialLoginUser": true,
          "RememberMe": true,
          "AccessToken": "sample string 30",
          "SubdomainName": "sample string 31",
          "ProfileImage": "sample string 32",
          "SecurityQuestions": [
            {
              "QuestionID": 1,
              "Question": "sample string 2",
              "AnswerData": {
                "AnswerID": 1,
                "ContactID": 2,
                "QuestionID": 3,
                "Answer": "sample string 4",
                "UserAnswer": "sample string 5"
              }
            },
            {
              "QuestionID": 1,
              "Question": "sample string 2",
              "AnswerData": {
                "AnswerID": 1,
                "ContactID": 2,
                "QuestionID": 3,
                "Answer": "sample string 4",
                "UserAnswer": "sample string 5"
              }
            }
          ],
          "UserLogHistory": {
            "LogID": 1,
            "UserID": 2,
            "LoginDateTime": "2026-09-17T22:22:33.5522168+02:00",
            "LogoutDateTime": "2026-09-17T22:22:33.5522168+02:00",
            "IPAddress": "sample string 5",
            "HostName": "sample string 6",
            "OSVersion": "sample string 7",
            "Agent": "sample string 8",
            "BrowserName": "sample string 9"
          },
          "IsFirstTimeLogin": "sample string 33",
          "SubscriptionStatus": "sample string 34",
          "SubscriptionDate": "2026-09-17T22:22:33.5522168+02:00"
        },
        "AlertTypeDetail": {
          "AlertTypeID": 1,
          "AlertType": "sample string 2"
        }
      },
      "CustomerTypeDetail": {
        "CustomerTypeID": 1,
        "CustomerType": 2,
        "DateEntered": "2026-09-17T22:22:33.5522168+02:00",
        "EnteredBy": 4,
        "UpdationDate": "2026-09-17T22:22:33.5522168+02:00",
        "UpdatedBy": 6,
        "IsDeleted": true,
        "DeletedBy": 8,
        "DeletionDate": "2026-09-17T22:22:33.5522168+02:00"
      }
    },
    "TotalAmount": 16.0,
    "IsPaid": 17,
    "FromTitle": "sample string 18",
    "FromAddress": "sample string 19",
    "ToTitle": "sample string 20",
    "ToAddress": "sample string 21"
  }
]