Complyance Logo

Saudi Arabia (SA) Field Mapping

Country: SA
Compliance: ZATCA e-invoicing
Last Updated: 2026

This page includes the full Saudi Arabia field mapping and the Saudi country extension fields in one place.

Document Header Fields

ParameterRequiredWhat It MeansExample
Document TypeYesThe type of document being submitted (Invoice, Credit Note, or Debit Note). Determines the base document classification for KSA e-invoicing.tax_invoice
Document IDYesUnique identifier for the invoice within the seller's sequence. Must be unique per seller and follow KSA format.INV-2024-001
Issue DateYesThe date the invoice was created in YYYY-MM-DD format. Used for ZATCA tax period determination.2024-01-15
Issue TimeYesThe time the invoice was created in HH:MM:SS format. Used for precise timestamping with ZATCA.14:30:00
Document CurrencyYesISO 4217 currency code. Defaults to SAR for KSA. Exchange rate required when currency differs from SAR.SAR
Exchange RateConditionalCurrency conversion rate (required only when currency differs from SAR).3.75
VAT CurrencyNoCurrency used for VAT calculations. Defaults to document currency.SAR
Supply Start DateConditionalRequired for period-based invoices. Start date of the supply period.2024-01-01
Supply End DateConditionalEnd date of the supply period. Used for consolidated invoices.2024-01-31
Billing FrequencyConditionalFrequency of billing for consolidated invoices (monthly, quarterly, annually, weekly).monthly
Due DateNoPayment due date. Optional but recommended for cash flow management.2024-02-15
Reference Invoice NumberConditionalReference to original invoice for credit/debit notes. Required for corrective documents.INV-2023-999
Note Issuance ReasonConditionalReason for issuing credit/debit note. Required for corrective documents.Goods returned

Seller Information Fields

ParameterRequiredWhat It MeansExample
Seller NameYesLegal registered name of the seller. Must match business registration with ZATCA.Tech Solutions LLC
Seller IDNoInternal ERP identifier for the seller. Optional but useful for system integration.SEL-001
VAT Number TypeYesVAT identification scheme for KSA (usually VAT or GVAT).VAT
VAT Number ValueYesKSA VAT number in 15-digit format. Must be valid and registered with ZATCA.310075588700003
Additional Seller ID NumberYesCommercial registration number (CRN). Required for business registration compliance.1234567890
Additional Seller ID TypeYesRegistration scheme type (CRN - Commercial Registration).CRN
Seller Industry ClassificationYesIndustry classification code for business activity identification.61110
Seller Contact NumberYesSeller contact phone number. Required for ZATCA communication.+966501234567
Seller EmailNoContact email. Optional but useful for electronic communication.info@techsolutions.sa
Address Line 1YesPrimary street address. Must be complete and accurate for ZATCA verification.King Fahd Road
Address Line 2NoSecondary address information.Suite 100
Building NumberYesBuilding number. Required in KSA for precise location identification.123
District/NeighbourhoodYesDistrict or neighbourhood. Required for local area identification.Olaya
CityYesCity name. Must match official city names for tax jurisdiction.Riyadh
StateYesState name. Required for tax jurisdiction and regional compliance.Riyadh Region
Postal CodeYesPostal/ZIP code. Required for address validation.11478
CountryYesCountry code. Must be 'SA' for KSA addresses.SA
Seller Peppol IDNoPeppol network identifier for cross-border e-invoicing. Optional for KSA.9930:SAxxxxxxxxxxxxxx

Buyer Information Fields (B2B)

ParameterRequiredWhat It MeansExample
Buyer NameConditionalBuyer name. Required for B2B transactions, optional for B2C.ABC Corporation
Buyer IDNoInternal identifier for the buyer. Optional for system integration.BUYER-001
Buyer VAT Number TypeConditionalVAT identification scheme. Required for B2B transactions.VAT
Buyer VAT Number ValueConditionalBuyer VAT number in 15-digit format. Required for B2B transactions.301234567890001
Buyer Additional ID NumberConditionalBuyer registration number. Required for B2B transactions.9876543210
Buyer Additional ID TypeConditionalBuyer registration scheme type. Required for B2B transactions.CRN
Buyer Peppol IDNoBuyer Peppol identifier for cross-border transactions. Optional.9930:SAyyyyyyyyyyyyyyyy
Buyer Contact NumberConditionalBuyer contact phone. Required for B2B transactions.+966501111111
Buyer EmailNoBuyer contact email. Optional but recommended.info@abccorp.sa
Buyer Address Line 1ConditionalBuyer primary address. Required for B2B transactions.Prince Road
Buyer Address Line 2NoBuyer secondary address.Floor 5
Buyer Building NumberNoBuyer building number. Optional.456
Buyer DistrictNoBuyer district. Optional.Downtown
Buyer CityConditionalBuyer city. Required for B2B transactions.Jeddah
Buyer StateConditionalBuyer state. Required for B2B transactions.Makkah Region
Buyer Postal CodeConditionalBuyer postal code. Required for B2B transactions.21461
Buyer CountryConditionalBuyer country code.SA

Line Items Fields

