> ## Documentation Index
> Fetch the complete documentation index at: https://docs.erp.arukz.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Show purchase order line

> Retrieve a specific line item from a purchase order



## OpenAPI

````yaml /api-reference/openapi.json get /admin/api/v1/purchases/purchase-orders/{purchase_order_id}/lines/{id}
openapi: 3.0.3
info:
  title: ARUKZ ERP API
  version: v1
  description: >-
    The REST API of ARUKZ ERP: sales, purchases, inventory, products, partners,
    accounts, projects and reference data. Every call acts as the user whose
    token it carries and sees only that user's company.
servers:
  - url: https://erp.arukz.com
    description: ARUKZ ERP (hosted)
security:
  - bearerAuth: []
tags:
  - name: Authentication
    description: Sign in for a token and sign out.
  - name: Sales
    description: Quotations, sales orders and their lines, deliveries and invoices.
  - name: Purchases
    description: Purchase orders, receipts, bills, agreements and vendor price lists.
  - name: Inventory
    description: >-
      Warehouses, locations, lots, stock quantities, receipts, deliveries,
      transfers and scrap.
  - name: Products
    description: 'The product catalogue: categories, attributes, variants and packaging.'
  - name: Partners
    description: Customers, vendors, contacts, addresses and bank accounts.
  - name: Accounts
    description: >-
      Invoices, bills, credit notes, refunds, taxes, journals and the chart of
      accounts.
  - name: Projects
    description: Projects, tasks, stages and milestones.
  - name: Reference data
    description: Currencies and rates, banks, countries, states and units of measure.
paths:
  /admin/api/v1/purchases/purchase-orders/{purchase_order_id}/lines/{id}:
    get:
      tags:
        - Purchases
      summary: Show purchase order line
      description: Retrieve a specific line item from a purchase order
      operationId: purchases-purchase-order-lines-show-purchase-order-line
      parameters:
        - name: purchase_order_id
          in: path
          required: true
          schema:
            type: integer
            description: The purchase order ID
            example: 1
          description: The purchase order ID
        - name: id
          in: path
          required: true
          schema:
            type: integer
            description: The purchase order line ID
            example: 1
          description: The purchase order line ID
        - name: include
          in: query
          required: false
          schema:
            type: string
            description: >-
              Comma-separated list of relationships to include.


              **Available options:** uom, product, productPackaging, order,
              partner, currency, company, creator, finalLocation, taxes
            example: product,taxes
          description: >-
            Comma-separated list of relationships to include.


            **Available options:** uom, product, productPackaging, order,
            partner, currency, company, creator, finalLocation, taxes
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                data:
                  id: 1
                  name: Big Vision 4K Action Camera - Telephoto Lens
                  state: purchase
                  sort: 1
                  qty_received_method: stock_move
                  display_type: null
                  product_qty: 100
                  product_uom_qty: 100
                  product_packaging_qty: 0
                  price_tax: 1500
                  discount: 0
                  price_unit: 100
                  price_subtotal: 10000
                  price_total: 11500
                  qty_invoiced: 100
                  qty_received: 100
                  qty_received_manual: 0
                  qty_to_invoice: 0
                  is_downpayment: false
                  planned_at: '2026-01-08T12:53:43.000000Z'
                  product_description_variants: null
                  propagate_cancel: false
                  price_total_cc: 0
                  uom_id: 1
                  product_id: 4
                  product_packaging_id: null
                  order_id: 1
                  partner_id: 41
                  currency_id: 1
                  company_id: 1
                  creator_id: 1
                  final_location_id: 12
                  order_point_id: null
                  created_at: '2026-01-08T12:55:43.000000Z'
                  updated_at: '2026-01-08T12:56:47.000000Z'
        '401':
          description: Unauthenticated
          content:
            application/json:
              example:
                message: Unauthenticated.
        '404':
          description: Purchase order or line not found
          content:
            application/json:
              example:
                message: Resource not found.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        An API token from [Sign in](/api-reference/authentication), sent as
        `Authorization: Bearer <token>`. Tokens last 30 days.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.