Skip to content

Conversation

sebastianMindee
Copy link

@sebastianMindee sebastianMindee commented Aug 29, 2025

Summary

Context: Mindee will EOL the support for its old syntax in favor of the V2 before the end of 2025.

Summary

  • Deprecate usage of receipts/invoice selector
  • Add model selection
  • Add v2-exclusive options
  • Remove soon-to-be deprecated tests
  • Update deprecated API calls
  • Refactor the Mindee node internals
  • Expose direct JSON results instead of sanitized data

Note: Docs not finished, no tests yet bc of credentials.

Related Linear tickets, Github issues, and Community forum posts

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@n8n-assistant n8n-assistant bot added community Authored by a community member node/improvement New feature or request in linear Issue or PR has been created in Linear for internal review labels Aug 29, 2025
@Joffcom
Copy link
Member

Joffcom commented Aug 29, 2025

Hey @sebastianMindee,

Thank you for your contribution. We appreciate the time and effort you’ve taken to submit this pull request.

Before we can proceed, please ensure the following:
• Tests are included for any new functionality, logic changes or bug fixes.
• The PR aligns with our contribution guidelines.

Regarding new nodes:
We no longer accept new nodes directly into the core codebase. Instead, we encourage contributors to follow our Community Node Submission Guide to publish nodes independently.

If your node integrates with an AI service that you own or represent, please email nodes@n8n.io and we will be happy to discuss the best approach.

About review timelines:
This PR has been added to our internal tracker as "GHC-4120". While we plan to review it, we are currently unable to provide an exact timeframe. Our goal is to begin reviews within a month, but this may change depending on team priorities. We will reach out when the review begins.

Thank you again for contributing to n8n.

Copy link
Member

@Joffcom Joffcom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use the full node versioning to avoid any breaking changes before the endpoint is removed.

@@ -5,10 +5,10 @@ import type {
INodeProperties,
} from 'n8n-workflow';

export class MindeeInvoiceApi implements ICredentialType {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change and should be avoided, I would keep the name the same. It also looks like w ealready support the Authorization header so likely won't need to change this at all.


const version = this.getNodeParameter('apiVersion', 0) as number;
// V1 of mindee is deprecated, we are keeping it for now but now V3 is active
const url =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid breaking changes

@@ -1,22 +1,24 @@
// eslint-disable-next-line import-x/no-extraneous-dependencies
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be needed, Avoid disabling eslint rules where possible


export class Mindee implements INodeType {
description: INodeTypeDescription = {
displayName: 'Mindee',
name: 'mindee',
icon: 'file:mindee.svg',
group: ['input'],
version: [1, 2, 3],
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
version: [1, 2, 3, 4],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change should really be a full version, Create a v2 folder and avoid changing any of the code here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Authored by a community member in linear Issue or PR has been created in Linear for internal review node/improvement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants