Jump to content

Recommended Posts

Posted

Hello,

I am getting this response while creating a  Sales Invoice . 

{
        "$severity""error",
        "$dataCode""Validation",
        "$message""artefact_number must be between 1 and 2147483647",
        "$source""artefact_number"
    }
 
 
The artefact_number field is not a part of the payload  for the POST    request to create a new invoice. 
  https://developer.sage.com/api/accounting/api/invoicing-sales/#operation/postSalesInvoices
 
What am I missing ? 
 
Thanks,
Sachin 
 
 
 
Posted

Mark,

Sorry for the delayed reply. I was able to figure this out.

Since this is a Create Invoice request, I figured that he Artefact number could mean Invoice Number. 

The Invoice number field type is String ,  however it worked when I used integer values.

 

Thanks,

Sachin

 

  • Like 1

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...