Use case for B2C

For businesses like a e-commerce marketplace or a SaaS business you can use the Simplified Invoice API and Simplified Credit Note API to issue invoices and refunds to your customers who are individuals or not tax registered.

Issuing a Invoice

For more details please check Simplified Invoice API > Report an invoice.

Below cURL request, reports an invoice to ZATCA.

curl --request POST \
     --url https://api.wafeq.com/v1/zatca/simplified-invoices/report/ \
     --header 'Authorization: Api-Key <Your API Key>' \
     --header 'Accept: application/json; version=v1' \
     --header 'Content-Type: application/json' \
     --header 'X-Zatca-Environment: production' 
     --data '
{
  "document": <Simplified Invoice Payload>,
}
'

If you would like to additionally also deliver the invoice to your customer via Wafeq, you can provide the channel information to do the same.

curl --request POST \
     --url https://api.wafeq.com/v1/zatca/simplified-invoices/report/ \
     --header 'Authorization: Api-Key <Your API Key>' \
     --header 'Accept: application/json; version=v1' \
     --header 'Content-Type: application/json' \
     --header 'X-Zatca-Environment: production' 
     --data '
{
  "document": <Simplified Invoice Payload>,
  "channels": <Channel information>,
}
'

Issuing a Refund

For more details please check Simplified Credit Note API > Report an credit note.

Below cURL request, reports an credit note to ZATCA.

curl --request POST \
     --url https://api.wafeq.com/v1/zatca/simplified-credit-notes/report/ \
     --header 'Authorization: Api-Key <Your API Key>' \
     --header 'Accept: application/json; version=v1' \
     --header 'Content-Type: application/json' \
     --header 'X-Zatca-Environment: production' 
     --data '
{
  "document": <Simplified Credit Note Payload>,
}
'

If you would like to additionally also deliver the credit note to your customer via Wafeq, you can provide the channel information to do the same.

curl --request POST \
     --url https://api.wafeq.com/v1/zatca/simplified-credit-notes/report/ \
     --header 'Authorization: Api-Key <Your API Key>' \
     --header 'Accept: application/json; version=v1' \
     --header 'Content-Type: application/json' \
     --header 'X-Zatca-Environment: production' 
     --data '
{
  "document": <Simplified Credit Note Payload>,
  "channels": <Channel information>,
}
'