facturapi-es6
Version:
FacturAPI makes it easy for developers to generate valid Invoices in Mexico (known as Factura Electrónica or CFDI).
42 lines (41 loc) • 960 B
TypeScript
import { Address } from "./address";
import { Base } from "./base";
import { enums } from "./enums";
export declare type Organization = {
is_production_ready: boolean;
pending_steps: Pendingstep[];
legal: Legal;
customization: Customization;
certificate: Certificate;
} & Base;
export declare type Certificate = {
expires_at?: any;
updated_at?: any;
has_certificate: boolean;
};
export declare type Customization = {
has_logo: boolean;
color: string;
pdf_extra: Pdfextra;
};
export declare type Pdfextra = {
codes: boolean;
product_key: boolean;
};
export declare type Legal = {
name: string;
legal_name: string;
tax_id: string;
tax_system: enums.TaxSystem | string;
address: Address;
phone?: string;
website?: string;
};
export declare type Pendingstep = {
type: string;
description: string;
};
export declare type Keys = {
live_key: string;
test_key: string;
};