GET api/CustomerDetails/GetPendingInvoice?APiToken={APiToken}&CustomerID={CustomerID}&PageNumber={PageNumber}&PageSize={PageSize}

Api to get Pending Invoice

Request Information

URI Parameters

NameDescriptionTypeAdditional information
APiToken

string

None.

CustomerID

integer

None.

PageNumber

integer

None.

PageSize

integer

None.

Body Parameters

None.

Response Information

Resource Description

CustomerPendingInvoiceDataModel
NameDescriptionTypeAdditional information
PendingInvoice

Collection of PendingInvoiceDM

None.

ReturnID

integer

Required

Message

string

Required

Successful

boolean

Required

Code

integer

None.

TotalRecord

integer

None.

Response Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "pendingInvoice": [
    {
      "invoiceID": 1,
      "invoiceNo": "sample string 2",
      "workOrderNo": "sample string 3",
      "invoiceTitle": "sample string 4",
      "description": "sample string 5",
      "invoiceDate": "sample string 6",
      "dueDate": "2025-07-17T05:26:44.0191138+00:00",
      "currencyID": 7,
      "currencyName": "sample string 8",
      "conversionFactor": 9.0,
      "customerID": 10,
      "customerName": "sample string 11",
      "companyName": "sample string 12",
      "address1": "sample string 13",
      "address2": "sample string 14",
      "address3": "sample string 15",
      "isShowCompanyLogo": true,
      "isUseCompanyAddress": true,
      "partsCostNetTotalAmount": 18.0,
      "miscCostTotalAmount": 19.0,
      "loborCostTotalAmount": 20.0,
      "netTotalAmount": 21.0,
      "isActive": 22,
      "isDeleted": 23,
      "addedBy": 24,
      "addedDate": "sample string 25",
      "locationID": 26,
      "departmentID": 27,
      "departmentCode": "sample string 28",
      "locationName": "sample string 29",
      "sageDocNo": "sample string 30",
      "isPaid": 31,
      "paidAmount": 32.0,
      "remainingAmount": 33.0,
      "totalRecord": 34,
      "quotationNo": "sample string 35",
      "quotationID": 36,
      "firstName": "sample string 37",
      "lastName": "sample string 38",
      "emailID": "sample string 39",
      "phoneCode": "sample string 40",
      "phoneNo": "sample string 41",
      "customerCompanyName": "sample string 42",
      "statusID": 43,
      "statusName": "sample string 44",
      "isReconcile": true,
      "autoServiceMasterID": 46,
      "addedByName": "sample string 47",
      "bestelldatum_OrderDate": "2025-07-17T05:26:44.0191138+00:00",
      "liefertermin_DeliveryDate": "2025-07-17T05:26:44.0191138+00:00",
      "lastPaymentMethod": "sample string 48",
      "totalPaidAmount": 49.0,
      "parentStatusID": 50,
      "parentStatusName": "sample string 51"
    },
    {
      "invoiceID": 1,
      "invoiceNo": "sample string 2",
      "workOrderNo": "sample string 3",
      "invoiceTitle": "sample string 4",
      "description": "sample string 5",
      "invoiceDate": "sample string 6",
      "dueDate": "2025-07-17T05:26:44.0191138+00:00",
      "currencyID": 7,
      "currencyName": "sample string 8",
      "conversionFactor": 9.0,
      "customerID": 10,
      "customerName": "sample string 11",
      "companyName": "sample string 12",
      "address1": "sample string 13",
      "address2": "sample string 14",
      "address3": "sample string 15",
      "isShowCompanyLogo": true,
      "isUseCompanyAddress": true,
      "partsCostNetTotalAmount": 18.0,
      "miscCostTotalAmount": 19.0,
      "loborCostTotalAmount": 20.0,
      "netTotalAmount": 21.0,
      "isActive": 22,
      "isDeleted": 23,
      "addedBy": 24,
      "addedDate": "sample string 25",
      "locationID": 26,
      "departmentID": 27,
      "departmentCode": "sample string 28",
      "locationName": "sample string 29",
      "sageDocNo": "sample string 30",
      "isPaid": 31,
      "paidAmount": 32.0,
      "remainingAmount": 33.0,
      "totalRecord": 34,
      "quotationNo": "sample string 35",
      "quotationID": 36,
      "firstName": "sample string 37",
      "lastName": "sample string 38",
      "emailID": "sample string 39",
      "phoneCode": "sample string 40",
      "phoneNo": "sample string 41",
      "customerCompanyName": "sample string 42",
      "statusID": 43,
      "statusName": "sample string 44",
      "isReconcile": true,
      "autoServiceMasterID": 46,
      "addedByName": "sample string 47",
      "bestelldatum_OrderDate": "2025-07-17T05:26:44.0191138+00:00",
      "liefertermin_DeliveryDate": "2025-07-17T05:26:44.0191138+00:00",
      "lastPaymentMethod": "sample string 48",
      "totalPaidAmount": 49.0,
      "parentStatusID": 50,
      "parentStatusName": "sample string 51"
    }
  ],
  "returnID": 1,
  "message": "sample string 2",
  "successful": true,
  "code": 4,
  "totalRecord": 5
}

