Page Summary
-
The GSP Card settlement file uses a header object to encapsulate details about the settlement.
-
The header object contains the settlement ID, settlement period, settlement amount, and the number of settled items.
-
The
settlementIdshould be unique for all files related to a specific settlement report. -
The
settlementAmountmust match the total sum of all events and adjustments included in the settlement file. -
The
numberOfItemsfield excludes the header entry and reflects only the count of settled entries and adjustments.
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. |