Legacy Data Import

For new mandates and switching from another provider might require an data of previously submitted invoices for submitting new Credit notes.

Invoice

Changes to generic fields

This route operates with a slightly narrower data model, and include the following required fields:

  • ref
  • issued
  • recipient.taxId
  • recipient.name
  • total.amount
  • lines[].description
  • lines[].quantity
  • lines[].price.amount
  • lines[].vat.amount
  • lines[].vat.type
  • lines[].vat.code
  • routeAs
type Invoice {
  // Subset of generic fields
  ref: string;
  issued: string;
  recipient: {
    taxId: string;
    name: string;
  };
  total: {
    amount: number;
  };
  lines: {
    description: string;
    quantity: number;
    price: {
      amount: number;
    };
    vat: {
      amount: number;
      type: string;
      code: string;
    };
  }[];

  // Route-specific fields
  routeAs: 'LEGACY_DATA';
}

Field information

NameTypeRequiredDescription
routeAsstringYesFixed value: LEGACY_DATA

Example CSV file

Invoice - Legacy Data Import.csv