on 09-13-2023 2:48 PM
Hello!
I am trying to create an invoice from Goods Receipt via service layer .
The following request sent by postman does not work.
....:50000/b1s/v1/PurchaseInvoices
{ "CardCode": "S08102", "DocDueDate": "2023-08-08", "VatDate": "2023-09-13", "NumAtCard": "AG-2023-18a", "DocumentLines": [ { "BaseType": 20, "BaseEntry": 144535, "BaseLine": 0, "Quantity": "1", "UnitPrice": "580000", "ItemCode": "SM00007", "ProjectCode": "P989", "CostingCode": "S0999", "CostingCode2": "A9999", "AccountCode": "52922", "TaxCode": "B27" } ]}
Getting error in response:
{
"error": {
"code": -5002,
"message": {
"lang": "en-us",
"value": "Total length of the prefix, suffix and the numeric value cannot be greater than 20 characters "
}
}
}
If I omit the BaseType and BaseEntry, it works, but there is no connection with Goods Receipt. So there must be a problem with these fields
Could you please give me some idea about this issue?
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.