curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#NETSUITE_CREATE_BILL' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "NETSUITE_CREATE_BILL",
"parameters": {
"entity": "<string>",
"tranDate": "<string>",
"postingPeriod": "<string>",
"itemsInput": {},
"subsidiary": "<string>",
"tranId": "<string>",
"dueDate": "<string>",
"userTotal": "<string>",
"approvalStatus": "2",
"memo": "<string>",
"billAdditionalFields": "<string>"
}
}
'curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#NETSUITE_CREATE_BILL' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "NETSUITE_CREATE_BILL",
"parameters": {
"entity": "<string>",
"tranDate": "<string>",
"postingPeriod": "<string>",
"itemsInput": {},
"subsidiary": "<string>",
"tranId": "<string>",
"dueDate": "<string>",
"userTotal": "<string>",
"approvalStatus": "2",
"memo": "<string>",
"billAdditionalFields": "<string>"
}
}
'Your Paragon User Token (JWT), which you can generate using your project's signing keys.
Your Paragon Project ID. You can copy your Project ID from your dashboard URL or by clicking Copy Project ID under the Environment switcher.
Show child attributes
Vendor : The vendor ID this bill is associated with.
Date : Accepts ISO 8601 date format. (example: "2022-01-31")
Posting Period : Select the period to which you want to post this transaction.
Expenses and Items : Enter an array of Expenses including the description, quantity, and amount for each Line item. See the docs (https://system.netsuite.com/help/helpcenter/en_US/APIs/REST_API_Browser/record/v1/2021.2/index.html#/definitions/vendorBill-expenseCollection) for available fields. (example: "[ { "account:"58", "amount": 30.99, "memo":"test" } ]")
Subsidiary : Enter the subsidiary ID to associate with this transaction. By default, the bill will use the Parent Company subsidiary.
Reference Number : Enter additional information to identify this transaction, such as the vendor's invoice number. This reference appears on reports such as the Accounts Payable Register.
Due Date : Accepts ISO 8601 date format. (example: "2022-01-31")
Amount (example: "25.00")
Approval Status (example: "Approved")
2, 1 Memo : Enter a memo that will appear on such reports as the 2-line Accounts Payable Register.
Additional Fields : Specify additional fields to include on this Bill as JSON. See the docs (https://system.netsuite.com/help/helpcenter/en_US/APIs/REST_API_Browser/record/v1/2021.2/index.html#/definitions/vendorBill) for available fields. (example: "[ { "vendorTaxItem": 10 }, ]")
Success
Was this page helpful?