POST api/quickbook/CreateJournalEntry

Create Vendor

Request Information

URI Parameters

None.

Body Parameters

JournalEntryRequestDataModel
NameDescriptionTypeAdditional information
RequestModel

QboCommonRequestModel

None.

Id

integer

None.

ExpenseId

integer

None.

Adjustment

boolean

None.

DocNumber

string

None.

TxnDate

date

None.

TotalTax

decimal number

None.

TaxType

string

None.

QbTaxId

integer

None.

journalLineItems

Collection of JournalLineItemRequestModel

None.

IsPartialUpdate

boolean

None.

Request Formats

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

Sample:
{
  "requestModel": {
    "userId": 1,
    "apiKey": "sample string 2"
  },
  "id": 1,
  "expenseId": 2,
  "adjustment": true,
  "docNumber": "sample string 4",
  "txnDate": "2025-07-17T04:16:20.4249168+00:00",
  "totalTax": 1.0,
  "taxType": "sample string 5",
  "qbTaxId": 1,
  "journalLineItems": [
    {
      "description": "sample string 1",
      "amount": 2.0,
      "taxAmount": 1.0,
      "qbTaxID": "sample string 3",
      "taxType": "sample string 4",
      "lineAccountID": 5,
      "lineAccountName": "sample string 6",
      "postingType": "sample string 7"
    },
    {
      "description": "sample string 1",
      "amount": 2.0,
      "taxAmount": 1.0,
      "qbTaxID": "sample string 3",
      "taxType": "sample string 4",
      "lineAccountID": 5,
      "lineAccountName": "sample string 6",
      "postingType": "sample string 7"
    }
  ],
  "isPartialUpdate": true
}

application/xml, text/xml

Sample:
<JournalEntryRequestDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel">
  <Adjustment>true</Adjustment>
  <DocNumber>sample string 4</DocNumber>
  <ExpenseId>2</ExpenseId>
  <Id>1</Id>
  <IsPartialUpdate>true</IsPartialUpdate>
  <QbTaxId>1</QbTaxId>
  <RequestModel>
    <APIKey>sample string 2</APIKey>
    <UserId>1</UserId>
  </RequestModel>
  <TaxType>sample string 5</TaxType>
  <TotalTax>1</TotalTax>
  <TxnDate>2025-07-17T04:16:20.4249168+00:00</TxnDate>
  <journalLineItems>
    <JournalLineItemRequestModel>
      <Amount>2</Amount>
      <Description>sample string 1</Description>
      <LineAccountID>5</LineAccountID>
      <LineAccountName>sample string 6</LineAccountName>
      <PostingType>sample string 7</PostingType>
      <QbTaxID>sample string 3</QbTaxID>
      <TaxAmount>1</TaxAmount>
      <TaxType>sample string 4</TaxType>
    </JournalLineItemRequestModel>
    <JournalLineItemRequestModel>
      <Amount>2</Amount>
      <Description>sample string 1</Description>
      <LineAccountID>5</LineAccountID>
      <LineAccountName>sample string 6</LineAccountName>
      <PostingType>sample string 7</PostingType>
      <QbTaxID>sample string 3</QbTaxID>
      <TaxAmount>1</TaxAmount>
      <TaxType>sample string 4</TaxType>
    </JournalLineItemRequestModel>
  </journalLineItems>
</JournalEntryRequestDataModel>

multipart/form-data

Sample:
<JournalEntryRequestDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel"><Adjustment>true</Adjustment><DocNumber>sample string 4</DocNumber><ExpenseId>2</ExpenseId><Id>1</Id><IsPartialUpdate>true</IsPartialUpdate><QbTaxId>1</QbTaxId><RequestModel><APIKey>sample string 2</APIKey><UserId>1</UserId></RequestModel><TaxType>sample string 5</TaxType><TotalTax>1</TotalTax><TxnDate>2025-07-17T04:16:20.4249168+00:00</TxnDate><journalLineItems><JournalLineItemRequestModel><Amount>2</Amount><Description>sample string 1</Description><LineAccountID>5</LineAccountID><LineAccountName>sample string 6</LineAccountName><PostingType>sample string 7</PostingType><QbTaxID>sample string 3</QbTaxID><TaxAmount>1</TaxAmount><TaxType>sample string 4</TaxType></JournalLineItemRequestModel><JournalLineItemRequestModel><Amount>2</Amount><Description>sample string 1</Description><LineAccountID>5</LineAccountID><LineAccountName>sample string 6</LineAccountName><PostingType>sample string 7</PostingType><QbTaxID>sample string 3</QbTaxID><TaxAmount>1</TaxAmount><TaxType>sample string 4</TaxType></JournalLineItemRequestModel></journalLineItems></JournalEntryRequestDataModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Action Status

CommonResponseDataModel
NameDescriptionTypeAdditional information
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:
{
  "returnID": 1,
  "message": "sample string 2",
  "successful": true,
  "code": 4,
  "totalRecord": 5
}

application/xml, text/xml

Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">
  <Code>4</Code>
  <Message>sample string 2</Message>
  <ReturnID>1</ReturnID>
  <Successful>true</Successful>
  <TotalRecord>5</TotalRecord>
</CommonResponseDataModel>

multipart/form-data

Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"><Code>4</Code><Message>sample string 2</Message><ReturnID>1</ReturnID><Successful>true</Successful><TotalRecord>5</TotalRecord></CommonResponseDataModel>