POST JournalEntry/PostReverseJournalEntry
Reverses a Journal Entry
Request Information
URI Parameters
Body Parameters
The keys used to find the journal entry to reverse. Either the number or GUID must be provided.
ClsJEntryReverseName | Description | Type | Additional Information |
---|---|---|---|
JENum |
The journal entry number from the current fiscal year to reverse |
integer | |
JEntryGUID |
When the JENum is not provided, the GUID of the journal entry from the current fiscal year to reverse |
globally unique identifier |
Request Formats
application/json, text/json
{ "JENum": 1, "JEntryGUID": "6742a442-fb31-41b7-a4ab-ee7997599ab6" }
application/xml, text/xml
<JournalEntryReverse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SKY.Core.JournalEntry"> <JENum>1</JENum> <JEntryGUID>6742a442-fb31-41b7-a4ab-ee7997599ab6</JEntryGUID> </JournalEntryReverse>
application/x-www-form-urlencoded
Response Information
Resource Description
Reverses a Journal Entry
AgvJournalEntryName | Description | Type | Additional Information |
---|---|---|---|
Status |
0 = Success. 1 = An error occurred. 2 = An error occurred. 3 = Descriptive message, process was successful. |
string | |
Message |
Informational message that corresponds to the Status returned. 0 - Message will be "OK". 1 - Detailed message returned to give user an indication of what went wrong. 2 - Less Detailed message returned that may not mean anything to the user but that the application might use to take a corrective action. 3 - Not an error but something the user might need to know. |
string | |
ErrorList |
List of error messages of the API call. |
Collection of string | |
WarningList |
List of warning messages of the API call. |
Collection of string | |
Count |
Number of results returned. |
string | |
JournalEntries |
List of Properties and Values returned for each journal entry that matches the request. |
Collection of JEntryMultiYear |
Response Formats
application/json, text/json
{ "Status": "sample string 1", "Message": "sample string 2", "ErrorList": [ "sample string 1", "sample string 2" ], "WarningList": [ "sample string 1", "sample string 2" ], "Count": "2", "JournalEntries": [ { "JournalEntryGUID": "79e2b286-60bf-4c91-81e6-fe1d60663c30", "PreviousYearGUID": "89369916-83bf-4a93-b5e5-5546c8307ceb", "PreviousYearDescription": "sample string 2", "PreviousYearCreatedDateTimeUTC": "2024-11-21T09:38:52.6720829+00:00", "JournalEntryNumber": 3, "Date": "2024-11-21T09:38:52.6720829+00:00", "TypeOfEntry": "sample string 5", "Reference": "sample string 6", "GrowerGUID": "ca9f2629-d626-4f14-a5b0-80103d5e74f6", "GrowerID": "sample string 7", "GrowerName": "sample string 8", "VendorGUID": "963dbede-de2e-46b9-a5b4-0c9f27cfe52d", "VendorID": "sample string 9", "VendorName": "sample string 10", "Source": "sample string 11", "CreatedByUser": "sample string 12", "Description": "sample string 13", "TotalAmount": 14.1, "NumberOfDebits": 15, "NumberOfCredits": 16, "FiscalMonth": 17, "AmountPaidFor1099": 18.1, "TransactionDateTimeUTC": "2024-11-21T09:38:52.6720829+00:00", "ReversedByJEGUID": "0db4501f-0e13-442b-bb08-f5657a69703e", "ReversedByJENumber": 1, "ReversalOfJEGUID": "657bdf18-2139-438b-a3b1-308db6d200e6", "ReversalOfJENumber": 1, "PostCurrent": true, "ACHPayment": true, "Status": "sample string 22", "SourceTransactionGUID": "99841e8f-5a59-41bb-82ab-8f7dd69b0b53", "LastModifiedUTC": "2024-11-21T09:38:52.6720829+00:00", "LineItems": [ { "JournalEntryDTGUID": "9c427910-d2c5-4d5a-955c-f933083fa2dd", "LineItem": 2, "DebitOrCredit": "sample string 3", "AcctProfGUID": "d59e37d5-e633-4e9a-8478-e1215e457ec8", "AccountID": "sample string 4", "AccountDescription": "sample string 5", "Amount": 6.1, "Reconciled": true, "Quantity": 8.1, "Comment": "sample string 9", "Deposited": true, "GrainCode": "sample string 11", "PositivePayExported": true, "GLAccountAttributeValues": [ { "MasterCrossRefNamesKey": 3, "CrossRefName": "sample string 4", "CrossRefValue": "sample string 5" }, { "MasterCrossRefNamesKey": 3, "CrossRefName": "sample string 4", "CrossRefValue": "sample string 5" } ] }, { "JournalEntryDTGUID": "9c427910-d2c5-4d5a-955c-f933083fa2dd", "LineItem": 2, "DebitOrCredit": "sample string 3", "AcctProfGUID": "d59e37d5-e633-4e9a-8478-e1215e457ec8", "AccountID": "sample string 4", "AccountDescription": "sample string 5", "Amount": 6.1, "Reconciled": true, "Quantity": 8.1, "Comment": "sample string 9", "Deposited": true, "GrainCode": "sample string 11", "PositivePayExported": true, "GLAccountAttributeValues": [ { "MasterCrossRefNamesKey": 3, "CrossRefName": "sample string 4", "CrossRefValue": "sample string 5" }, { "MasterCrossRefNamesKey": 3, "CrossRefName": "sample string 4", "CrossRefValue": "sample string 5" } ] } ] }, { "JournalEntryGUID": "79e2b286-60bf-4c91-81e6-fe1d60663c30", "PreviousYearGUID": "89369916-83bf-4a93-b5e5-5546c8307ceb", "PreviousYearDescription": "sample string 2", "PreviousYearCreatedDateTimeUTC": "2024-11-21T09:38:52.6720829+00:00", "JournalEntryNumber": 3, "Date": "2024-11-21T09:38:52.6720829+00:00", "TypeOfEntry": "sample string 5", "Reference": "sample string 6", "GrowerGUID": "ca9f2629-d626-4f14-a5b0-80103d5e74f6", "GrowerID": "sample string 7", "GrowerName": "sample string 8", "VendorGUID": "963dbede-de2e-46b9-a5b4-0c9f27cfe52d", "VendorID": "sample string 9", "VendorName": "sample string 10", "Source": "sample string 11", "CreatedByUser": "sample string 12", "Description": "sample string 13", "TotalAmount": 14.1, "NumberOfDebits": 15, "NumberOfCredits": 16, "FiscalMonth": 17, "AmountPaidFor1099": 18.1, "TransactionDateTimeUTC": "2024-11-21T09:38:52.6720829+00:00", "ReversedByJEGUID": "0db4501f-0e13-442b-bb08-f5657a69703e", "ReversedByJENumber": 1, "ReversalOfJEGUID": "657bdf18-2139-438b-a3b1-308db6d200e6", "ReversalOfJENumber": 1, "PostCurrent": true, "ACHPayment": true, "Status": "sample string 22", "SourceTransactionGUID": "99841e8f-5a59-41bb-82ab-8f7dd69b0b53", "LastModifiedUTC": "2024-11-21T09:38:52.6720829+00:00", "LineItems": [ { "JournalEntryDTGUID": "9c427910-d2c5-4d5a-955c-f933083fa2dd", "LineItem": 2, "DebitOrCredit": "sample string 3", "AcctProfGUID": "d59e37d5-e633-4e9a-8478-e1215e457ec8", "AccountID": "sample string 4", "AccountDescription": "sample string 5", "Amount": 6.1, "Reconciled": true, "Quantity": 8.1, "Comment": "sample string 9", "Deposited": true, "GrainCode": "sample string 11", "PositivePayExported": true, "GLAccountAttributeValues": [ { "MasterCrossRefNamesKey": 3, "CrossRefName": "sample string 4", "CrossRefValue": "sample string 5" }, { "MasterCrossRefNamesKey": 3, "CrossRefName": "sample string 4", "CrossRefValue": "sample string 5" } ] }, { "JournalEntryDTGUID": "9c427910-d2c5-4d5a-955c-f933083fa2dd", "LineItem": 2, "DebitOrCredit": "sample string 3", "AcctProfGUID": "d59e37d5-e633-4e9a-8478-e1215e457ec8", "AccountID": "sample string 4", "AccountDescription": "sample string 5", "Amount": 6.1, "Reconciled": true, "Quantity": 8.1, "Comment": "sample string 9", "Deposited": true, "GrainCode": "sample string 11", "PositivePayExported": true, "GLAccountAttributeValues": [ { "MasterCrossRefNamesKey": 3, "CrossRefName": "sample string 4", "CrossRefValue": "sample string 5" }, { "MasterCrossRefNamesKey": 3, "CrossRefName": "sample string 4", "CrossRefValue": "sample string 5" } ] } ] } ] }
application/xml, text/xml
<AgvJournalEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.JournalEntry"> <ErrorList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ErrorList> <JournalEntries xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.JournalEntry"> <d2p1:JournalEntry> <d2p1:ACHPayment>true</d2p1:ACHPayment> <d2p1:AmountPaidFor1099>18.1</d2p1:AmountPaidFor1099> <d2p1:CreatedByUser>sample string 12</d2p1:CreatedByUser> <d2p1:Date>2024-11-21T09:38:52.6720829+00:00</d2p1:Date> <d2p1:Description>sample string 13</d2p1:Description> <d2p1:FiscalMonth>17</d2p1:FiscalMonth> <d2p1:GrowerGUID>ca9f2629-d626-4f14-a5b0-80103d5e74f6</d2p1:GrowerGUID> <d2p1:GrowerID>sample string 7</d2p1:GrowerID> <d2p1:GrowerName>sample string 8</d2p1:GrowerName> <d2p1:JournalEntryGUID>79e2b286-60bf-4c91-81e6-fe1d60663c30</d2p1:JournalEntryGUID> <d2p1:JournalEntryNumber>3</d2p1:JournalEntryNumber> <d2p1:LastModifiedUTC>2024-11-21T09:38:52.6720829+00:00</d2p1:LastModifiedUTC> <d2p1:LineItems> <d2p1:JournalEntryDT> <d2p1:AccountDescription>sample string 5</d2p1:AccountDescription> <d2p1:AccountID>sample string 4</d2p1:AccountID> <d2p1:AcctProfGUID>d59e37d5-e633-4e9a-8478-e1215e457ec8</d2p1:AcctProfGUID> <d2p1:Amount>6.1</d2p1:Amount> <d2p1:Comment>sample string 9</d2p1:Comment> <d2p1:DebitOrCredit>sample string 3</d2p1:DebitOrCredit> <d2p1:Deposited>true</d2p1:Deposited> <d2p1:GLAccountAttributeValues xmlns:d6p1="http://schemas.datacontract.org/2004/07/SKY.Core.GL"> <d6p1:GLAccountAttributes> <d6p1:CrossRefName>sample string 4</d6p1:CrossRefName> <d6p1:CrossRefValue>sample string 5</d6p1:CrossRefValue> <d6p1:MasterCrossRefNamesKey>3</d6p1:MasterCrossRefNamesKey> </d6p1:GLAccountAttributes> <d6p1:GLAccountAttributes> <d6p1:CrossRefName>sample string 4</d6p1:CrossRefName> <d6p1:CrossRefValue>sample string 5</d6p1:CrossRefValue> <d6p1:MasterCrossRefNamesKey>3</d6p1:MasterCrossRefNamesKey> </d6p1:GLAccountAttributes> </d2p1:GLAccountAttributeValues> <d2p1:GrainCode>sample string 11</d2p1:GrainCode> <d2p1:JournalEntryDTGUID>9c427910-d2c5-4d5a-955c-f933083fa2dd</d2p1:JournalEntryDTGUID> <d2p1:LineItem>2</d2p1:LineItem> <d2p1:PositivePayExported>true</d2p1:PositivePayExported> <d2p1:Quantity>8.1</d2p1:Quantity> <d2p1:Reconciled>true</d2p1:Reconciled> </d2p1:JournalEntryDT> <d2p1:JournalEntryDT> <d2p1:AccountDescription>sample string 5</d2p1:AccountDescription> <d2p1:AccountID>sample string 4</d2p1:AccountID> <d2p1:AcctProfGUID>d59e37d5-e633-4e9a-8478-e1215e457ec8</d2p1:AcctProfGUID> <d2p1:Amount>6.1</d2p1:Amount> <d2p1:Comment>sample string 9</d2p1:Comment> <d2p1:DebitOrCredit>sample string 3</d2p1:DebitOrCredit> <d2p1:Deposited>true</d2p1:Deposited> <d2p1:GLAccountAttributeValues xmlns:d6p1="http://schemas.datacontract.org/2004/07/SKY.Core.GL"> <d6p1:GLAccountAttributes> <d6p1:CrossRefName>sample string 4</d6p1:CrossRefName> <d6p1:CrossRefValue>sample string 5</d6p1:CrossRefValue> <d6p1:MasterCrossRefNamesKey>3</d6p1:MasterCrossRefNamesKey> </d6p1:GLAccountAttributes> <d6p1:GLAccountAttributes> <d6p1:CrossRefName>sample string 4</d6p1:CrossRefName> <d6p1:CrossRefValue>sample string 5</d6p1:CrossRefValue> <d6p1:MasterCrossRefNamesKey>3</d6p1:MasterCrossRefNamesKey> </d6p1:GLAccountAttributes> </d2p1:GLAccountAttributeValues> <d2p1:GrainCode>sample string 11</d2p1:GrainCode> <d2p1:JournalEntryDTGUID>9c427910-d2c5-4d5a-955c-f933083fa2dd</d2p1:JournalEntryDTGUID> <d2p1:LineItem>2</d2p1:LineItem> <d2p1:PositivePayExported>true</d2p1:PositivePayExported> <d2p1:Quantity>8.1</d2p1:Quantity> <d2p1:Reconciled>true</d2p1:Reconciled> </d2p1:JournalEntryDT> </d2p1:LineItems> <d2p1:NumberOfCredits>16</d2p1:NumberOfCredits> <d2p1:NumberOfDebits>15</d2p1:NumberOfDebits> <d2p1:PostCurrent>true</d2p1:PostCurrent> <d2p1:PreviousYearCreatedDateTimeUTC>2024-11-21T09:38:52.6720829+00:00</d2p1:PreviousYearCreatedDateTimeUTC> <d2p1:PreviousYearDescription>sample string 2</d2p1:PreviousYearDescription> <d2p1:PreviousYearGUID>89369916-83bf-4a93-b5e5-5546c8307ceb</d2p1:PreviousYearGUID> <d2p1:Reference>sample string 6</d2p1:Reference> <d2p1:ReversalOfJEGUID>657bdf18-2139-438b-a3b1-308db6d200e6</d2p1:ReversalOfJEGUID> <d2p1:ReversalOfJENumber>1</d2p1:ReversalOfJENumber> <d2p1:ReversedByJEGUID>0db4501f-0e13-442b-bb08-f5657a69703e</d2p1:ReversedByJEGUID> <d2p1:ReversedByJENumber>1</d2p1:ReversedByJENumber> <d2p1:Source>sample string 11</d2p1:Source> <d2p1:SourceTransactionGUID>99841e8f-5a59-41bb-82ab-8f7dd69b0b53</d2p1:SourceTransactionGUID> <d2p1:Status>sample string 22</d2p1:Status> <d2p1:TotalAmount>14.1</d2p1:TotalAmount> <d2p1:TransactionDateTimeUTC>2024-11-21T09:38:52.6720829+00:00</d2p1:TransactionDateTimeUTC> <d2p1:TypeOfEntry>sample string 5</d2p1:TypeOfEntry> <d2p1:VendorGUID>963dbede-de2e-46b9-a5b4-0c9f27cfe52d</d2p1:VendorGUID> <d2p1:VendorID>sample string 9</d2p1:VendorID> <d2p1:VendorName>sample string 10</d2p1:VendorName> </d2p1:JournalEntry> <d2p1:JournalEntry> <d2p1:ACHPayment>true</d2p1:ACHPayment> <d2p1:AmountPaidFor1099>18.1</d2p1:AmountPaidFor1099> <d2p1:CreatedByUser>sample string 12</d2p1:CreatedByUser> <d2p1:Date>2024-11-21T09:38:52.6720829+00:00</d2p1:Date> <d2p1:Description>sample string 13</d2p1:Description> <d2p1:FiscalMonth>17</d2p1:FiscalMonth> <d2p1:GrowerGUID>ca9f2629-d626-4f14-a5b0-80103d5e74f6</d2p1:GrowerGUID> <d2p1:GrowerID>sample string 7</d2p1:GrowerID> <d2p1:GrowerName>sample string 8</d2p1:GrowerName> <d2p1:JournalEntryGUID>79e2b286-60bf-4c91-81e6-fe1d60663c30</d2p1:JournalEntryGUID> <d2p1:JournalEntryNumber>3</d2p1:JournalEntryNumber> <d2p1:LastModifiedUTC>2024-11-21T09:38:52.6720829+00:00</d2p1:LastModifiedUTC> <d2p1:LineItems> <d2p1:JournalEntryDT> <d2p1:AccountDescription>sample string 5</d2p1:AccountDescription> <d2p1:AccountID>sample string 4</d2p1:AccountID> <d2p1:AcctProfGUID>d59e37d5-e633-4e9a-8478-e1215e457ec8</d2p1:AcctProfGUID> <d2p1:Amount>6.1</d2p1:Amount> <d2p1:Comment>sample string 9</d2p1:Comment> <d2p1:DebitOrCredit>sample string 3</d2p1:DebitOrCredit> <d2p1:Deposited>true</d2p1:Deposited> <d2p1:GLAccountAttributeValues xmlns:d6p1="http://schemas.datacontract.org/2004/07/SKY.Core.GL"> <d6p1:GLAccountAttributes> <d6p1:CrossRefName>sample string 4</d6p1:CrossRefName> <d6p1:CrossRefValue>sample string 5</d6p1:CrossRefValue> <d6p1:MasterCrossRefNamesKey>3</d6p1:MasterCrossRefNamesKey> </d6p1:GLAccountAttributes> <d6p1:GLAccountAttributes> <d6p1:CrossRefName>sample string 4</d6p1:CrossRefName> <d6p1:CrossRefValue>sample string 5</d6p1:CrossRefValue> <d6p1:MasterCrossRefNamesKey>3</d6p1:MasterCrossRefNamesKey> </d6p1:GLAccountAttributes> </d2p1:GLAccountAttributeValues> <d2p1:GrainCode>sample string 11</d2p1:GrainCode> <d2p1:JournalEntryDTGUID>9c427910-d2c5-4d5a-955c-f933083fa2dd</d2p1:JournalEntryDTGUID> <d2p1:LineItem>2</d2p1:LineItem> <d2p1:PositivePayExported>true</d2p1:PositivePayExported> <d2p1:Quantity>8.1</d2p1:Quantity> <d2p1:Reconciled>true</d2p1:Reconciled> </d2p1:JournalEntryDT> <d2p1:JournalEntryDT> <d2p1:AccountDescription>sample string 5</d2p1:AccountDescription> <d2p1:AccountID>sample string 4</d2p1:AccountID> <d2p1:AcctProfGUID>d59e37d5-e633-4e9a-8478-e1215e457ec8</d2p1:AcctProfGUID> <d2p1:Amount>6.1</d2p1:Amount> <d2p1:Comment>sample string 9</d2p1:Comment> <d2p1:DebitOrCredit>sample string 3</d2p1:DebitOrCredit> <d2p1:Deposited>true</d2p1:Deposited> <d2p1:GLAccountAttributeValues xmlns:d6p1="http://schemas.datacontract.org/2004/07/SKY.Core.GL"> <d6p1:GLAccountAttributes> <d6p1:CrossRefName>sample string 4</d6p1:CrossRefName> <d6p1:CrossRefValue>sample string 5</d6p1:CrossRefValue> <d6p1:MasterCrossRefNamesKey>3</d6p1:MasterCrossRefNamesKey> </d6p1:GLAccountAttributes> <d6p1:GLAccountAttributes> <d6p1:CrossRefName>sample string 4</d6p1:CrossRefName> <d6p1:CrossRefValue>sample string 5</d6p1:CrossRefValue> <d6p1:MasterCrossRefNamesKey>3</d6p1:MasterCrossRefNamesKey> </d6p1:GLAccountAttributes> </d2p1:GLAccountAttributeValues> <d2p1:GrainCode>sample string 11</d2p1:GrainCode> <d2p1:JournalEntryDTGUID>9c427910-d2c5-4d5a-955c-f933083fa2dd</d2p1:JournalEntryDTGUID> <d2p1:LineItem>2</d2p1:LineItem> <d2p1:PositivePayExported>true</d2p1:PositivePayExported> <d2p1:Quantity>8.1</d2p1:Quantity> <d2p1:Reconciled>true</d2p1:Reconciled> </d2p1:JournalEntryDT> </d2p1:LineItems> <d2p1:NumberOfCredits>16</d2p1:NumberOfCredits> <d2p1:NumberOfDebits>15</d2p1:NumberOfDebits> <d2p1:PostCurrent>true</d2p1:PostCurrent> <d2p1:PreviousYearCreatedDateTimeUTC>2024-11-21T09:38:52.6720829+00:00</d2p1:PreviousYearCreatedDateTimeUTC> <d2p1:PreviousYearDescription>sample string 2</d2p1:PreviousYearDescription> <d2p1:PreviousYearGUID>89369916-83bf-4a93-b5e5-5546c8307ceb</d2p1:PreviousYearGUID> <d2p1:Reference>sample string 6</d2p1:Reference> <d2p1:ReversalOfJEGUID>657bdf18-2139-438b-a3b1-308db6d200e6</d2p1:ReversalOfJEGUID> <d2p1:ReversalOfJENumber>1</d2p1:ReversalOfJENumber> <d2p1:ReversedByJEGUID>0db4501f-0e13-442b-bb08-f5657a69703e</d2p1:ReversedByJEGUID> <d2p1:ReversedByJENumber>1</d2p1:ReversedByJENumber> <d2p1:Source>sample string 11</d2p1:Source> <d2p1:SourceTransactionGUID>99841e8f-5a59-41bb-82ab-8f7dd69b0b53</d2p1:SourceTransactionGUID> <d2p1:Status>sample string 22</d2p1:Status> <d2p1:TotalAmount>14.1</d2p1:TotalAmount> <d2p1:TransactionDateTimeUTC>2024-11-21T09:38:52.6720829+00:00</d2p1:TransactionDateTimeUTC> <d2p1:TypeOfEntry>sample string 5</d2p1:TypeOfEntry> <d2p1:VendorGUID>963dbede-de2e-46b9-a5b4-0c9f27cfe52d</d2p1:VendorGUID> <d2p1:VendorID>sample string 9</d2p1:VendorID> <d2p1:VendorName>sample string 10</d2p1:VendorName> </d2p1:JournalEntry> </JournalEntries> <Message>sample string 2</Message> <Status>sample string 1</Status> <WarningList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </WarningList> </AgvJournalEntry>