import type { DocumentWithPositions, DocumentWithPositionsPatch, EntityRef, HasVat } from '.'; import type { OptionalNullablePartial } from '../tools'; export type ReturnMetaType = 'salesreturn' | 'retailsalesreturn'; export type AbstractReturnFields = { demand: EntityRef<'demand'>; }; export type AbstractReturn = DocumentWithPositions & HasVat; export type AbstractReturnPatch = DocumentWithPositionsPatch & OptionalNullablePartial> & Partial;