{"title":"customerSale resource type","url":"https://jonas-paprotka.de/docs/dev-itpro/api-reference/v2.0/resources/dynamics_customersale/","by":"JOP-AL","license":"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.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_customersale","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"A customer sale object in Dynamics 365 Business Central.","date":"2026-08-21","meta":{"topic":"reference"},"outline":[{"level":1,"title":"customerSale resource type","slug":"customersale-resource-type","at":0,"chars":966},{"level":2,"title":"Methods","slug":"methods","at":235,"chars":117},{"level":2,"title":"Properties","slug":"properties","at":352,"chars":310},{"level":2,"title":"JSON representation","slug":"json-representation","at":662,"chars":249},{"level":2,"title":"Related information","slug":"related-information","at":911,"chars":55}],"text":"# customerSale resource type\nRepresents a customer sale in Business Central.\n> NOTE\n> For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central<../enabling-apis-for-dynamics-nav>.\n## Methods\nMethod|Return Type|Description\n../api/dynamics_customersale_get|customerSale|Gets a customer sale object.\n## Properties\nProperty|Type|Description\ncustomerId|GUID|The unique ID of customer.\ncustomerNumber|string|The customer's number.\nname|string|Represents the customer sale's name.\ntotalSalesAmount|decimal|Represents the customer sales.\ndateFilter_FilterOnly|date|Represents the date filter for the customer sale.\n## JSON representation\nHere's a JSON representation of the customerSale resource.\n```json\n{\n    \"customerId\": \"GUID\",\n    \"customerNumber\": \"string\",\n    \"name\": \"string\",\n    \"totalSalesAmount\": \"decimal\",\n    \"dateFilter_FilterOnly\": \"date\"\n}\n```\n## Related information\n../api/dynamics_customersale_get"}