I have a 422 error on the Qonto - Create a Client Invoice module.
It is the last module of my scenario
It happens after a first Qonto module, Create a Client, that works perfectly fine: it creates the Client in my Qonto, so the Qonto integration works fine.
However, the Create a Client invoice does not work, as I get â[422] tin_number must have a value.â message error.
I have checked twice, no mandatory properties are missing on the module.
Do you have any tip to fix my scenario ?
Thank you so much for helping
Brendan
PS: the scenario will have several branches, thatâs why I already set up a router. But I will improve it only if I fix this issue
Error messages or input/output bundles
[422] tin_number must have a value. Origin: Qonto.
This is important, because Qonto only operates in specific countries, and requires a paid account. Therefore we canât simply create an account to take a look at the moduleâs fields before we can assist you.
To allow others to assist you, please provide the following:
1. All Relevant Screenshots
We need to see what youâre working with to give you the best advice. Screenshots are important because Make is a visual editor â a picture provides us with more context.
It would help us identify the issue by having screenshots of:
the full scenario, and the zoomed in parts of the scenario that you are referring to (if your scenario is huge),
a full scenario run/execution from the history (showing output âspeechâ bubbles),
relevant module fields (showing how youâve used any built-in functions, and how youâve mapped the variables),
relevant filters between modules (showing which operators and any built-in functions youâve used, and how youâve mapped the variables),
relevant module input/output bubbles,
if applicable, any error messages,
and if applicable, any external services (spreadsheet headers/ sample data/ regex101.com/ etc. to show the item/ record exists, and is set up correctly).
Need helpâView instructions â
We would appreciate it if you could directly upload screenshots here instead of linking to them outside of this forum. This allows us to zoom in on the image when clicked, and also having improved privacy from third-party sources.
Taking Screenshots
Microsoft Windows: Take screenshots using the âWindows Snipping Toolâ, by pressing either PrtScorWinShiftS keys on your keyboard.
MacOS: Take screenshots by pressing CommandShift4 keys on your keyboard.
Uploading Attachments
Drag image files directly into the rich-text editor, or
Click on the upload button in the editor toolbar to select files:
Sorry for the delay: actually, âtin_numberâ does not match any property of the Qonto module, neither any property within Qonto invoices (in their interface). It looks like itâs a missing âmandatoryâ property in the module itself⌠I have attached some screnshots as suggested by @samliew
I dunno if you can see the full scenario, but it goes like this:
Custom webhook from a Notion database called âDevisâ
Find Notion page âCompanyâ related to âDevisâ
Find Notion page âContactâ related to âDevisâ
Set variables (split Full name in First Name & Last Name)
Router (as I intend to have several routes in the future)
Create a new Client in Qonto
Update Notion âContactâ and âCompanyâ with Qonto ID generated in 6)
Create Qonto invoice with data from webhook and related to created Qonto client in 6)
Steps from 1 to 7 works perfectly fine, so the Qonto integration is OK imho.
Sorry if the screens do not help. The module has many fields, I made a video screenshot.
I am referring to Qonto Developers doc, just to check the POST method that I believe the module is âreproducingâ. It says that withholding tax is not mandatory. I have not found the âtin_numberâ anywhere in their documentation
I found the solution thanks to your phrase âTIN is a tax referenceâ. The error comes from the previous module, Create a Client in Qonto: it has a property âTax identification numberâ, not mandatory, that does not prevent Client creation in Qonto, but is asked (mandatory) in Qonto to create an Invoice !
I fixed it and now it works, so thank you guys for your answers & patience