@hatang/sdk
    Preparing search index...

    Interface PaymentInvoice

    interface PaymentInvoice {
        error: string | null;
        failed_step: string | null;
        id: string | null;
        issued_at: string | null;
        lookup_code: string | null;
        mode: "draft" | "publish" | null;
        number: string | null;
        pdf_url: string | null;
        requested: boolean;
        series: string | null;
        status: EinvoiceStatus | "waiting_for_payment";
        sync_state: "in_sync" | "pending_push" | "conflict" | null;
        tax_authority_code: string | null;
        template: InvoiceTemplateRef | null;
    }
    Index
    error: string | null
    failed_step: string | null
    id: string | null
    issued_at: string | null
    lookup_code: string | null
    mode: "draft" | "publish" | null
    number: string | null
    pdf_url: string | null
    requested: boolean
    series: string | null
    status: EinvoiceStatus | "waiting_for_payment"

    waiting_for_payment / creating: no invoice yet; failed without an id: no e-invoice provider connected.

    sync_state: "in_sync" | "pending_push" | "conflict" | null
    tax_authority_code: string | null
    template: InvoiceTemplateRef | null