Get ID of an entity related in general ledger

GET /api-v1/ledger/open/module/{id}/{type}

Headers

Path parameters

  • id integer Required

    id

  • type string Required

    type

    Values are OPENING, MANUAL, PURCHASE_INVOICE, SALES_INVOICE, SALARY_SLIP, STOCK, CLOSING, SYSTEM, or FIXED_ASSET.

Responses

GET /api-v1/ledger/open/module/{id}/{type}
curl \
 -X GET http://10.10.10.132/api-v1/ledger/open/module/{id}/{type} \
 -H "TARGET-ORGANIZATION-ID: 42" \
 -H "WEAL-TOKEN: string"
Response examples (200)
42