Purchase Quotes Realtime-enabled
GETPOSTPATCHDELETETable: Purchase Header
Read and write Purchase Quotes. This is the Purchase Header filtered to Document Type = Quote, the same physical table behind orders and invoices, scoped to quotes here. POST a whole document (header plus purchaseQuoteLines) in one call; the document type is stamped for you on insert.
Resolve the vendor
You do not need the Business Central vendor number. Send any one of vendorNumber, vendorId, or vendorIntegrationId. The last is a res field that looks the vendor up by its integrationId and sets Buy-from Vendor No. for you. See resolvers.
Create a quote
POST/purchaseQuotes
{
"vendorIntegrationId": "ACME-001",
"integrationId": "PQ-1000",
"purchaseQuoteLines": [
{ "itemNumber": "1000", "quantity": 100, "directUnitCost": 4.50 }
]
}Currency
currencyCode uses the ISO code (e.g. USD). The local currency (LCY) round-trips as an empty string, not its ISO code. Send "" for documents in your home currency.
Bound actions
release performs a manual release and reopen returns a released quote to Open. Release a quote through the API when an approval flow needs it released and left for a person to finish.
POST/purchaseQuotes({id})/Microsoft.NAV.release
makeOrder converts the quote into a Purchase Order via the standard Purch.-Quote to Order process. The response redirects to the resulting record on the purchaseOrders entity set, not back to the quote.
POST/purchaseQuotes({id})/Microsoft.NAV.makeOrder
archive / cancel snapshot a version and keep the quote open, or archive then delete it (soft delete). See Archiving & cancelling.
amountExcludingTax, amountIncludingTax, netAmount, taxPercent) are read-only, Business Central computes them. Sending them is ignored.