Skip to main content
GET
/
public
/
v2
/
purchase-orders
/
{record_number}
Get PurchaseOrder record
curl --request GET \
  --url https://api.dualentry.com/public/v2/purchase-orders/{record_number}/ \
  --header 'X-API-KEY: <api-key>'
{
  "term_id": 123,
  "term_name": "<string>",
  "internal_id": 123,
  "number": 123,
  "date": "2023-12-25",
  "company_id": 123,
  "company_name": "<string>",
  "company_currency": "<string>",
  "vendor_id": 123,
  "vendor_name": "<string>",
  "exchange_rate": "<string>",
  "billed_total": "<string>",
  "due_total": "<string>",
  "amount": "<string>",
  "memo": "<string>",
  "items": [
    {
      "classifications": [
        {
          "id": 123,
          "name": "<string>",
          "line_id": 123,
          "line_name": "<string>",
          "parent_classification_id": 123,
          "parent_classification_line_id": 123
        }
      ],
      "id": 123,
      "item_id": 123,
      "position": 123,
      "memo": "<string>",
      "quantity": "<string>",
      "rate": "<string>",
      "quantity_billed": "<string>",
      "quantity_due": "<string>",
      "net_amount": "<string>",
      "tax_amount": "<string>",
      "gross_amount": "<string>",
      "amount": "<string>",
      "item_type": "<string>",
      "hsn_sac_code": "<string>",
      "tax": {
        "code": "<string>",
        "rate": "<string>",
        "amount": "<string>",
        "is_taxable": true,
        "tax_exempt_amount": "<string>",
        "vat_rate_id": 123,
        "gst_tax_rate_id": 123,
        "tax_components": [
          {
            "rate": "<string>",
            "amount": "<string>",
            "position": 123,
            "region": "<string>"
          }
        ],
        "amount_with_tax": "<string>",
        "rate_name": "<string>",
        "rate_type": "<string>",
        "tax_treatment": "<string>"
      }
    }
  ],
  "attachments": [],
  "created_by": {
    "actor_type": "<string>",
    "email": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "timestamp": "2023-11-07T05:31:56Z"
  },
  "updated_by": {
    "actor_type": "<string>",
    "email": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "timestamp": "2023-11-07T05:31:56Z"
  },
  "approval_status": "<string>",
  "next_approvers": [
    {
      "id": 123,
      "first_name": "<string>",
      "last_name": "<string>",
      "email": "<string>",
      "full_name": "<string>",
      "avatar_url": "<string>"
    }
  ],
  "rejected_by": {
    "id": 123,
    "first_name": "<string>",
    "last_name": "<string>",
    "email": "<string>",
    "full_name": "<string>",
    "rejection_reason": "<string>"
  },
  "reference_number": ""
}

Documentation Index

Fetch the complete documentation index at: https://docs.dualentry.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-KEY
string
header
required

Path Parameters

record_number
integer
required

The number attribute of the record.

Query Parameters

search
string | null
company_id
integer[] | null
number
integer[] | null
vendor_id
integer[] | null
start_date
string<date> | null
end_date
string<date> | null
record_status
enum<string>[] | null
Available options:
draft,
posted,
archived
approval_status
string[] | null
billed
boolean | null
unbilled
boolean | null
partially_billed
boolean | null
billed_status
enum<string>[]
Available options:
billed,
unbilled,
partially_billed

Response

OK

term_id
integer | null
required
term_name
string
required
internal_id
integer
required
number
integer
required
date
string<date>
required
company_id
integer
required
company_name
string
required

Name of the company

company_currency
string
required
vendor_id
integer
required
vendor_name
string
required
currency_iso_4217_code
enum<string>
required
Available options:
AED,
AFN,
ALL,
AMD,
ANG,
AOA,
ARS,
AUD,
AWG,
AZN,
BAM,
BBD,
BDT,
BGN,
BHD,
BIF,
BMD,
BND,
BOB,
BRL,
BSD,
BTN,
BWP,
BYN,
BZD,
CAD,
CDF,
CHF,
CLF,
CLP,
CNY,
COP,
CRC,
CUP,
CVE,
CZK,
DJF,
DKK,
DOP,
DZD,
EGP,
ERN,
ETB,
EUR,
FJD,
FKP,
GBP,
GEL,
GHS,
GIP,
GMD,
GNF,
GTQ,
GYD,
HKD,
HNL,
HTG,
HUF,
IDR,
ILS,
INR,
IQD,
IRR,
ISK,
JMD,
JOD,
JPY,
KES,
KGS,
KHR,
KMF,
KPW,
KRW,
KWD,
KYD,
KZT,
LAK,
LBP,
LKR,
LRD,
LSL,
LYD,
MAD,
MDL,
MGA,
MKD,
MMK,
MNT,
MOP,
MRU,
MUR,
MVR,
MWK,
MXN,
MYR,
MZN,
NAD,
NGN,
NIO,
NOK,
NPR,
NZD,
OMR,
PAB,
PEN,
PGK,
PHP,
PKR,
PLN,
PYG,
QAR,
RON,
RSD,
RUB,
RWF,
SAR,
SBD,
SCR,
SDG,
SEK,
SGD,
SHP,
SLL,
SOS,
SRD,
STN,
SVC,
SYP,
SZL,
THB,
TJS,
TMT,
TND,
TOP,
TRY,
TTD,
TWD,
TZS,
UAH,
UGX,
USD,
UYU,
UZS,
VES,
VND,
VUV,
WST,
XAF,
XAG,
XAU,
XCD,
XDR,
XOF,
XPD,
XPF,
XPT,
YER,
ZAR,
ZMW,
ZWL
exchange_rate
string
required
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d{0,16}0*$
billed_total
string
required

Total quantity of items that were already billed

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d{0,2}0*$
due_total
string
required

Total quantity of items yet to be billed

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d{0,2}0*$
amount
string
required

Total amount of ordered items

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d{0,2}0*$
memo
string
required
items
PublicPurchaseOrderItemOut · object[]
required
record_status
enum<string>
required
Available options:
draft,
posted,
archived
billed_status
enum<string>
required
Available options:
billed,
unbilled,
partially_billed
attachments
PublicAttachmentSchemaOut · object[]
created_by
AuditActorSchemaOut · object

Schema for audit actor information.

updated_by
AuditActorSchemaOut · object

Schema for audit actor information.

approval_status
string | null
next_approvers
ApproverDictSchema · object[] | null
rejected_by
RejectedBySchema · object

Schema for rejector information including rejection reason.

reference_number
string
default:""
Last modified on May 28, 2026