fix(core): update

This commit is contained in:
2024-04-22 16:30:55 +02:00
commit 8bde0f1d21
17 changed files with 5351 additions and 0 deletions

33
ts/interfaces.ts Normal file
View 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;
}