Skip to main content

Error “Document upload failed: The field 'Sales relation' is not allowed for the selected subject type”

Read here why this message may occur when processing a sales transaction in a company connected to AFAS.

Written by Jèsel Broekema

This error message occurs when exporting to AFAS if it was not possible to add an attachment to the sales transaction.

Are you working with AFAS Small Business?

In AFAS Small Business it is not possible to send transaction documents for sales transactions.

Solution: remove the 'Sales dossier item type' in the company settings. Go to Manage / Organisation / Companies, click 'Edit' and go to the tab 'AFAS'. When the number in 'Sales subject item type' is removed, transactions can still be exported without an attachment. The transaction document and attachments will of course remain available in the Zenvoices archive.

Are you working with AFAS Profit?

Consult the information in this article for more information.

Did this answer your question?