application/xml, text/xml

Sample:
<CustomerPendingInvoiceDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel">
  <Code xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">4</Code>
  <Message xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">sample string 2</Message>
  <ReturnID xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">1</ReturnID>
  <Successful xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">true</Successful>
  <TotalRecord xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">5</TotalRecord>
  <PendingInvoice>
    <PendingInvoiceDM>
      <AddedBy>24</AddedBy>
      <AddedByName>sample string 47</AddedByName>
      <AddedDate>sample string 25</AddedDate>
      <Address1>sample string 13</Address1>
      <Address2>sample string 14</Address2>
      <Address3>sample string 15</Address3>
      <AutoServiceMasterID>46</AutoServiceMasterID>
      <Bestelldatum_OrderDate>2025-07-17T05:26:44.0191138+00:00</Bestelldatum_OrderDate>
      <CompanyName>sample string 12</CompanyName>
      <ConversionFactor>9</ConversionFactor>
      <CurrencyID>7</CurrencyID>
      <CurrencyName>sample string 8</CurrencyName>
      <CustomerCompanyName>sample string 42</CustomerCompanyName>
      <CustomerID>10</CustomerID>
      <CustomerName>sample string 11</CustomerName>
      <DepartmentCode>sample string 28</DepartmentCode>
      <DepartmentID>27</DepartmentID>
      <Description>sample string 5</Description>
      <DueDate>2025-07-17T05:26:44.0191138+00:00</DueDate>
      <EmailID>sample string 39</EmailID>
      <FirstName>sample string 37</FirstName>
      <InvoiceDate>sample string 6</InvoiceDate>
      <InvoiceID>1</InvoiceID>
      <InvoiceNo>sample string 2</InvoiceNo>
      <InvoiceTitle>sample string 4</InvoiceTitle>
      <IsActive>22</IsActive>
      <IsDeleted>23</IsDeleted>
      <IsPaid>31</IsPaid>
      <IsReconcile>true</IsReconcile>
      <IsShowCompanyLogo>true</IsShowCompanyLogo>
      <IsUseCompanyAddress>true</IsUseCompanyAddress>
      <LastName>sample string 38</LastName>
      <LastPaymentMethod>sample string 48</LastPaymentMethod>
      <Liefertermin_DeliveryDate>2025-07-17T05:26:44.0191138+00:00</Liefertermin_DeliveryDate>
      <LoborCostTotalAmount>20</LoborCostTotalAmount>
      <LocationID>26</LocationID>
      <LocationName>sample string 29</LocationName>
      <MiscCostTotalAmount>19</MiscCostTotalAmount>
      <NetTotalAmount>21</NetTotalAmount>
      <PaidAmount>32</PaidAmount>
      <ParentStatusID>50</ParentStatusID>
      <ParentStatusName>sample string 51</ParentStatusName>
      <PartsCostNetTotalAmount>18</PartsCostNetTotalAmount>
      <PhoneCode>sample string 40</PhoneCode>
      <PhoneNo>sample string 41</PhoneNo>
      <QuotationID>36</QuotationID>
      <QuotationNo>sample string 35</QuotationNo>
      <RemainingAmount>33</RemainingAmount>
      <SageDocNo>sample string 30</SageDocNo>
      <StatusID>43</StatusID>
      <StatusName>sample string 44</StatusName>
      <TotalPaidAmount>49</TotalPaidAmount>
      <TotalRecord>34</TotalRecord>
      <WorkOrderNo>sample string 3</WorkOrderNo>
    </PendingInvoiceDM>
    <PendingInvoiceDM>
      <AddedBy>24</AddedBy>
      <AddedByName>sample string 47</AddedByName>
      <AddedDate>sample string 25</AddedDate>
      <Address1>sample string 13</Address1>
      <Address2>sample string 14</Address2>
      <Address3>sample string 15</Address3>
      <AutoServiceMasterID>46</AutoServiceMasterID>
      <Bestelldatum_OrderDate>2025-07-17T05:26:44.0191138+00:00</Bestelldatum_OrderDate>
      <CompanyName>sample string 12</CompanyName>
      <ConversionFactor>9</ConversionFactor>
      <CurrencyID>7</CurrencyID>
      <CurrencyName>sample string 8</CurrencyName>
      <CustomerCompanyName>sample string 42</CustomerCompanyName>
      <CustomerID>10</CustomerID>
      <CustomerName>sample string 11</CustomerName>
      <DepartmentCode>sample string 28</DepartmentCode>
      <DepartmentID>27</DepartmentID>
      <Description>sample string 5</Description>
      <DueDate>2025-07-17T05:26:44.0191138+00:00</DueDate>
      <EmailID>sample string 39</EmailID>
      <FirstName>sample string 37</FirstName>
      <InvoiceDate>sample string 6</InvoiceDate>
      <InvoiceID>1</InvoiceID>
      <InvoiceNo>sample string 2</InvoiceNo>
      <InvoiceTitle>sample string 4</InvoiceTitle>
      <IsActive>22</IsActive>
      <IsDeleted>23</IsDeleted>
      <IsPaid>31</IsPaid>
      <IsReconcile>true</IsReconcile>
      <IsShowCompanyLogo>true</IsShowCompanyLogo>
      <IsUseCompanyAddress>true</IsUseCompanyAddress>
      <LastName>sample string 38</LastName>
      <LastPaymentMethod>sample string 48</LastPaymentMethod>
      <Liefertermin_DeliveryDate>2025-07-17T05:26:44.0191138+00:00</Liefertermin_DeliveryDate>
      <LoborCostTotalAmount>20</LoborCostTotalAmount>
      <LocationID>26</LocationID>
      <LocationName>sample string 29</LocationName>
      <MiscCostTotalAmount>19</MiscCostTotalAmount>
      <NetTotalAmount>21</NetTotalAmount>
      <PaidAmount>32</PaidAmount>
      <ParentStatusID>50</ParentStatusID>
      <ParentStatusName>sample string 51</ParentStatusName>
      <PartsCostNetTotalAmount>18</PartsCostNetTotalAmount>
      <PhoneCode>sample string 40</PhoneCode>
      <PhoneNo>sample string 41</PhoneNo>
      <QuotationID>36</QuotationID>
      <QuotationNo>sample string 35</QuotationNo>
      <RemainingAmount>33</RemainingAmount>
      <SageDocNo>sample string 30</SageDocNo>
      <StatusID>43</StatusID>
      <StatusName>sample string 44</StatusName>
      <TotalPaidAmount>49</TotalPaidAmount>
      <TotalRecord>34</TotalRecord>
      <WorkOrderNo>sample string 3</WorkOrderNo>
    </PendingInvoiceDM>
  </PendingInvoice>
