Skip to main content
GET
Fetch data sync validation totals
Use this report after a sales data sync or backfill to compare Layer’s accounting totals with totals calculated from your source system. Invoice-derived fields use accrual accounting, while PAYMENT_PROCESSOR_FEES uses the cash basis. See Validate a sales data backfill for the complete comparison and troubleshooting workflow.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

businessId
string<uuid>
required

The UUID of the business whose synced data you want to validate.

Query Parameters

start_date
string<date-time>
required

The start of the synced period as an ISO 8601 timestamp.

end_date
string<date-time>
required

The end of the synced period as an ISO 8601 timestamp. Must be later than start_date.

Response

Data sync validation totals generated successfully.

data
object
required

Accounting totals for validating sales data synced over a period.