POST AcctReports/GetVolumeStatementReport
Generate a Volume Statement report
Request Information
URI Parameters
Body Parameters
The request object used to create report
VolumeStatementRequestBody| Name | Description | Type | Additional Information |
|---|---|---|---|
| CustomerGUID |
Agvance Customer GUID |
globally unique identifier |
Required |
| StartDate |
Start Date |
date |
Required |
| EndDate |
End Date |
date |
Required |
| TotalByDepartmentCategoryName |
Total by the department category when true - if false, will total by department sales class |
boolean |
Must be 0, 1, True, or False |
| LocationGuidForSalesTaxOverrideLabel |
The location guid to use for determining the sales tax override heading. Used when UseCustomersLocationIdAsSalesTaxOverrideLocationId = false |
globally unique identifier |
Only required when UseCustomersLocationIdAsSalesTaxOverrideLocationId = false. Default is null |
| UseCustomersLocationIdAsSalesTaxOverrideLocationId |
Use the customer's location for the location to look up the sales tax override heading from |
boolean |
Default value is true Must be 0, 1, True, or False |
| IncludeGrainInformation |
Include grain settlement in report. Minimum supported version is '6.0.16550' |
boolean |
Must be 0, 1, True, or False |
| IncludeGrainAdvancePayments |
Include Grain Advance payments |
boolean |
Must be 0, 1, True, or False |
| IncludeDeferredPaymentAndInstallmentSales |
Include Deferred Payments and Installment Sales in calculation |
boolean |
Must be 0, 1, True, or False |
| UseGrossAmountOfDeferredPaymentAndInstallmentSales |
Use gross amount of Deferred Payments and Installment Sales |
boolean |
Must be 0, 1, True, or False |
| StatementMessage |
Statement message to display on the report |
string |
Max length: 200 |
| FooterMessage |
Footer message to display on the report |
string |
Max length: 40 |
| EligibleSettDedGuids |
List of Eligible Settlement Deductions / Additions |
Collection of globally unique identifier | |
| ServiceChargeSettDedGuids |
List of Service Charge Settlement Deductions / Additions |
Collection of globally unique identifier |
Request Formats
application/json, text/json
{
"CustomerGUID": "f0f5ac6f-2fa1-497b-98b4-9fb2d450a4df",
"StartDate": "2026-02-27T04:48:19.0823573+00:00",
"EndDate": "2026-02-27T04:48:19.0823573+00:00",
"TotalByDepartmentCategoryName": true,
"LocationGuidForSalesTaxOverrideLabel": "f6d43b73-5824-4c46-bbfa-3ffc3d5f719b",
"UseCustomersLocationIdAsSalesTaxOverrideLocationId": true,
"IncludeGrainInformation": true,
"IncludeGrainAdvancePayments": true,
"IncludeDeferredPaymentAndInstallmentSales": true,
"UseGrossAmountOfDeferredPaymentAndInstallmentSales": true,
"StatementMessage": "sample string 9",
"FooterMessage": "sample string 10",
"EligibleSettDedGuids": [
"19515e31-692f-49d9-b6e3-e3c032d73458",
"21abd0b0-86e3-437e-b1f5-5d3a04f1a6b1"
],
"ServiceChargeSettDedGuids": [
"2c430387-6e3c-4c7a-8536-5c57a07554b8",
"09f485b4-b182-4d06-a157-ea7d7cbbf92c"
]
}
application/xml, text/xml
<VolumeStatementRequestBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSI.ApiReports">
<CustomerGUID>f0f5ac6f-2fa1-497b-98b4-9fb2d450a4df</CustomerGUID>
<EligibleSettDedGuids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>19515e31-692f-49d9-b6e3-e3c032d73458</d2p1:guid>
<d2p1:guid>21abd0b0-86e3-437e-b1f5-5d3a04f1a6b1</d2p1:guid>
</EligibleSettDedGuids>
<EndDate>2026-02-27T04:48:19.0823573+00:00</EndDate>
<FooterMessage>sample string 10</FooterMessage>
<IncludeDeferredPaymentAndInstallmentSales>true</IncludeDeferredPaymentAndInstallmentSales>
<IncludeGrainAdvancePayments>true</IncludeGrainAdvancePayments>
<IncludeGrainInformation>true</IncludeGrainInformation>
<LocationGuidForSalesTaxOverrideLabel>f6d43b73-5824-4c46-bbfa-3ffc3d5f719b</LocationGuidForSalesTaxOverrideLabel>
<ServiceChargeSettDedGuids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>2c430387-6e3c-4c7a-8536-5c57a07554b8</d2p1:guid>
<d2p1:guid>09f485b4-b182-4d06-a157-ea7d7cbbf92c</d2p1:guid>
</ServiceChargeSettDedGuids>
<StartDate>2026-02-27T04:48:19.0823573+00:00</StartDate>
<StatementMessage>sample string 9</StatementMessage>
<TotalByDepartmentCategoryName>true</TotalByDepartmentCategoryName>
<UseCustomersLocationIdAsSalesTaxOverrideLocationId>true</UseCustomersLocationIdAsSalesTaxOverrideLocationId>
<UseGrossAmountOfDeferredPaymentAndInstallmentSales>true</UseGrossAmountOfDeferredPaymentAndInstallmentSales>
</VolumeStatementRequestBody>
application/x-www-form-urlencoded
Response Information
Resource Description
Generate a Volume Statement report
AgvAccountingReport| Name | 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 errors from the API |
Collection of string | |
| WarningList |
List of warnings from the API |
Collection of string | |
| S3FileName |
The S3 file that was generated for the requested report |
string |
Will be "null" when the status is not success. |
| PreSignedUrl |
The presigned url of the file |
string |
Will be "null" when the S3FileName is not populated. |
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"
],
"S3FileName": "sample string 3",
"PreSignedUrl": "sample string 4"
}
application/xml, text/xml
<AgvAccountingReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.AcctReports">
<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>
<Message>sample string 2</Message>
<PreSignedUrl>sample string 4</PreSignedUrl>
<S3FileName>sample string 3</S3FileName>
<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>
</AgvAccountingReport>