Sales returns

A return of goods against a sale, with the quantities and the decision for each line.

Fields

The API name is what the API, MCP and the CLI use.

NameAPI nameTypeRequiredDescription
IDidRecord IDYes
NamelabelText
Return numberuidTextThe number is a human-readable, unique identifier for the record.
DaydateDateYesCalendar date for this value.
OrdersalesorderIdReferenceYes
CustomercustomerIdReferenceYes
BranchcustomerbranchIdReference
UseruserIdUser
Treasury accounttreasuryaccountIdReference
MethodmethodConstantFixed option from the allowed set for this field.
Refund amountamountCurrencyAmount to refund the customer for this return.
ReasonreasonConstantFixed option from the allowed set for this field.
TagstagIdsTags
DescriptiondescriptionText Area
DatadataData
Created bycreatedByUser
Created atcreatedAtDate and TimeYes
Updated byupdatedByUser
Updated atupdatedAtDate and TimeYes
Processed byprocessedByUser
Processed atprocessedAtDate and Time
Canceled bycanceledByUser
Canceled atcanceledAtDate and Time
Blocked byblockedByUser
Blocked atblockedAtDate and Time
Archived byarchivedByUser
Archived atarchivedAtDate and Time

Relations

Owned records (solid line) are deleted with their owner. Grouped records (dashed line) can exist alone.

FieldPoints toKind
Order salesorderIdSales ordersreference
Customer customerIdCustomersreference
Branch customerbranchIdCustomer branchesreference
User userIdUsersreference
Treasury account treasuryaccountIdTreasury accountsreference
Tags tagIdsTagsreference

Actions

What you can do with a record. Every action also sends the webhook event salesorderreturns.<action>. Reads (find, get, count) work on every table.

NameAPI nameDescriptionWhere
CreatecreateAdd a new return.App · API · MCP · CLI
EditupdateSave changes to this return.App · API · MCP · CLI
ProcessprocessPost this return. You cannot undo it.App · API · MCP · CLI
CancelcancelCancel the processed return and reverse the refund, credit note and stock receipt.App · API · MCP · CLI
BlockblockStop edits and deletion of this return. It stays visible and can still appear on existing documents. Unblock to edit again.App · API · MCP · CLI
UnblockunblockAllow edits and deletion of this return again.App · API · MCP · CLI
ArchivearchiveRetire this return from daily use. It leaves active lists and pickers, and most actions stop. Unarchive to restore it.App · API · MCP · CLI
RestoreunarchiveReturn this return to active lists and actions.App · API · MCP · CLI
DeletedeleteDelete this return and the data that belongs with it. This cannot be undone.App · API · MCP · CLI

States

How a record moves from state to state. Archive and block can happen in any state.

ProcessCancelCreatedProcessedProcessed · Canceled