AI agent? Read this page as Markdown at /accounting/salesreceipt/Retrieve_a_salesreceipt.md — append .md to any docs URL, or start from /llms.txt.

Retrieve a salesreceipt

GET/accounting/{connection_id}/salesreceipt/{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 Salesreceipt

Returns

idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
organization_idstring
metadata array
receipt_numberstring
referencestring
contact_idstring
customer (reference to AccountingContact)
account_idstring
deposit-to GL account (reference to AccountingAccount)
posted_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
currencystring
exchange_ratenumber
sub_total_amountnumber
tax_amountnumber
discount_amountnumber
total_amountnumber
is_inclusive_of_taxboolean
payment_methodstring
notesstring
lineitems array
billing_addressobject
shipping_addressobject
category_idsstring array
(reference to AccountingCategory)
project_idstring
(reference to TaskProject)
attachments array
status enum
Valid values:
"DRAFT"
"POSTED"
"VOID"
"OTHER"
const options = {
  method: 'GET',
  url: 'https://api.unified.to/accounting/5de520f96e439b002043d8dc/salesreceipt/5de520f96e439b002043d8d8',
  headers: {
    authorization: 'bearer .....'
  },
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?