</CustomerPendingInvoiceDataModel>

multipart/form-data

Sample:
<CustomerPendingInvoiceDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"><Code xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">4</Code><Message xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">sample string 2</Message><ReturnID xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">1</ReturnID><Successful xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">true</Successful><TotalRecord xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">5</TotalRecord><PendingInvoice><PendingInvoiceDM><AddedBy>24</AddedBy><AddedByName>sample string 47</AddedByName><AddedDate>sample string 25</AddedDate><Address1>sample string 13</Address1><Address2>sample string 14</Address2><Address3>sample string 15</Address3><AutoServiceMasterID>46</AutoServiceMasterID><Bestelldatum_OrderDate>2025-07-17T05:26:44.0191138+00:00</Bestelldatum_OrderDate><CompanyName>sample string 12</CompanyName><ConversionFactor>9</ConversionFactor><CurrencyID>7</CurrencyID><CurrencyName>sample string 8</CurrencyName><CustomerCompanyName>sample string 42</CustomerCompanyName><CustomerID>10</CustomerID><CustomerName>sample string 11</CustomerName><DepartmentCode>sample string 28</DepartmentCode><DepartmentID>27</DepartmentID><Description>sample string 5</Description><DueDate>2025-07-17T05:26:44.0191138+00:00</DueDate><EmailID>sample string 39</EmailID><FirstName>sample string 37</FirstName><InvoiceDate>sample string 6</InvoiceDate><InvoiceID>1</InvoiceID><InvoiceNo>sample string 2</InvoiceNo><InvoiceTitle>sample string 4</InvoiceTitle><IsActive>22</IsActive><IsDeleted>23</IsDeleted><IsPaid>31</IsPaid><IsReconcile>true</IsReconcile><IsShowCompanyLogo>true</IsShowCompanyLogo><IsUseCompanyAddress>true</IsUseCompanyAddress><LastName>sample string 38</LastName><LastPaymentMethod>sample string 48</LastPaymentMethod><Liefertermin_DeliveryDate>2025-07-17T05:26:44.0191138+00:00</Liefertermin_DeliveryDate><LoborCostTotalAmount>20</LoborCostTotalAmount><LocationID>26</LocationID><LocationName>sample string 29</LocationName><MiscCostTotalAmount>19</MiscCostTotalAmount><NetTotalAmount>21</NetTotalAmount><PaidAmount>32</PaidAmount><ParentStatusID>50</ParentStatusID><ParentStatusName>sample string 51</ParentStatusName><PartsCostNetTotalAmount>18</PartsCostNetTotalAmount><PhoneCode>sample string 40</PhoneCode><PhoneNo>sample string 41</PhoneNo><QuotationID>36</QuotationID><QuotationNo>sample string 35</QuotationNo><RemainingAmount>33</RemainingAmount><SageDocNo>sample string 30</SageDocNo><StatusID>43</StatusID><StatusName>sample string 44</StatusName><TotalPaidAmount>49</TotalPaidAmount><TotalRecord>34</TotalRecord><WorkOrderNo>sample string 3</WorkOrderNo></PendingInvoiceDM><PendingInvoiceDM><AddedBy>24</AddedBy><AddedByName>sample string 47</AddedByName><AddedDate>sample string 25</AddedDate><Address1>sample string 13</Address1><Address2>sample string 14</Address2><Address3>sample string 15</Address3><AutoServiceMasterID>46</AutoServiceMasterID><Bestelldatum_OrderDate>2025-07-17T05:26:44.0191138+00:00</Bestelldatum_OrderDate><CompanyName>sample string 12</CompanyName><ConversionFactor>9</ConversionFactor><CurrencyID>7</CurrencyID><CurrencyName>sample string 8</CurrencyName><CustomerCompanyName>sample string 42</CustomerCompanyName><CustomerID>10</CustomerID><CustomerName>sample string 11</CustomerName><DepartmentCode>sample string 28</DepartmentCode><DepartmentID>27</DepartmentID><Description>sample string 5</Description><DueDate>2025-07-17T05:26:44.0191138+00:00</DueDate><EmailID>sample string 39</EmailID><FirstName>sample string 37</FirstName><InvoiceDate>sample string 6</InvoiceDate><InvoiceID>1</InvoiceID><InvoiceNo>sample string 2</InvoiceNo><InvoiceTitle>sample string 4</InvoiceTitle><IsActive>22</IsActive><IsDeleted>23</IsDeleted><IsPaid>31</IsPaid><IsReconcile>true</IsReconcile><IsShowCompanyLogo>true</IsShowCompanyLogo><IsUseCompanyAddress>true</IsUseCompanyAddress><LastName>sample string 38</LastName><LastPaymentMethod>sample string 48</LastPaymentMethod><Liefertermin_DeliveryDate>2025-07-17T05:26:44.0191138+00:00</Liefertermin_DeliveryDate><LoborCostTotalAmount>20</LoborCostTotalAmount><LocationID>26</LocationID><LocationName>sample string 29</LocationName><MiscCostTotalAmount>19</MiscCostTotalAmount><NetTotalAmount>21</NetTotalAmount><PaidAmount>32</PaidAmount><ParentStatusID>50</ParentStatusID><ParentStatusName>sample string 51</ParentStatusName><PartsCostNetTotalAmount>18</PartsCostNetTotalAmount><PhoneCode>sample string 40</PhoneCode><PhoneNo>sample string 41</PhoneNo><QuotationID>36</QuotationID><QuotationNo>sample string 35</QuotationNo><RemainingAmount>33</RemainingAmount><SageDocNo>sample string 30</SageDocNo><StatusID>43</StatusID><StatusName>sample string 44</StatusName><TotalPaidAmount>49</TotalPaidAmount><TotalRecord>34</TotalRecord><WorkOrderNo>sample string 3</WorkOrderNo></PendingInvoiceDM></PendingInvoice></CustomerPendingInvoiceDataModel>