POST api/SellerStatement/GenerateStatementFile

Request Information

URI Parameters

None.

Body Parameters

StatementViewModel
NameDescriptionTypeAdditional information
AmazonID

string

None.

SellerName

string

None.

CompanyDetailID

integer

None.

AmazonCreditID

decimal number

None.

StatementNumber

string

None.

ShipmentID

string

None.

Investments

decimal number

None.

PurchaseCost

decimal number

None.

OpeningBalance

decimal number

None.

AmazonCredits

decimal number

None.

TotalSales

decimal number

None.

TotalAmazonExpenses

decimal number

None.

JenniferReconciledAmt

decimal number

None.

GSTOutFlow

decimal number

None.

IORMargin

decimal number

None.

PayableAmt

decimal number

None.

ClosingBalance

decimal number

None.

InvestmentRecoverable

decimal number

None.

PayabletoMerchant

decimal number

None.

StatementDate

date

None.

ColumnInvestment

decimal number

None.

ColumnPurchaseCost

decimal number

None.

BalanceInvestment

decimal number

None.

PurchaseBalance

decimal number

None.

Remaining_Perc

decimal number

None.

Recover_Perc

decimal number

None.

PaidAmt

decimal number

None.

StatementOPBal

decimal number

None.

Stateopbalance

decimal number

None.

SalesAfterExp

decimal number

None.

MPCredits

decimal number

None.

Deductions

decimal number

None.

Recovered

decimal number

None.

NetRevenue

decimal number

None.

CreditDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "AmazonID": "sample string 1",
  "SellerName": "sample string 2",
  "CompanyDetailID": 3,
  "AmazonCreditID": 4.1,
  "StatementNumber": "sample string 5",
  "ShipmentID": "sample string 6",
  "Investments": 7.1,
  "PurchaseCost": 8.1,
  "OpeningBalance": 9.1,
  "AmazonCredits": 10.1,
  "TotalSales": 11.1,
  "TotalAmazonExpenses": 12.1,
  "JenniferReconciledAmt": 13.1,
  "GSTOutFlow": 14.1,
  "IORMargin": 15.1,
  "PayableAmt": 16.1,
  "ClosingBalance": 17.1,
  "InvestmentRecoverable": 18.1,
  "PayabletoMerchant": 19.1,
  "StatementDate": "2025-12-16T11:05:15.0146258+00:00",
  "ColumnInvestment": 21.1,
  "ColumnPurchaseCost": 22.1,
  "BalanceInvestment": 23.1,
  "PurchaseBalance": 24.1,
  "Remaining_Perc": 25.1,
  "Recover_Perc": 26.1,
  "PaidAmt": 27.1,
  "StatementOPBal": 28.1,
  "Stateopbalance": 29.1,
  "SalesAfterExp": 30.1,
  "MPCredits": 31.1,
  "Deductions": 32.1,
  "Recovered": 33.1,
  "NetRevenue": 34.1,
  "CreditDate": "2025-12-16T11:05:15.0146258+00:00"
}

application/xml, text/xml

Sample:
<StatementViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAL.ViewModel">
  <AmazonCreditID>4.1</AmazonCreditID>
  <AmazonCredits>10.1</AmazonCredits>
  <AmazonID>sample string 1</AmazonID>
  <BalanceInvestment>23.1</BalanceInvestment>
  <ClosingBalance>17.1</ClosingBalance>
  <ColumnInvestment>21.1</ColumnInvestment>
  <ColumnPurchaseCost>22.1</ColumnPurchaseCost>
  <CompanyDetailID>3</CompanyDetailID>
  <CreditDate>2025-12-16T11:05:15.0146258+00:00</CreditDate>
  <Deductions>32.1</Deductions>
  <GSTOutFlow>14.1</GSTOutFlow>
  <IORMargin>15.1</IORMargin>
  <InvestmentRecoverable>18.1</InvestmentRecoverable>
  <Investments>7.1</Investments>
  <JenniferReconciledAmt>13.1</JenniferReconciledAmt>
  <MPCredits>31.1</MPCredits>
  <NetRevenue>34.1</NetRevenue>
  <OpeningBalance>9.1</OpeningBalance>
  <PaidAmt>27.1</PaidAmt>
  <PayableAmt>16.1</PayableAmt>
  <PayabletoMerchant>19.1</PayabletoMerchant>
  <PurchaseBalance>24.1</PurchaseBalance>
  <PurchaseCost>8.1</PurchaseCost>
  <Recover_Perc>26.1</Recover_Perc>
  <Recovered>33.1</Recovered>
  <Remaining_Perc>25.1</Remaining_Perc>
  <SalesAfterExp>30.1</SalesAfterExp>
  <SellerName>sample string 2</SellerName>
  <ShipmentID>sample string 6</ShipmentID>
  <StatementDate>2025-12-16T11:05:15.0146258+00:00</StatementDate>
  <StatementNumber>sample string 5</StatementNumber>
  <StatementOPBal>28.1</StatementOPBal>
  <Stateopbalance>29.1</Stateopbalance>
  <TotalAmazonExpenses>12.1</TotalAmazonExpenses>
  <TotalSales>11.1</TotalSales>
</StatementViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.