> For the complete documentation index, see [llms.txt](https://integrations.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://integrations.impact.com/integration-guides/for-partners/card-linked-offers-beta/validation.md).

# Validation

### Receipt File

The importer generates a receipt file in the import directory when you upload a new card-linked transaction file. The receipt file contains the import's reference id (Trace ID).

File name: `receipt_{originalFileName}.txt`

### Summary File

The summary file contains the status of the import. The importer generates a new summary file for each card-linked transaction file you upload.

File name: `{originalFileName}_summary.json`

#### Summary file fields

| Field                               | Description                                                                                                       |
| ----------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| constants.traceId                   | The reference id (Trace ID) for the import.                                                                       |
| constants.accountId                 | The account id within the import system.                                                                          |
| constants.filename                  | The original filename of the file being imported.                                                                 |
| constants.originalFileUrl           | An API link pointing to the original file.                                                                        |
| constants.coreId                    | Your impact.com account id.                                                                                       |
| constants.firstSubmitDate           | The date the file was first submitted (Unix Timestamp).                                                           |
| updates.successfulRowCount          | The number of rows that were processed successfully.                                                              |
| updates.summary                     | A detailed summary of the file's status.                                                                          |
| updates.currentCheckpointStartTime  | Start time of processing the data from the file at the current checkpoint.                                        |
| updates.errorRowCount               | The number of rows that resulted in an error at the current checkpoint (the initial file import).                 |
| updates.currentCheckpoint           | The name of the current checkpoint e.g.`TI_FINALIZE`stands for the last checkpoint in the tracking importer flow. |
| updates.currentCheckpointLatestTime | The time that the status was reported at the current checkpoint.                                                  |
| updates.totalRowCount               | Total number of rows in the file.                                                                                 |
| updates.status                      | The status of the file e.g., `COMPLETED` designates the file was successfully processed.                          |
| counters                            | N/A                                                                                                               |
| errorCounters                       | N/A                                                                                                               |
| customErrorFiles                    | N/A                                                                                                               |

### Error File

The error file contains warnings and errors the importer encountered while processing each card-linked transaction file.

File name: `{traceId}_{originalFileName}.csv.gz`

#### Error file fields

| Field           | Description                                                                            |
| --------------- | -------------------------------------------------------------------------------------- |
| Original Fields | The original fields contained in the initial import                                    |
| ErrorType       | The type of error that occurred. Possible values include `Parse`, `I/O`, and `Status`. |
| ErrorMessage    | A message describing the error                                                         |
| LineNumber      | The line number of the row in the file                                                 |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://integrations.impact.com/integration-guides/for-partners/card-linked-offers-beta/validation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
