File Status API
This page is a placeholder. Use the API endpoint at /api/file-status to check sales files.
To check the status of a sales file, make a POST request to the /api/file-status endpoint with a JSON body containing the following fields:
companyId: The ID of the company.locationId: The ID of the location.date: The date of the sales file in YYYY-MM-DD format.csvData: A string containing the raw CSV data of the sales file.
The API will respond with the reconciliation status and, if fully matched, the contents of the final export file.