Pennylane API Client
    Preparing search index...

    Variable FinalizeCustomerInvoiceResponseSchemaConst

    FinalizeCustomerInvoiceResponseSchema: Struct<
        {
            amount: typeof String$;
            appendices: Struct<{ url: typeof String$ }>;
            archived_at: NullOr<typeof String$>;
            billing_subscription: NullOr<Struct<{ id: typeof Number$ }>>;
            categories: Struct<{ url: typeof String$ }>;
            created_at: typeof String$;
            credited_invoice: NullOr<
                Struct<{ id: typeof Number$; url: typeof String$ }>,
            >;
            currency: typeof String$;
            currency_amount: typeof String$;
            currency_amount_before_tax: typeof String$;
            currency_tax: typeof String$;
            custom_header_fields: Struct<{ url: typeof String$ }>;
            customer: NullOr<Struct<{ id: typeof Number$; url: typeof String$ }>>;
            customer_invoice_template: NullOr<Struct<{ id: typeof Number$ }>>;
            date: NullOr<typeof String$>;
            deadline: NullOr<typeof String$>;
            discount: Struct<
                { type: Literal<["absolute", "relative"]>; value: typeof String$ },
            >;
            draft: typeof Boolean$;
            e_invoicing: NullOr<
                Struct<
                    {
                        reason: NullOr<typeof String$>;
                        status: Literal<
                            [
                                "accepted",
                                "approved",
                                "collected",
                                "in_dispute",
                                "partially_collected",
                                "refused",
                                "rejected",
                                "sent",
                                "submitted",
                            ],
                        >;
                    },
                >,
            >;
            exchange_rate: typeof String$;
            external_reference: typeof String$;
            filename: NullOr<typeof String$>;
            id: typeof Number$;
            invoice_line_sections: Struct<{ url: typeof String$ }>;
            invoice_lines: Struct<{ url: typeof String$ }>;
            invoice_number: typeof String$;
            label: NullOr<typeof String$>;
            language: Literal<["fr_FR", "en_GB"]>;
            ledger_entry: Struct<{ id: typeof Number$ }>;
            matched_transactions: Struct<{ url: typeof String$ }>;
            paid: typeof Boolean$;
            payments: Struct<{ url: typeof String$ }>;
            pdf_description: NullOr<typeof String$>;
            pdf_invoice_free_text: typeof String$;
            pdf_invoice_subject: typeof String$;
            public_file_url: NullOr<typeof String$>;
            quote: NullOr<Struct<{ id: typeof Number$ }>>;
            remaining_amount_with_tax: NullOr<typeof String$>;
            remaining_amount_without_tax: NullOr<typeof String$>;
            special_mention: NullOr<typeof String$>;
            status: Literal<
                [
                    "archived",
                    "incomplete",
                    "cancelled",
                    "paid",
                    "partially_paid",
                    "partially_cancelled",
                    "upcoming",
                    "late",
                    "draft",
                    "credit_note",
                ],
            >;
            tax: typeof String$;
            transaction_reference: NullOr<
                Struct<
                    {
                        banking_provider: typeof String$;
                        provider_field_name: typeof String$;
                        provider_field_value: typeof String$;
                    },
                >,
            >;
            updated_at: typeof String$;
        },
    > = CustomerInvoiceSchema

    Response schema for finalizing a customer invoice.