Purchase returns

A document for returning received goods to a supplier.

Fields

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

NameAPI nameTypeRequiredDescription
IDidRecord IDYes
NamelabelText
NumberuidTextThe number is a human-readable, unique identifier for the record.
DaydateDateYes
OrderpurchaseorderIdReferenceYes
SuppliersupplierIdReference
UseruserIdUser
Supplier referencesupplierReferenceText
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 purchaseorderIdPurchase ordersreference
Supplier supplierIdSuppliersreference
User userIdUsersreference
Tags tagIdsTagsreference

Actions

What you can do with a record. Every action also sends the webhook event purchaseorderreturns.<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 supplier credit and the stock issue.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 · CLI

States

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

ProcessCancelCreatedProcessedProcessed · Canceled