Cannot create invoice! Status: 401

Modified on Mon, 16 Oct, 2023 at 10:07 PM


This type of error occurs when the login data is incorrect, no longer valid, or the SmartBill subscription has expired.


Step 1


Check all the possible causes:


  • Check if your SmartBill subscription is still active - did you pay your last invoice?


  • Check if your API key subscription is still active (if you generate more than x invoices through the API, it is possible that you may lose access to the API, and a fee may be required)


  • Check if the Username and the Password are correct by accessing the SmartBill platform with the same credentials. If you receive a login error, search for the correct username and password and retry. 


  • Check if the API token filled in xConnector is the same as the API token assigned to your user in the SmartBill platform.


  • Check if your SmartBill subscription has expired. If it is no longer valid, you must extend the subscription.


  • Check if the subscription also includes access to the invoice service API. You must have it in your subscription plan if it is not included. 



Step 2


Ask at the support centre SmartBill if your subscription or API key subscription is still active. 


Go to xConnector, and fill in the correct login data: Username, Password, and API token. 


xConnector > Profile > Connected services > SmartBill 


Click on Test connection, and you'll receive a Successful connection message. 


Click Connect to download the last SmartBill configuration and verify it at the Invoice preferences tab.








Click on the Save button.



Now you can generate invoices.





Feel free to contact us if you need any further information:


Chat: click on the blue chat icon (bottom-right)

E-mail: support@xconnector.app

Phone+4 0373 747 991



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article