Hi,
My application forms rest requests and creates invoices
It working except one moment
Our client has added custom entity
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/045537e9-31f6-4fc9-8361-982d078db097.png)
There is opportunity to create Bill based on subcontract, when I am doing this in Acumatica interface everything works fine
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/a322e755-56db-4722-81e2-48ce08afc0ec.png)
I added those fields to endpoint
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/4daeeb46-542b-4901-b163-4e740dc91022.png)
and now trying to do same with rest request
Here is my request :
URL : https://mcicj.acumatica.com/entity/ARTSDocAlphaEndpoint/20.200.001/Bill
Body :
{
"VendorRef": {
"value": "1ABL-217i941"
},
"DueDate": {
"value": "3/2/2023"
},
"Vendor": {
"value": "V-06702"
},
"Date": {
"value": "1/31/2023"
},
"Terms": {
"value": "PWP"
},
"PostPeriod": {
"value": "01-2023"
},
"Details": [
{
"Description": {
"value": "Line 001 - Gypcrete"
},
"Qty": {
"value": 1
},
"UnitCost": {
"value": "34573.2"
},
"ExtendedCost": {
"value": "34573.2"
},
"Account": {
"value": "5430"
},
"SubcontractLine": {
"value": "1"
},
"SubcontractNbr": {
"value": "234567"
},
"rowNumber": {
"value": "1"
}
}
]
}
This request is workable and bill is successfully created
However, these new fields are not exported
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/f0aa5bdf-19da-4c3d-8aae-3d4d7b4edd63.png)
How to send these values to Acumatica, what should be done ?
Thanks in advance