> For the complete documentation index, see [llms.txt](https://help.daasity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.daasity.com/core-concepts/data-integrations/setup-guides/digital-integrations/amazon-seller-central/integration-specifications/settlement-reports.md).

# Settlement Reports

## Integration Overview

The Daasity Amazon Seller Central integrations utilize the Selling Partner API (SP-API) which is a REST-based API that helps Amazon selling partners programmatically access their data on orders, shipments, payments, and more.

## Integration Availability

This integration is available for:

* Enterprise
* Growth

## API Endpoints

The Daasity Amazon Seller Central - Reports API - Settlement extractor is built based on this [Amazon Seller Central API documentation](https://developer-docs.amazon.com/sp-api/docs/what-is-the-selling-partner-api). The following endpoints are used by Daasity to replicate data from Amazon Seller Central:

* [Reports](https://developer-docs.amazon.com/sp-api/docs/reports-api-v2021-06-30-use-case-guide)
* [Settlement Reports](https://developer-docs.amazon.com/sp-api/docs/report-type-values#settlement-reports)

## Entity Relationship Diagram (ERD)

[Click here to view the ERD for the Daasity Amazon Seller Central Reports API - Settlement integration](https://lucid.app/documents/embedded/9b9b416d-c2d8-4d9e-8e91-3147ab654653) illustrating the different tables and keys to join across tables.

## Amazon Seller Central Schema

The Reports API will generate files in one of three formats (CSV, XML, and JSON). A report might vary slightly for each Seller Central account and thus Daasity will dynamically create the table based on the file extracted from Amazon. Thus each table will be a direct mapping from the file output to the table with no transformation.

* [Flat File V2 Settlement Report](#flat-file-v2-settlement-report)

### **Flat File V2 Settlement Report**

* This report provides detailed information on the sales and fees for each order resulting in your payout and account settlement.  For your seller account to be settled, it must have had activity during the settlement period and either a positive or zero account balance. When your account is settled, a report for the settlement period will be made available for download
* Endpoint: [Settlement Reports](https://developer-docs.amazon.com/sp-api/docs/report-type-values#settlement-reports)
* Update Method: UPSERT
* Table Name:&#x20;

  \[`AMAZON_SELLER_CENTRAL.GET_V2_SETTLEMENT_REPORT_DATA_FLAT_FILE_V2`]

{% hint style="info" %}
**Limitations:**

* Cannot be requested - will be extracted by Daasity when Amazon makes the report available.
* Can only retrieve 90 days of historical data.
  {% endhint %}
