Skip to content

E-invoicing

French electronic invoicing: Plateforme Agréée registrations and e-invoice imports. See also the invoice-level methods send_to_pa and import_e_invoice on CustomerInvoices and import_e_invoice / update_e_invoice_status on SupplierInvoices.

Bases: SyncAPIResource

Import e-invoice files (Factur-X, UBL, CII).

import_e_invoice

import_e_invoice(
    *,
    file: FileInput,
    type: str,
    filename: str | None = None,
) -> EInvoiceImport

Import an e-invoice file.

.. deprecated:: Pennylane has deprecated this endpoint.

Beta: undocumented endpoint, subject to change.

Scope: e_invoices:all. Reference: https://pennylane.readme.io/reference/createeinvoiceimport

Parameters:

Name Type Description Default
file FileInput

The invoice file to import: a Factur-X PDF, a UBL XML invoice, or a CII XML invoice.

required
type str

The type of the invoice, "customer" or "supplier".

required
filename str | None

Overrides the filename sent to the API.

None

Bases: SyncAPIResource

List Plateforme Agréée (PA) registrations for the company.

list

list() -> SyncCursorPage[PaRegistration]

List PA registrations for the company.

Scope: pa_registrations:readonly. Reference: https://pennylane.readme.io/reference/getparegistrations