Sumit icon

Sumit

Interact with Sumit Accounting API

Document → Get Details

AI-generated

Summary

Retrieve detailed information about a specified Sumit document by its type and either its document ID or document number.

Inputs

  • Document Type (required) — Select the type of document (e.g., Invoice, Receipt, Order) to query.
  • Document ID — Specify the unique Sumit internal document ID to fetch details for.
  • Document Number — Specify an alternative identifier, the document number, to fetch details for if the Document ID is not used.

Output shape

a single JSON object representing the document details returned from Sumit's API.

The output contains detailed document information as returned by the Sumit Accounting API /accounting/documents/getdetails/ endpoint. Either Document ID or Document Number should be provided to identify the document. If both are given, Document ID is prioritized.

Examples

Example 1: Retrieve details for an Invoice document using its Document ID

Set Document Type to Invoice, enter the known Document ID.

Links

Discussion