AI agent? Read this page as Markdown at /accounting/purchasereceipt/Retrieve_a_purchasereceipt.md — append .md to any docs URL, or start from /llms.txt.
Retrieve a purchasereceipt
GET/accounting/{connection_id}/purchasereceipt/{id}
Parameters
fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Purchasereceipt
Returns
idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
organization_idstring
receipt_numberstring
contact_idstring
supplier (reference to AccountingContact)
purchaseorder_idstring
header when single-PO
posted_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
status enum
Valid values:
"POSTED"
"CANCELLED"
"OTHER"
currencystring
total_amountnumber
notesstring
supplier delivery note / packing slip / memo — NOT a separate reference field
const options = {
method: 'GET',
url: 'https://api.unified.to/accounting/5de520f96e439b002043d8dc/purchasereceipt/5de520f96e439b002043d8d8',
headers: {
authorization: 'bearer .....'
},
params: {
fields: '',
raw: '',
}
};
const results = await axios.request(options); Are we missing anything? Let us know