Page Summary
-
The header object encapsulates details of a GSP Card settlement, including a unique ID, settlement period, total amount, and the number of settled items.
-
The
settlementIdis a unique identifier for a settlement report and should be consistent across all related files. -
The
settlementPerioddefines the time range covered by the settlement report using theIntervalobject. -
settlementAmount, represented by theAmountobject, must equal the total of all events and adjustments within the settlement file. -
numberOfItemsindicates the count of settled items, excluding the header, and is formatted as anInt64Value.
A header object that is used for the purposes of GSP Card settlement files. It is used to encapsulate the detail surrounding the contained settlement.
| JSON representation |
|---|
{ "settlementId": string, "settlementPeriod": { object ( |
| Fields | |
|---|---|
settlementId |
REQUIRED: This should be a unique ID that identifies the settlement report. All files for this settlement report should use the same |
settlementPeriod |
REQUIRED: The period this settlement report covers. |
settlementAmount |
REQUIRED: This should match the sum of all of the events and adjustments in a settlement file. |
numberOfItems |
REQUIRED: The number of settled items(entries and adjustments). This should exclude the header entry. |
openingBalance |
OPTIONAL: The balance at the open of the settlement period. Part of the Balance Equation: closingBalance = openingBalance + settlementAmount - settlementPaymentAmount. |
closingBalance |
OPTIONAL: The balance at the close of the settlement period. Part of the Balance Equation: closingBalance = openingBalance + settlementAmount - settlementPaymentAmount. |
settlementPaymentDetails |
OPTIONAL: Details of the settlement payment. When this field is not set, it is assumed that no settlement payment was made for this settlement period, e.g., due to a negative balance. |
SettlementPaymentDetails
Details pertaining to the settlement payment.
| JSON representation |
|---|
{
"settlementPaymentAmount": {
object ( |
| Fields | |
|---|---|
settlementPaymentAmount |
REQUIRED: The amount being paid to settle a balance. Part of the Balance Equation: closingBalance = openingBalance + settlementAmount - settlementPaymentAmount. |
settlementIds[] |
REQUIRED: The settlement IDs that were used to make the payment. This is used to identify the settlement reports that are being paid. Typically, settlementId; however, when the openingBalance is negative, multiple settlement reports are included in a single settlement payment. |