Delete
/softera/softeraEInvoice/v2.0/companies({companyId})/salesCreditMemos({salesCreditMemoId})/salesCreditMemoLines({salesCreditMemoLineId})
Deletes a line of the sales credit memo. Lines can only be created, modified or deleted while the credit memo is a draft (not posted).
Security
OAuth
FlowClient Credentials
Token URLhttps://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token
Scopes:
https://api.businesscentral.dynamics.com/.defaultGrants the permissions assigned to the Microsoft Entra ID application in Business Central
Header parameters
If-Match
stringRequired
ETag for concurrency (use * to force update)
Path parameters
companyId
string (uuid) Required
GUID for targeted Company
Example54c4066e-2b2b-4118-ac75-7dfea25be205
salesCreditMemoId
string (uuid) Required
SystemId (GUID) of the sales credit memo
Example1ef44eac-0700-4693-89c3-99e20ca6cb13
salesCreditMemoLineId
string (uuid) Required
SystemId (GUID) of the sales credit memo line
Example6b1d9e3a-1f12-f011-9346-002248a0b478
Responses
204
No Content
401
Unauthorized
Headers
WWW-Authenticate
string
object
error
object
code
string
Default"Unauthorized"
message
string
Default"The credentials provided are incorrect"
404
Not Found
object
error
object
code
string
ExampleBadRequest_ResourceNotFound
message
string
ExampleResource not found for the segment 'dimensionValues'. CorrelationId: fc7b9039-73d9-48d2-a9d3-9a8e0f8b91da.