{"title":"salesCreditMemo resource type","url":"https://jonas-paprotka.de/docs/dev-itpro/api-reference/v2.0/resources/dynamics_salescreditmemo/","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_salescreditmemo, 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_salescreditmemo","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 sales credit memo object in Dynamics 365 Business Central.","date":"2026-08-21","meta":{"topic":"reference"},"outline":[{"level":1,"title":"salesCreditMemo resource type","slug":"salescreditmemo-resource-type","at":0,"chars":8030},{"level":2,"title":"Methods","slug":"methods","at":242,"chars":434},{"level":2,"title":"Bound actions","slug":"bound-actions","at":676,"chars":1910},{"level":2,"title":"Navigation","slug":"navigation","at":2586,"chars":999},{"level":2,"title":"Properties","slug":"properties","at":3585,"chars":2701},{"level":2,"title":"JSON representation","slug":"json-representation","at":6286,"chars":1524},{"level":2,"title":"Related information","slug":"related-information","at":7810,"chars":220}],"text":"# salesCreditMemo resource type\nRepresents a sales credit memo 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_salescreditmemo_get|salesCreditMemo|Gets a sales credit memo object.\n../api/dynamics_salescreditmemo_delete|none|Deletes a sales credit memo object.\nPOST salesCreditMemo<../api/dynamics_salescreditmemo_create>|salesCreditMemo|Creates a sales credit memo object.\nPATCH salesCreditMemo<../api/dynamics_salescreditmemo_update>|salesCreditMemo|Updates a sales credit memo object.\n## Bound actions\nThe salesCreditMemo resource type offers a bound action called cancelAndSend, which cancels and sends the corresponding salesCreditMemo batch.\nThis is illustrated in the following example:\n`CANCELANDSEND https://<server address>:<server API port>/<server instance name>/api/v2.0/companies({id})/salesCreditMemos({id})/Microsoft.NAV.cancelAndSend`\nThe response has no content; the response code is 204.\nThe salesCreditMemo resource type offers a bound action called cancel, which cancels the corresponding salesCreditMemo batch.\nThis is illustrated in the following example:\n`CANCEL https://<server address>:<server API port>/<server instance name>/api/v2.0/companies({id})/salesCreditMemos({id})/Microsoft.NAV.cancel`\nThe response has no content; the response code is 204.\nThe salesCreditMemo resource type offers a bound action called post, which posts the corresponding salesCreditMemo batch.\nThis is illustrated in the following example:\n`POST https://<server address>:<server API port>/<server instance name>/api/v2.0/companies({id})/salesCreditMemos({id})/Microsoft.NAV.post`\nThe response has no content; the response code is 204.\nThe salesCreditMemo resource type offers a bound action called postAndSend, which posts and sends the corresponding salesCreditMemo batch.\nThis is illustrated in the following example:\n`POSTANDSEND https://<server address>:<server API port>/<server instance name>/api/v2.0/companies({id})/salesCreditMemos({id})/Microsoft.NAV.postAndSend`\nThe response has no content; the response code is 204.\nThe salesCreditMemo resource type offers a bound action called send, which sends the corresponding salesCreditMemo batch.\nThis is illustrated in the following example:\n`SEND https://<server address>:<server API port>/<server instance name>/api/v2.0/companies({id})/salesCreditMemos({id})/Microsoft.NAV.send`\nThe response has no content; the response code is 204.\n## Navigation\nNavigation|Return Type|Description\ndynamics_customer|customer|Gets the customer of the salesCreditMemo.\ndynamics_dimensionvalue|dimensionValue|Gets the dimensionvalue of the salesCreditMemo.\ndynamics_currency|currency|Gets the currency of the salesCreditMemo.\ndynamics_paymentterm|paymentTerm|Gets the paymentterm of the salesCreditMemo.\ndynamics_shipmentmethod|shipmentMethod|Gets the shipmentmethod of the salesCreditMemo.\ndynamics_customerreturnreason|customerReturnReason|Gets the customerreturnreason of the salesCreditMemo.\ndynamics_dimensionsetline|dimensionSetLines|Gets the dimensionsetlines of the salesCreditMemo.\ndynamics_salescreditmemoline|salesCreditMemoLines|Gets the salescreditmemolines of the salesCreditMemo.\ndynamics_pdfdocument|pdfDocument|Gets the pdfdocument of the salesCreditMemo.\ndynamics_attachment|attachments|Gets the attachments of the salesCreditMemo.\ndynamics_documentattachment|documentAttachments|Gets the documentattachments of the salesCreditMemo.\n## Properties\n|Property|Type|Description|\n|id|GUID|The unique ID of the sales credit memo. Non-editable.|\n|number|string|Specifies the number of the sales credit memo.|\n|externalDocumentNumber|string|Specifies an external document number for the sales credit memo.|\n|creditMemoDate|date|The credit memo date.|\n|postingDate|date|The date that the sales credit memo is posted.|\n|dueDate|date|T he date the sales credit memo is due.|\n|customerId|GUID|The unique ID of customer.|\n|customerNumber|string|The customer's number.|\n|customerName|string|The customer's name.|\n|billToName|string|Bill to name.|\n|billToCustomerId|GUID|Bill to customer id.|\n|billToCustomerNumber|string|Bill to customer number.|\n|sellToAddressLine1|string|Sell to address line 1.|\n|sellToAddressLine2|string|Sell to address line 2.|\n|sellToCity|string|Sell to city.|\n|sellToCountry|string|Sell to country.|\n|sellToState|string|Sell to state.|\n|sellToPostCode|string|Sell to post code.|\n|billToAddressLine1|string|Bill to address line 1.|\n|billToAddressLine2|string|Bill to address line 2.|\n|billToCity|string|Bill to city.|\n|billToCountry|string|Bill to country.|\n|billToState|string|Bill to state.|\n|billToPostCode|string|Bill to post code.|\n|shortcutDimension1Code|string||\n|shortcutDimension2Code|string||\n|currencyId|GUID|Specifies which currency the sales credit memo uses.|\n|currencyCode|string|The default currency code for the sales credit memo.|\n|paymentTermsId|GUID|Specifies which payment term the sales credit memo uses.|\n|shipmentMethodId|GUID|Specifies which shipment method the sales credit memo uses.|\n|salesperson|string|The salesperson code for the sales credit memo.|\n|pricesIncludeTax|boolean|Specifies whether the prices include Tax or not. Read-Only.|\n|discountAmount|decimal|The sales credit memo discount amount.|\n|discountAppliedBeforeTax|boolean|Specifies whether the discount is applied before tax.|\n|totalAmountExcludingTax|decimal|The total amount excluding tax. Read-Only.|\n|totalTaxAmount|decimal|The total tax amount for the sales credit memo. Read-Only.|\n|totalAmountIncludingTax|decimal|The total amount including tax. Read-Only.|\n|status|NAV.salesCrMemoEntityBufferStatus|Specifies the status of the sales credit memo. It can be \"Draft\" , \"In Review\", \"Open\", \"Canceled\", \"Corrective\", or \"Paid\".|\n|lastModifiedDateTime|datetime|The last datetime the sales credit memo was modified. Read-Only.|\n|invoiceId|GUID|The unique ID of invoice.|\n|invoiceNumber|string|The sales invoice number that the sales credit memo is linked to.|\n|phoneNumber|string|Specifies the sales credit memo's telephone number.|\n|email|string|Specifies the sales credit memo's email address.|\n|customerReturnReasonId|GUID||\n## JSON representation\nHere's a JSON representation of the salesCreditMemo resource.\n```json\n{\n    \"id\": \"GUID\",\n    \"number\": \"string\",\n    \"externalDocumentNumber\": \"string\",\n    \"creditMemoDate\": \"date\",\n    \"postingDate\": \"date\",\n    \"dueDate\": \"date\",\n    \"customerId\": \"GUID\",\n    \"customerNumber\": \"string\",\n    \"customerName\": \"string\",\n    \"billToName\": \"string\",\n    \"billToCustomerId\": \"GUID\",\n    \"billToCustomerNumber\": \"string\",\n    \"sellToAddressLine1\": \"string\",\n    \"sellToAddressLine2\": \"string\",\n    \"sellToCity\": \"string\",\n    \"sellToCountry\": \"string\",\n    \"sellToState\": \"string\",\n    \"sellToPostCode\": \"string\",\n    \"billToAddressLine1\": \"string\",\n    \"billToAddressLine2\": \"string\",\n    \"billToCity\": \"string\",\n    \"billToCountry\": \"string\",\n    \"billToState\": \"string\",\n    \"billToPostCode\": \"string\",\n    \"shortcutDimension1Code\": \"string\",\n    \"shortcutDimension2Code\": \"string\",\n    \"currencyId\": \"GUID\",\n    \"currencyCode\": \"string\",\n    \"paymentTermsId\": \"GUID\",\n    \"shipmentMethodId\": \"GUID\",\n    \"salesperson\": \"string\",\n    \"pricesIncludeTax\": \"boolean\",\n    \"discountAmount\": \"decimal\",\n    \"discountAppliedBeforeTax\": \"boolean\",\n    \"totalAmountExcludingTax\": \"decimal\",\n    \"totalTaxAmount\": \"decimal\",\n    \"totalAmountIncludingTax\": \"decimal\",\n    \"status\": \"NAV.salesCrMemoEntityBufferStatus\",\n    \"lastModifiedDateTime\": \"datetime\",\n    \"invoiceId\": \"GUID\",\n    \"invoiceNumber\": \"string\",\n    \"phoneNumber\": \"string\",\n    \"email\": \"string\",\n    \"customerReturnReasonId\": \"GUID\"\n}\n```\n## Related information\n../api/dynamics_salescreditmemo_get\n../api/dynamics_salescreditmemo_delete\nPOST salesCreditMemo<../api/dynamics_salescreditmemo_create>\nPATCH salesCreditMemo<../api/dynamics_salescreditmemo_update>"}