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": "9559ceb8-553f-4c07-9c9d-07ecb5de2b4c" }
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>9559ceb8-553f-4c07-9c9d-07ecb5de2b4c</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": "e62824c6-8cfb-40f5-bc83-676c3d034328", "PreviousYearGUID": "1937e1d1-b705-468b-aa98-7958035e365d", "PreviousYearDescription": "sample string 2", "PreviousYearCreatedDateTimeUTC": "2025-04-01T13:16:59.8379749+00:00", "JournalEntryNumber": 3, "Date": "2025-04-01T13:16:59.8379749+00:00", "TypeOfEntry": "sample string 5", "Reference": "sample string 6", "GrowerGUID": "ac590f8e-4772-4efd-bc7a-13e76482a70a", "GrowerID": "sample string 7", "GrowerName": "sample string 8", "VendorGUID": "6d7b1af0-fa9c-424d-bc72-36d6dbdc9211", "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": "2025-04-01T13:16:59.8379749+00:00", "ReversedByJEGUID": "c31d4fc8-a872-46d0-b970-f577068231ea", "ReversedByJENumber": 1, "ReversalOfJEGUID": "00412da4-2ba0-4115-a762-fc52ec516532", "ReversalOfJENumber": 1, "PostCurrent": true, "ACHPayment": true, "Status": "sample string 22", "SourceTransactionGUID": "f6d40077-a6f4-433f-beb5-242b1635c172", "LastModifiedUTC": "2025-04-01T13:16:59.8379749+00:00", "LineItems": [ { "JournalEntryDTGUID": "c344407d-92e3-443f-bf24-d54575f2542e", "LineItem": 2, "DebitOrCredit": "sample string 3", "AcctProfGUID": "0a29ab16-cfd4-4e3e-935d-21625c43ab20", "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": "c344407d-92e3-443f-bf24-d54575f2542e", "LineItem": 2, "DebitOrCredit": "sample string 3", "AcctProfGUID": "0a29ab16-cfd4-4e3e-935d-21625c43ab20", "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": "e62824c6-8cfb-40f5-bc83-676c3d034328", "PreviousYearGUID": "1937e1d1-b705-468b-aa98-7958035e365d", "PreviousYearDescription": "sample string 2", "PreviousYearCreatedDateTimeUTC": "2025-04-01T13:16:59.8379749+00:00", "JournalEntryNumber": 3, "Date": "2025-04-01T13:16:59.8379749+00:00", "TypeOfEntry": "sample string 5", "Reference": "sample string 6", "GrowerGUID": "ac590f8e-4772-4efd-bc7a-13e76482a70a", "GrowerID": "sample string 7", "GrowerName": "sample string 8", "VendorGUID": "6d7b1af0-fa9c-424d-bc72-36d6dbdc9211", "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": "2025-04-01T13:16:59.8379749+00:00", "ReversedByJEGUID": "c31d4fc8-a872-46d0-b970-f577068231ea", "ReversedByJENumber": 1, "ReversalOfJEGUID": "00412da4-2ba0-4115-a762-fc52ec516532", "ReversalOfJENumber": 1, "PostCurrent": true, "ACHPayment": true, "Status": "sample string 22", "SourceTransactionGUID": "f6d40077-a6f4-433f-beb5-242b1635c172", "LastModifiedUTC": "2025-04-01T13:16:59.8379749+00:00", "LineItems": [ { "JournalEntryDTGUID": "c344407d-92e3-443f-bf24-d54575f2542e", "LineItem": 2, "DebitOrCredit": "sample string 3", "AcctProfGUID": "0a29ab16-cfd4-4e3e-935d-21625c43ab20", "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": "c344407d-92e3-443f-bf24-d54575f2542e", "LineItem": 2, "DebitOrCredit": "sample string 3", "AcctProfGUID": "0a29ab16-cfd4-4e3e-935d-21625c43ab20", "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>2025-04-01T13:16:59.8379749+00:00</d2p1:Date> <d2p1:Description>sample string 13</d2p1:Description> <d2p1:FiscalMonth>17</d2p1:FiscalMonth> <d2p1:GrowerGUID>ac590f8e-4772-4efd-bc7a-13e76482a70a</d2p1:GrowerGUID> <d2p1:GrowerID>sample string 7</d2p1:GrowerID> <d2p1:GrowerName>sample string 8</d2p1:GrowerName> <d2p1:JournalEntryGUID>e62824c6-8cfb-40f5-bc83-676c3d034328</d2p1:JournalEntryGUID> <d2p1:JournalEntryNumber>3</d2p1:JournalEntryNumber> <d2p1:LastModifiedUTC>2025-04-01T13:16:59.8379749+00:00</d2p1:LastModifiedUTC> <d2p1:LineItems> <d2p1:JournalEntryDT> <d2p1:AccountDescription>sample string 5</d2p1:AccountDescription> <d2p1:AccountID>sample string 4</d2p1:AccountID> <d2p1:AcctProfGUID>0a29ab16-cfd4-4e3e-935d-21625c43ab20</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>c344407d-92e3-443f-bf24-d54575f2542e</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>0a29ab16-cfd4-4e3e-935d-21625c43ab20</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>c344407d-92e3-443f-bf24-d54575f2542e</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>2025-04-01T13:16:59.8379749+00:00</d2p1:PreviousYearCreatedDateTimeUTC> <d2p1:PreviousYearDescription>sample string 2</d2p1:PreviousYearDescription> <d2p1:PreviousYearGUID>1937e1d1-b705-468b-aa98-7958035e365d</d2p1:PreviousYearGUID> <d2p1:Reference>sample string 6</d2p1:Reference> <d2p1:ReversalOfJEGUID>00412da4-2ba0-4115-a762-fc52ec516532</d2p1:ReversalOfJEGUID> <d2p1:ReversalOfJENumber>1</d2p1:ReversalOfJENumber> <d2p1:ReversedByJEGUID>c31d4fc8-a872-46d0-b970-f577068231ea</d2p1:ReversedByJEGUID> <d2p1:ReversedByJENumber>1</d2p1:ReversedByJENumber> <d2p1:Source>sample string 11</d2p1:Source> <d2p1:SourceTransactionGUID>f6d40077-a6f4-433f-beb5-242b1635c172</d2p1:SourceTransactionGUID> <d2p1:Status>sample string 22</d2p1:Status> <d2p1:TotalAmount>14.1</d2p1:TotalAmount> <d2p1:TransactionDateTimeUTC>2025-04-01T13:16:59.8379749+00:00</d2p1:TransactionDateTimeUTC> <d2p1:TypeOfEntry>sample string 5</d2p1:TypeOfEntry> <d2p1:VendorGUID>6d7b1af0-fa9c-424d-bc72-36d6dbdc9211</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>2025-04-01T13:16:59.8379749+00:00</d2p1:Date> <d2p1:Description>sample string 13</d2p1:Description> <d2p1:FiscalMonth>17</d2p1:FiscalMonth> <d2p1:GrowerGUID>ac590f8e-4772-4efd-bc7a-13e76482a70a</d2p1:GrowerGUID> <d2p1:GrowerID>sample string 7</d2p1:GrowerID> <d2p1:GrowerName>sample string 8</d2p1:GrowerName> <d2p1:JournalEntryGUID>e62824c6-8cfb-40f5-bc83-676c3d034328</d2p1:JournalEntryGUID> <d2p1:JournalEntryNumber>3</d2p1:JournalEntryNumber> <d2p1:LastModifiedUTC>2025-04-01T13:16:59.8379749+00:00</d2p1:LastModifiedUTC> <d2p1:LineItems> <d2p1:JournalEntryDT> <d2p1:AccountDescription>sample string 5</d2p1:AccountDescription> <d2p1:AccountID>sample string 4</d2p1:AccountID> <d2p1:AcctProfGUID>0a29ab16-cfd4-4e3e-935d-21625c43ab20</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>c344407d-92e3-443f-bf24-d54575f2542e</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>0a29ab16-cfd4-4e3e-935d-21625c43ab20</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>c344407d-92e3-443f-bf24-d54575f2542e</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>2025-04-01T13:16:59.8379749+00:00</d2p1:PreviousYearCreatedDateTimeUTC> <d2p1:PreviousYearDescription>sample string 2</d2p1:PreviousYearDescription> <d2p1:PreviousYearGUID>1937e1d1-b705-468b-aa98-7958035e365d</d2p1:PreviousYearGUID> <d2p1:Reference>sample string 6</d2p1:Reference> <d2p1:ReversalOfJEGUID>00412da4-2ba0-4115-a762-fc52ec516532</d2p1:ReversalOfJEGUID> <d2p1:ReversalOfJENumber>1</d2p1:ReversalOfJENumber> <d2p1:ReversedByJEGUID>c31d4fc8-a872-46d0-b970-f577068231ea</d2p1:ReversedByJEGUID> <d2p1:ReversedByJENumber>1</d2p1:ReversedByJENumber> <d2p1:Source>sample string 11</d2p1:Source> <d2p1:SourceTransactionGUID>f6d40077-a6f4-433f-beb5-242b1635c172</d2p1:SourceTransactionGUID> <d2p1:Status>sample string 22</d2p1:Status> <d2p1:TotalAmount>14.1</d2p1:TotalAmount> <d2p1:TransactionDateTimeUTC>2025-04-01T13:16:59.8379749+00:00</d2p1:TransactionDateTimeUTC> <d2p1:TypeOfEntry>sample string 5</d2p1:TypeOfEntry> <d2p1:VendorGUID>6d7b1af0-fa9c-424d-bc72-36d6dbdc9211</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>