# customerSale resource type
Represents a customer sale in Business Central.
> NOTE
> For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central<../enabling-apis-for-dynamics-nav>.
## Methods
Method|Return Type|Description
../api/dynamics_customersale_get|customerSale|Gets a customer sale object.
## Properties
Property|Type|Description
customerId|GUID|The unique ID of customer.
customerNumber|string|The customer's number.
name|string|Represents the customer sale's name.
totalSalesAmount|decimal|Represents the customer sales.
dateFilter_FilterOnly|date|Represents the date filter for the customer sale.
## JSON representation
Here's a JSON representation of the customerSale resource.
```json
{
    "customerId": "GUID",
    "customerNumber": "string",
    "name": "string",
    "totalSalesAmount": "decimal",
    "dateFilter_FilterOnly": "date"
}
```
## Related information
../api/dynamics_customersale_get

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_customersale, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/api-reference/v2.0/resources/dynamics_customersale/
