xMatix
Sign in Request demo
xMatix
PRODUCTS
SalesField Sales & SFACRMRewardsClaimsInventoryProcurementWarehouse ManagementField ServiceServiceSupportTelephony & MessagingFinance & AccountingPayrollExpense ManagementCommercePortalsAnalytics & ReportingData StudioMobile AppSee all products →
PLATFORM
Platform overviewApp BuilderAutomationIntegrationsSecurity & GovernanceChange ManagementDevelopers
SENSE AI
Sense AI overviewSense AssistSense ControlSense VisionAI StudioTrust & governanceIn Claude & ChatGPTUse cases
SOLUTIONS
Auto DMSConsumer Goods DMSSales Force Automation (SFA) FMCG & DistributionManufacturing & Dealer NetworksAutomotive & DealershipsPharma & HealthcareConsumer DurablesAgri-InputsBuilding MaterialsService NetworksWarehousing & 3PLFinancial AccountingERP SoftwareIndia GST ComplianceUAE VAT & e-InvoicingSaudi ZATCA & VATAll solutions →
RESOURCES
Knowledge CenterDeveloper & CLIBlogGuidesWhat is xMatix?Company facts
COMPANY
AboutCareersPartnersEventsContactAuthorsLegal
Sign in Request demo
Home/Docs/Entity Reference/Purchase Return — entity reference
REFERENCE · Last reviewed

Purchase Return — entity reference

An inert placeholder for a purchase return header. It is not a working return document. Apart from the base record fields it stores only a name and a label, with no supplier, company, branch, bill, item, quantity or amount. It is in no app, has no form or list, and no screen, action, job or service creates, reads or updates it. Its only structural use is as the target of the Purchase Return lookup on a claim, and that lookup is on no shipped claim form. Goods returned to a supplier are recorded as a credit note with Transaction Type BillReturn, which reduces the supplier's payable, reverses the purchase account and input tax, is applied to the bill it names, updates the returned quantity on the bill, purchase order and goods receipt lines, and is reported in GSTR-2B. Leave this entity unused.

Fields

FieldLabelTypeRequiredWhat it does
CreatedByIdCreated ByLookup → UserAccountYes
CreatedDateTimeCreated DateDateAndTimeYes
DocumentDateDocument DateDateNot stored. The field is declared in metadata but has no database column, so a value sent for it is dropped on save. A supplier return carries its date on the bill-return credit note that records it.
DueDateDue DateDateNot stored. The field is declared in metadata but has no database column, so a value sent for it is dropped on save. Supplier settlement dates live on the bill and its payments.
GeneralLedgerIdGeneral LedgerLookup → GeneralLedgerNot stored. The field is declared in metadata but has no database column, and nothing posts a journal for this entity. The accounting for a supplier return is posted from the bill-return credit note.
IdIdGuidYes
ModifiedByIdModified ByLookup → UserAccountYes
NameNameTextYesThe record's name. It is required by the base record, but because nothing creates purchase returns it stays empty on a standard tenant.
OwnerIdOwnerLookup → UserAccountYes
RecordTypeIdRecord TypeGuid, hidden
UIPropsUI PropsText
UpdatedDateTimeModified DateDateAndTimeYes

Actions

ActionLabelTypeWhat it does
CloneCloneServerAction (Clone)Create a copy of this record

Validations

ValidationApplies toError messageNotes
Document Date Rule ValidationDocumentDate, ErrorThe document date should not go beyond today's datePrevents backdated document date on new records
Due Date Rule ValidationDueDate, ErrorDue date should be a future dateEnsures due date is in the future