Pennylane API Client
    Preparing search index...

    Interface ImportSupplierInvoiceBody

    Payload for importing a supplier invoice with a previously uploaded file attached.

    interface ImportSupplierInvoiceBody {
        amount?: string;
        currency?: string;
        currency_amount: string;
        currency_amount_before_tax: string;
        currency_tax: string;
        date: string;
        deadline: string;
        external_reference?: string;
        file_attachment_id: number;
        import_as_incomplete?: boolean;
        invoice_lines: readonly ImportSupplierInvoiceLineBody[];
        invoice_number?: string;
        label?: string | null;
        supplier_id: number;
        tax?: string;
        transaction_reference?: ImportSupplierInvoiceTransactionReferenceBody;
    }
    Index

    Properties

    amount?: string
    currency?: string

    ISO 4217 currency code (e.g. EUR).

    currency_amount: string
    currency_amount_before_tax: string
    currency_tax: string
    date: string

    Invoice date (ISO 8601).

    deadline: string

    Payment deadline (ISO 8601).

    external_reference?: string
    file_attachment_id: number

    Identifier returned by FileAttachmentsApi.uploadFileAttachment.

    import_as_incomplete?: boolean
    invoice_lines: readonly ImportSupplierInvoiceLineBody[]
    invoice_number?: string
    label?: string | null
    supplier_id: number
    tax?: string

    Automatically reconcile the imported invoice with a transaction.