@weiliang79/ubl-builder
Version:
Tool to create xml documents with UBL 2.1 standard
31 lines • 1.51 kB
TypeScript
import GenericAggregateComponent from './GenericAggregateComponent';
import { UdtIdentifier, UdtIndicator, UdtDate, UdtTime, UdtText, UdtCode } from '../types/UnqualifiedDataTypes';
import { DocumentReference } from './DocumentReferenceGroup';
type AllowedParams = {
/** An identifier for this order reference, assigned by the buyer */
id?: string | UdtIdentifier;
salesOrderID?: string | UdtIdentifier;
/** Indicates whether the referenced Order is a copy (true) or the original (false) */
copyIndicator?: string | boolean | UdtIndicator;
/** A universally unique identifier for this order reference. */
uuid?: string | UdtIdentifier;
/** The date on which the referenced Order was issued */
issueDate?: string | UdtDate;
/** The time at which the referenced Order was issued */
issueTime?: string | UdtTime;
/** Text used for tagging purchasing card transactions */
customerReference?: string | UdtText;
/** A code signifying the type of the referenced Order. */
orderTypeCode?: string | UdtCode;
/** A document associated with this reference to an Order */
documentReference?: DocumentReference;
};
/**
* http://www.datypic.com/sc/ubl21/e-cac_OrderReference.html
*/
declare class OrderReference extends GenericAggregateComponent {
constructor(content: AllowedParams);
setsalesOrderID(value: string | UdtIdentifier): this;
}
export { OrderReference, AllowedParams as OrderReferenceParams };
//# sourceMappingURL=OrderReference.d.ts.map