Edara API v3

Edara API v3: Common

Read the guide first: authentication, paging, errors, rate limits and the shared PagedResult, BatchResult and *Reference shapes.

Endpoints

GET /v3/common/convert-money-to-arabic-words: Converts money to Arabic words.

Operation ConvertMoneyToArabicWords · permission read:common-utility

Query string

field type required description
numberValue number yes The monetary amount to convert.
currency string yes The currency name (e.g. جنيه).
currencyFraction string yes The currency fraction name (e.g. قرش).

Responses: OK string: The amount in Arabic words.

Notes


GET /v3/common/convert-money-to-english-words: Converts money to English words.

Operation ConvertMoneyToEnglishWords · permission read:common-utility

Query string

field type required description
numberValue number yes The monetary amount to convert.
currency string yes The currency name (e.g. Pound).
currencyFraction string yes The currency fraction name (e.g. Piastre).

Responses: OK string: The amount in English words.

Notes


GET /v3/common/files/{token}: Resolves a file download token and redirects to the file.

Operation GetFile · permission read:common-utility

Parameters

name in type default description
token route string The file download token.

Responses: Found: Redirects to the signed file URL. · NotFound: The token is invalid or expired.

Business errors (HTTP 409, match on errorCode):

Notes


PUT /v3/common/adjust-invoiced-quantity: Adjusts the Invoiced Quantity on one or more Source Document Lines belonging to the same Source Document.

Operation AdjustInvoicedQuantity · permission update:invoiced-quantity

Adds each line's quantityAdjustment onto InvoicedQuantity on Sales.DocumentDetails (SO/SR) or Warehouse.WHWorkOrderDetails (IO/RR/RS/IR). Any other sourceDocumentType is refused.

Body: AdjustInvoicedQuantityRequest

field type default validation description
sourceDocumentType string
sourceDocumentCode string
lines List<AdjustInvoicedQuantityLineRequest>

Responses: OK AdjustInvoicedQuantityResponse: Lines updated.

Business errors (HTTP 409, match on errorCode):

Notes

Types

AdjustInvoicedQuantityLineRequest

field type description
sourceLineId int
quantityAdjustment double

AdjustInvoicedQuantityResponse

field type description
success bool
updatedLines int

DocumentType

Document type codes shared across sales, purchase, and warehouse domains.

Values (sent/returned as the name): RS, RR, RT, IO, IR, IT, TR, CI, CO, JE, SI, PI, CN, DN, NR, NP, SO, SR, RecSO, PO, PR, OB, RMA