fix(core): update
This commit is contained in:
33
ts/interfaces.ts
Normal file
33
ts/interfaces.ts
Normal file
@ -0,0 +1,33 @@
|
||||
export interface IXInvoice {
|
||||
InvoiceNumber: string;
|
||||
DateIssued: string; // Date in ISO 8601 format
|
||||
Seller: IParty;
|
||||
Buyer: IParty;
|
||||
Items: IInvoiceItem[];
|
||||
TotalAmount: number;
|
||||
}
|
||||
|
||||
export interface IParty {
|
||||
Name: string;
|
||||
Address: IAddress;
|
||||
Contact: IContact;
|
||||
}
|
||||
|
||||
export interface IAddress {
|
||||
Street: string;
|
||||
City: string;
|
||||
PostalCode: string;
|
||||
Country: string;
|
||||
}
|
||||
|
||||
export interface IContact {
|
||||
Email: string;
|
||||
Phone: string;
|
||||
}
|
||||
|
||||
export interface IInvoiceItem {
|
||||
Description: string;
|
||||
Quantity: number;
|
||||
UnitPrice: number;
|
||||
TotalPrice: number;
|
||||
}
|
Reference in New Issue
Block a user