# Saudi Arabia: code lists

The values GETS accepts for Saudi Arabia’s coded fields, and the fields that take them.

Send these values exactly as shown, in the GETS fields each list names. Complyance checks those fields against the list, within any limit its note gives. For every field and its requirement, see [Saudi Arabia fields](https://docs.complyance.io/countries/sa/fields/).

## Document types

The values for `documentType` in the request and `header.documentType` in the payload. Which ones go together is on [Base and modifiers](https://docs.complyance.io/api-reference/gets/base-and-modifiers/#choices-sa).

### Base

| Value | Name |
| - | - |
| `tax_invoice` | Tax invoice |
| `credit_note` | Credit note |
| `debit_note` | Debit note |
| `simplified_invoice` | Simplified invoice |
| `simplified_credit_note` | Simplified credit note |
| `simplified_debit_note` | Simplified debit note |

### Modifiers

| Value | Name |
| - | - |
| `export` | Export |
| `summary` | Summary |
| `continuous_supply` | Continuous supply |
| `b2g` | B2G |
| `third_party` | Third party |
| `nominal_supply` | Nominal supply |
| `nominal` | Nominal |
| `self_billed` | Self billed |

### Variants

| Value | Name |
| - | - |
| `prepayment` | Prepayment |

## Coded fields

- [Attachment file type](https://docs.complyance.io/countries/sa/code-lists/#attachment-type) 7
- [Buyer identification scheme](https://docs.complyance.io/countries/sa/code-lists/#buyer-id-scheme) 11
- [Payment means](https://docs.complyance.io/countries/sa/code-lists/#payment-means) 10
- [Seller identification scheme](https://docs.complyance.io/countries/sa/code-lists/#seller-id-scheme) 6
- [VAT category](https://docs.complyance.io/countries/sa/code-lists/#vat-category) 4

### Attachment file type

- **GETS:** [`supportingDocuments[].attachments[].mimeCode`](https://docs.complyance.io/countries/sa/fields/?q=supportingDocuments%5B%5D.attachments%5B%5D.mimeCode)
- **Values:** 7

| Value |
| - |
| `application/pdf` |
| `image/png` |
| `image/jpeg` |
| `text/csv` |
| `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet` |
| `application/xml` |
| `application/vnd.oasis.opendocument.spreadsheet` |

### Buyer identification scheme

- **GETS:** [`parties.buyer.registrationNumbers[].type`](https://docs.complyance.io/countries/sa/fields/?q=parties.buyer.registrationNumbers%5B%5D.type)
- **Values:** 11

| Value |
| - |
| `TIN` |
| `CRN` |
| `MOM` |
| `MLS` |
| `700` |
| `SAG` |
| `NAT` |
| `GCC` |
| `IQA` |
| `PAS` |
| `OTH` |

### Payment means

- **GETS:** [`payment.paymentMeans[].paymentMeansCode`](https://docs.complyance.io/countries/sa/fields/?q=payment.paymentMeans%5B%5D.paymentMeansCode)
- **Values:** 10

| Value | Meaning |
| - | - |
| `10` | In cash |
| `20` | Cheque |
| `30` | Credit transfer |
| `42` | |
| `48` | |
| `49` | Direct debit |
| `57` | |
| `58` | |
| `59` | |
| `97` | |

### Seller identification scheme

- **GETS:** [`parties.seller.registrationNumbers[].type`](https://docs.complyance.io/countries/sa/fields/?q=parties.seller.registrationNumbers%5B%5D.type)
- **Values:** 6

| Value |
| - |
| `CRN` |
| `MOM` |
| `MLS` |
| `SAG` |
| `OTH` |
| `700` |

### VAT category

- **GETS:** [`lineItems[].taxCategory`](https://docs.complyance.io/countries/sa/fields/?q=lineItems%5B%5D.taxCategory), [`taxTotals[].taxSubtotals[].taxCategory`](https://docs.complyance.io/countries/sa/fields/?q=taxTotals%5B%5D.taxSubtotals%5B%5D.taxCategory), [`allowancesAndCharges[].taxCategory`](https://docs.complyance.io/countries/sa/fields/?q=allowancesAndCharges%5B%5D.taxCategory)
- **Values:** 4

| Value | Meaning |
| - | - |
| `S` | Standard rate |
| `Z` | Zero rated |
| `E` | Exempt from tax |
| `O` | Services outside scope of tax / Not subject to tax |

Source: https://docs.complyance.io/countries/sa/code-lists/
