انتقل إلى المحتوى

لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.

Invoice totals

GET/admin/v1/stores/{store_id}/invoices/totals
  • orders:read

What every document matching the list's filters adds up to; limit and cursor are ignored.

معاملات المسار

  • store_idstringمطلوب

    معرّف من نوع store، مثل store_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.

معاملات الاستعلام

  • kindenum

    Only invoices, or only credit notes.

    • invoice
    • credit_note
  • order_idstring

    معرّف من نوع ord، مثل ord_01k8qs5s….

  • qstring

    Document number (INV-000042) or order name (#1001).

  • issued_fromstring

    Issued at or after this instant (RFC 3339).

  • issued_beforestring

    Issued before this instant (RFC 3339).

  • zatca_statusenum

    Phase 2 documents whose ZATCA submission has this status (rejected: those to fix).

    • pending
    • reported
    • reported_with_warnings
    • cleared
    • cleared_with_warnings
    • rejected
  • limitinteger

    1–250, default 50.

  • cursorstring

    page.next_cursor from the previous page.

الترويسات

  • shop-api-versionYYYY-MM

    الإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.

ما يُرجعه

200 What the matching documents add up to.

الأخطاء

  • 403forbiddenMissing permission.
  • 422validation_failedInvalid filter.