VUZDevelopers

Get the two-tier documentDate picker range for a document type

GET
/businesses/documents/latest-issue-date

Two-date model (dev_features/2026-07-05-document-date-two-field-model): returns the Tier-1/Tier-2 boundary (latestIssueDate — the last ISSUED document of this type; a documentDate earlier than it is Tier 2 and requires the accountant-acknowledgment toggle) AND the absolute hard floor (floorDate — max(today - 60 days, Jan 1 of the current tax year); no documentDate may go earlier than this in either tier).

X-Api-Key<token>

Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.

In: header

Query Parameters

docType*string

Document type

Value in

  • "order"
  • "delivery_note"
  • "agent_delivery_note"
  • "return_note"
  • "tax_invoice"
  • "consolidated_invoice"
  • "tax_invoice_receipt"
  • "credit_note"
  • "reservation_invoice"
  • "agent_invoice"
  • "receipt"
  • "donation_receipt"
  • "cash_withdrawal"
  • "bank_deposit"
  • "purchase_order"
  • "purchase_delivery_note"
  • "purchase_return"
  • "purchase_tax_invoice"
  • "purchase_credit_note"
  • "opening_balance"
  • "inventory_in"
  • "inventory_out"
  • "warehouse_transfer"
  • "inventory_adjustment"
  • "production_in"
  • "production_out"
  • "quote"
  • "deal_bill"
  • "work_order"

Response Body

application/json

curl -X GET "https://example.com/businesses/documents/latest-issue-date?docType=order"
{  "latestIssueDate": "2025-12-01",  "floorDate": "2026-01-01"}