GET api/GetInvoicePayments?jobID={jobID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
jobID

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of v_MYOBLog_RPayment
NameDescriptionTypeAdditional information
ID

integer

None.

JobID

integer

None.

ClaimPaymentID

integer

None.

PaymentID

string

None.

ClientName

string

None.

ReceiptDate

date

None.

InvNo

string

None.

InvDate

date

None.

AmountApplied

decimal number

None.

Memo

string

None.

ImportFlag

boolean

None.

MYOBDivision

integer

None.

InternalCompanyID

integer

None.

InternalAccountNumber

string

None.

IsGSTIncluded

boolean

None.

PayToAccountNumber

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "JobID": 1,
    "ClaimPaymentID": 1,
    "PaymentID": "sample string 1",
    "ClientName": "sample string 2",
    "ReceiptDate": "2025-04-04T12:55:57.8091742+10:00",
    "InvNo": "sample string 3",
    "InvDate": "2025-04-04T12:55:57.8091742+10:00",
    "AmountApplied": 1.0,
    "Memo": "sample string 4",
    "ImportFlag": true,
    "MYOBDivision": 1,
    "InternalCompanyID": 1,
    "InternalAccountNumber": "sample string 5",
    "IsGSTIncluded": true,
    "PayToAccountNumber": "sample string 6"
  },
  {
    "ID": 1,
    "JobID": 1,
    "ClaimPaymentID": 1,
    "PaymentID": "sample string 1",
    "ClientName": "sample string 2",
    "ReceiptDate": "2025-04-04T12:55:57.8091742+10:00",
    "InvNo": "sample string 3",
    "InvDate": "2025-04-04T12:55:57.8091742+10:00",
    "AmountApplied": 1.0,
    "Memo": "sample string 4",
    "ImportFlag": true,
    "MYOBDivision": 1,
    "InternalCompanyID": 1,
    "InternalAccountNumber": "sample string 5",
    "IsGSTIncluded": true,
    "PayToAccountNumber": "sample string 6"
  }
]

text/html

Sample:
[{"ID":1,"JobID":1,"ClaimPaymentID":1,"PaymentID":"sample string 1","ClientName":"sample string 2","ReceiptDate":"2025-04-04T12:55:57.8091742+10:00","InvNo":"sample string 3","InvDate":"2025-04-04T12:55:57.8091742+10:00","AmountApplied":1.0,"Memo":"sample string 4","ImportFlag":true,"MYOBDivision":1,"InternalCompanyID":1,"InternalAccountNumber":"sample string 5","IsGSTIncluded":true,"PayToAccountNumber":"sample string 6"},{"ID":1,"JobID":1,"ClaimPaymentID":1,"PaymentID":"sample string 1","ClientName":"sample string 2","ReceiptDate":"2025-04-04T12:55:57.8091742+10:00","InvNo":"sample string 3","InvDate":"2025-04-04T12:55:57.8091742+10:00","AmountApplied":1.0,"Memo":"sample string 4","ImportFlag":true,"MYOBDivision":1,"InternalCompanyID":1,"InternalAccountNumber":"sample string 5","IsGSTIncluded":true,"PayToAccountNumber":"sample string 6"}]

application/xml, text/xml

Sample:
<ArrayOfv_MYOBLog_RPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iHubLibrary.DB.Models">
  <v_MYOBLog_RPayment>
    <AmountApplied>1</AmountApplied>
    <ClaimPaymentID>1</ClaimPaymentID>
    <ClientName>sample string 2</ClientName>
    <ID>1</ID>
    <ImportFlag>true</ImportFlag>
    <InternalAccountNumber>sample string 5</InternalAccountNumber>
    <InternalCompanyID>1</InternalCompanyID>
    <InvDate>2025-04-04T12:55:57.8091742+10:00</InvDate>
    <InvNo>sample string 3</InvNo>
    <IsGSTIncluded>true</IsGSTIncluded>
    <JobID>1</JobID>
    <MYOBDivision>1</MYOBDivision>
    <Memo>sample string 4</Memo>
    <PayToAccountNumber>sample string 6</PayToAccountNumber>
    <PaymentID>sample string 1</PaymentID>
    <ReceiptDate>2025-04-04T12:55:57.8091742+10:00</ReceiptDate>
  </v_MYOBLog_RPayment>
  <v_MYOBLog_RPayment>
    <AmountApplied>1</AmountApplied>
    <ClaimPaymentID>1</ClaimPaymentID>
    <ClientName>sample string 2</ClientName>
    <ID>1</ID>
    <ImportFlag>true</ImportFlag>
    <InternalAccountNumber>sample string 5</InternalAccountNumber>
    <InternalCompanyID>1</InternalCompanyID>
    <InvDate>2025-04-04T12:55:57.8091742+10:00</InvDate>
    <InvNo>sample string 3</InvNo>
    <IsGSTIncluded>true</IsGSTIncluded>
    <JobID>1</JobID>
    <MYOBDivision>1</MYOBDivision>
    <Memo>sample string 4</Memo>
    <PayToAccountNumber>sample string 6</PayToAccountNumber>
    <PaymentID>sample string 1</PaymentID>
    <ReceiptDate>2025-04-04T12:55:57.8091742+10:00</ReceiptDate>
  </v_MYOBLog_RPayment>
</ArrayOfv_MYOBLog_RPayment>