Get a purchase order by ID
Path parameters
purchase_order_id
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-version
x-monite-entity-id
The ID of the entity that owns the requested resource.
Response
Successful Response
id
A unique ID assigned to this purchase order.
created_at
Time at which the receivable was created. Timestamps follow the ISO 8601 standard.
updated_at
Time at which the receivable was last updated. Timestamps follow the ISO 8601 standard.
counterpart
Counterpart information about an organization (juridical person) or individual (natural person) that provides goods and services to or buys them from an
counterpart_id
Counterpart unique ID.
currency
The currency in which the price of the product is set. (all items need to have the same currency)
document_id
entity
Data of the entity (address, name, contact)
entity_id
The ID of the entity which issued the purchase order.
items
List of item to purchase
message
Msg which will be send to counterpart for who the purchase order is issued.
status
Purchase order can be in 'draft' state before sending it to counterpart. After that state is 'issued'
valid_for_days
Number of days for which purchase order is valid
counterpart_address
Counterpart address data saved on creation or update of the purchase order.
counterpart_address_id
The ID of counterpart address object stored in counterparts service. If not provided, counterpart's default address is used.
created_by_user_id
ID of the creator of the purchase order
entity_vat_id
file_id
file_url
issued_at
When status changed from 'draft' to 'send', so after sending purchase order
project_id
Project ID of a purchase order