You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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