curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#DYNAMICS_BUSINESS_CENTRAL_UPDATE_PURCHASE_INVOICE_LINE_ITEM' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "DYNAMICS_BUSINESS_CENTRAL_UPDATE_PURCHASE_INVOICE_LINE_ITEM",
"parameters": {
"purchaseInvoiceLineId": "<string>",
"lineType": "Item",
"resourceNumber": "<string>",
"lineDescription": "<string>",
"quantity": "<string>",
"unitCost": "<string>",
"accountId": "<string>",
"measureCodeUnit": "<string>",
"taxPercent": "<string>",
"taxGroupCode": "<string>",
"purchaseInvoiceLineAdditionalFields": {}
}
}
'curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#DYNAMICS_BUSINESS_CENTRAL_UPDATE_PURCHASE_INVOICE_LINE_ITEM' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "DYNAMICS_BUSINESS_CENTRAL_UPDATE_PURCHASE_INVOICE_LINE_ITEM",
"parameters": {
"purchaseInvoiceLineId": "<string>",
"lineType": "Item",
"resourceNumber": "<string>",
"lineDescription": "<string>",
"quantity": "<string>",
"unitCost": "<string>",
"accountId": "<string>",
"measureCodeUnit": "<string>",
"taxPercent": "<string>",
"taxGroupCode": "<string>",
"purchaseInvoiceLineAdditionalFields": {}
}
}
'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
Purchase Invoice Line ID : The record ID of the Purchase Invoice Line to update.
Line Type
Item, Resource, Comment, Account, Fixed Asset, Charge Number : Specify the number of the item, account, resource, charge, or fixed asset associated with the Purchase Invoice Line. Items and resources will be created if they do not exist. (example: "1896-S")
Description (example: "ATHENS Desk")
Quantity (example: "20")
Unit Cost (example: "10.99")
Account ID : Specify the ID of the Account that the Purchase Invoice Line is related to. (example: "00000000-0000-0000-0000-000000000000")
Unit of Measure Code (example: "PCS")
Tax Percent (example: "6.00004")
Tax Group Code (example: "FURNITURE")
Additional Fields : Specify additional fields to include on this Purchase Invoice Line as JSON. See the docs (https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_purchaseinvoiceline) for available fields. (example: "{ documentId: "5d115c9c-44e3-ea11-bb43-000d3a2feca1", }")
Success
Was this page helpful?