ParameterRequiredWhat It MeansExample
Line Item IDYesUnique identifier for each line item. Used for referencing items in the invoice.LINE-001
Item DescriptionYesDetailed description of the product or service. Supports multi-language.Professional consulting services
Item NameNoShort item name for product identification. Optional.Consultation
Unit PriceYesPrice per unit. Must be accurate for VAT calculations.1000.00
Line Item QtyYesQuantity of items ordered. Used for total calculations.5
Units of MeasurementNoUnit code (PCE for pieces, HUR for hours, SET for sets).HUR
Line Item DiscountNoDiscount amount for this line. Applied before VAT.100.00
Discount RateNoDiscount percentage.10
Discount Reason CodeNoCode explaining the discount.95
Charge AmountNoAny additional charges for this line.50.00
Charge Reason CodeNoCode explaining the charge.AA
Line Item Taxable AmountYesTotal line amount before VAT. Calculated as (Qty × Price) - Discounts.4900.00
VAT Category CodeYesVAT category (S=Standard 15%, Z=Zero, E=Exempt, O=Out of scope).S
VAT Rate On Line ItemYesVAT rate percentage.15
Line Item VAT AmountYesVAT amount for this line. Calculated as Taxable Amount × Rate.735.00
Line Item Sub TotalYesTotal including VAT. Calculated as Taxable Amount + VAT.5635.00
Item Classification CodeConditionalProduct classification code. Required for goods.39301
Item Classification NameNoDescription of the classification. Optional.Consulting Services
VAT Exemption Reason CodeConditionalExemption code (required if VAT Category = Exempt).VATEX-SA-32
VAT Exemption Reason TextConditionalText explaining the exemption.Export of services

Totals and Amounts Fields

ParameterRequiredWhat It MeansExample
Summation of Line Taxable ValuesYesSum of all line item taxable amounts. Used for VAT verification.14700.00
Total Taxable Amount Excluding VATYesTotal invoice amount before VAT.14700.00
VAT TotalYesTotal VAT amount for entire invoice. Sum of line VAT amounts.2205.00
Invoice Total AmountYesFinal amount payable including VAT.16905.00
Discount at document levelConditionalDocument-level discount. Applied after line-level calculations.500.00
Amount Due for PaymentYesFinal amount due. Calculated as total - prepaid amounts.16405.00
Pre-Paid AmountNoAmount already paid in advance.0.00
Rounding AmountNoRounding adjustment amount. Must be within acceptable limits.0.05

Payment Information Fields

ParameterRequiredWhat It MeansExample
Payment MeansYesPayment method code (CASH, CREDIT, PAYMENT_TO_BANK_ACCOUNT, BANK_CARD, INSTRUMENT_NOT_DEFINED).PAYMENT_TO_BANK_ACCOUNT
Payee Bank Account NumberConditionalSupplier's IBAN for payment. Required for bank transfers. Format: SA + 22 digits.SA1234567890123456789012
Payment Terms descriptionNoFree-text description of payment terms.Payment due within 30 days
Prepayment Reference NumberNoReference number for prepayments. Optional.PREP-2024-001

KSA Digital Fields

ParameterRequiredWhat It MeansExample
Invoice Counter ValueYesSequential counter for ZATCA digital signature. Required for compliance.1
Previous Invoice HashYesHash of previous invoice for chain verification. Required for ZATCA.NWZlY2E3YzcxNzQ...
QR CodeYesBase64 encoded QR data. Required for ZATCA compliance.A0A0A0A0A0A0A0...
Digital SignatureYesDigital signature data for authenticity. Required for ZATCA.MEUCIQD...
Prepayment IDConditionalUnique identifier for prepayments.PREP-001
Prepayment Issue Date & TimeConditionalDate when prepayment issued.2024-01-10
Prepayment Issue TimeConditionalTime when prepayment issued.10:00:00
Prepayment Document Type CodeConditionalDocument type for prepayment (always '386' for KSA).386
Prepayment VAT Category CodeConditionalVAT category for prepayment. Must match final invoice.S
Prepayment VAT RateConditionalVAT rate for prepayment. Must match final invoice.15
Prepayment Taxable AmountConditionalTaxable amount of prepayment.1000.00
Prepayment Tax AmountConditionalVAT amount of prepayment.150.00
Prepayment Adjustment AmountConditionalAdjustment amount for prepayment.0.00

Country Extensions

Saudi Arabia currently applies:

  • sa_prepayment fields in tax_invoice, credit_note, debit_note
Field pathLabelDescriptionData typeReqApplies to
extensions.sa_prepayment.paymentIdPrepayment Payment IDPrepayment ID.stringCMtax_invoice, credit_note, debit_note
extensions.sa_prepayment.issueDatePrepayment Issue Date & TimePrepayment date.dateCMtax_invoice, credit_note, debit_note
extensions.sa_prepayment.documentTypePrepayment Document Type CodeAlways 386 for prepayments.stringCMtax_invoice, credit_note, debit_note
extensions.sa_prepayment.vatCategoryPrepayment VAT Category CodeTax category.stringCMtax_invoice, credit_note, debit_note
extensions.sa_prepayment.vatRatePrepayment VAT RateTax rate percentage.numberCMtax_invoice, credit_note, debit_note
extensions.sa_prepayment.taxableAmountPrepayment Taxable AmountAmount subject to tax.numberCMtax_invoice, credit_note, debit_note
extensions.sa_prepayment.taxAmountPrepayment Tax AmountVAT amount.numberCMtax_invoice, credit_note, debit_note
extensions.sa_prepayment.adjustmentAmountPrepayment Adjustment AmountAdjustment amount.numberCMtax_invoice, credit_note, debit_note

See Also