Skip to content

Sales Credit Memos Realtime-enabled — SmartConnect can trigger on changesRealtime-enabled

GETPOSTPATCHDELETETable: Sales Header

eOne/core/v1.0/salesCreditMemos

Same shape as Sales Invoices, plus two credit-memo-only fields for binding the invoice being credited.

Apply to the original invoice

Bind the apply-to invoice with either field:

  • appliesToInvoiceNumber: the Business Central posted-invoice document number.
  • appliesToInvoiceIntegrationId: your external key; the endpoint looks up the posted invoice (whose Id was threaded on at post time) and sets the apply-to for you.
POST /salesCreditMemos
{
  "customerIntegrationId": "CRM-5567",
  "appliesToInvoiceIntegrationId": "SHOP-INV-9001",
  "salesCreditMemoLines": [ { "itemNumber": "1000", "quantity": 1 } ]
}

The work description

workDescription is the free-text note on the document, the same text the Work Description box shows on the sales credit memo in Business Central. Send it on create or update and SmartConnect replaces the whole note, send an empty string to clear it, and leave it out to keep what is already there. Every read returns it.

Bound actions

release / reopen (reopen returns a released document to Open) and post (post redirects to the resulting posted credit memo). archive / cancel snapshot a version and keep it open, or archive then delete (soft delete). See Archiving & cancelling.

Dimension columns shortcutDimension1Code–8Code are writable here — see Dimensions.