@openade/common
Version:
Common types, validators, and XML builders for Italian fiscal receipts
27 lines • 700 B
TypeScript
export type PartitaIVA = string;
export type CodiceFiscale = string;
export type CountryCode = string;
export type CurrencyCode = string;
export type ISODate = string;
export type ISODateTime = string;
export interface Address {
indirizzo: string;
numeroCivico?: string;
cap: string;
comune: string;
provincia?: string;
nazione: CountryCode;
}
export interface ErrorResponse {
codice: string;
descrizione: string;
dettaglio?: string;
}
export interface TransmissionOutcome {
identificativoSdi: string;
codiceEsito: string;
descrizioneEsito: string;
dataOraRicezione: ISODateTime;
errori?: ErrorResponse[];
}
//# sourceMappingURL=common.d.ts.map