ZATCA phase 2 survival guide
by saudi compliance team · april 8, 2026 · ~7 min read
saudi arabia's e-invoicing requirements are not optional. here's a step-by-step guide to phase 2 compliance, including what you need from your e-commerce platform.
introduction
this is a sample blog post in the Okommerce content system. The actual content will be written by the Royex content team and replaces this placeholder.
each post follows the same structure: a hook, the problem we're addressing, the approach we took, what worked, what didn't, and what we'd do differently. concrete code, concrete numbers, no marketing fluff.
the problem
describe the specific challenge being addressed. what made it hard? what made existing solutions inadequate? quantify wherever possible.
our approach
walk through the solution step by step. include code samples where relevant:
// Example: scope-aware query
public IQueryable<Order> GetOrdersInScope(User user)
{
return _db.Orders.Where(o => o.BranchId == user.BranchId);
}
what we learned
be honest. include the things that didn't work. include the surprises. include the second-order effects you didn't anticipate.
what's next
where this thread continues. what we're working on next. what we'd love to hear from readers.
have thoughts on this post? reply on twitter or open an issue on github. or just email the team at hello@okommerce.com.