Get authorized invoice

Get invoice data associated with an authorized_invoice_id. This endpoint accepts either read_invoice or read_invoices scope.

Request
Security:
tilia_auth (read_invoicesread_invoice)
path Parameters
authorized_invoice_id
required
string <UUID4>

ID that was returned after authorizing an invoice.

Responses
200

Successfully retrieved authorized invoice.

400

Validation errors

401

Unauthorized access.

404

The authorized_invoice_id is no longer valid

500

Service unavailable or server error.

get/v2/authorize/invoice/{authorized_invoice_id}
Request samples
curl -i -X GET \
  https://invoicing.tilia-inc.com/v2/authorize/invoice/:authorized_invoice_id \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response samples
application/json
{
  • "line_items": [
    ],
  • "line_items_total": 100,
  • "line_items_currency": "USD",
  • "display_amount": "USD 1.00",
  • "reference_type": "Acme order number",
  • "reference_id": "8987749",
  • "description": "Digital product order",
  • "metadata": {
    },
  • "is_escrow": false,
  • "is_virtual": false
}