Skip to content

ZATCA CLI 2.6.0

Choose a tag to compare

@mhaggag mhaggag released this 16 Mar 15:14
· 10 commits to master since this release
  • Fix Invoice validation failure due to difference between IssueDate & SigningTime
    • The CLI used the local time at the server timezone (typically UTC) for signing time. However, issue date/time
      come from ERPNext (typically KSA time, which is UTC+3). This would result in a discrepancy, since both fields should be
      in the same timezone. Additionally, validation would fail for invoices from 12 AM to 3 AM because it'd be the next
      day in KSA (compared to UTC) and the SDK would complain about issue date being in the future (business rule: BR-KSA-04)
    • CLI timezone is now explicitly set to Asia/Riyadh timezone regardless of the server time zone