{
  "version": 1,
  "title": "Peru customs declaration series",
  "description": "One goods series of an import/export declaration; a company can have many records.",
  "publisher": "SUNAT / ADUANET, Peru",
  "homepage": "http://www.aduanet.gob.pe/aduanas/informae/presentacion_bases_web.htm",
  "coverage": "Legal-entity declarations in the imported weekly official customs files.",
  "record": "One goods series of an import/export declaration; a company can have many records.",
  "identifier": "Lookup by ruc as a string, preserving leading zeros. Accepted syntax and normalization are defined by the contract below.",
  "license": {
    "status": "not_verified",
    "name": "No source-specific reuse license verified in this contract."
  },
  "limitations": [
    "FOB is USD and net weight is kg. Do not sum repeated declarations without series/file deduplication."
  ],
  "fields": {
    "operation_type": {
      "description": "import for MA/MAM formats; export for X formats.",
      "meaning": "text"
    },
    "declaration": {
      "description": "Composite customs-office/year/declaration identifier.",
      "meaning": "identifier"
    },
    "customs_office": {
      "description": "ADUANET customs office code.",
      "meaning": "code"
    },
    "declaration_year": {
      "description": "Declaration year.",
      "meaning": "text"
    },
    "declaration_number": {
      "description": "Declaration number; retain leading zeros.",
      "meaning": "identifier"
    },
    "declaration_date": {
      "description": "Published declaration date date.",
      "meaning": "date",
      "date_format": "YYYYMMDD"
    },
    "operation_date": {
      "description": "Published operation date date.",
      "meaning": "date",
      "date_format": "YYYYMMDD"
    },
    "series": {
      "description": "Goods series within a declaration; not a distinct company.",
      "meaning": "text"
    },
    "hs_code": {
      "description": "Ten-digit national tariff/NANDINA code.",
      "meaning": "code"
    },
    "description": {
      "description": "Published description.",
      "meaning": "text"
    },
    "country": {
      "description": "Origin country for imports; destination country for exports.",
      "meaning": "text"
    },
    "fob_usd": {
      "description": "Published FOB value; no currency conversion is applied.",
      "meaning": "amount",
      "unit": "USD"
    },
    "net_weight_kg": {
      "description": "Published net goods weight.",
      "meaning": "quantity",
      "unit": "kg"
    },
    "source_file": {
      "description": "Original upstream weekly ZIP name for lineage.",
      "meaning": "text"
    }
  },
  "evidence": [
    "docs/sources/pe-sunat-aduanet.md",
    "src/imports/pe-sunat-aduanet.ts"
  ],
  "source": "pe-sunat-aduanet",
  "country": "pe",
  "kind": "entity",
  "served": true,
  "schedule": "weekly",
  "cardinality": "many",
  "identifier_name": "ruc",
  "identifier_pattern": "^20\\d{9}$",
  "normalization": null,
  "observation_field": null,
  "vocabularies": {},
  "allowed_values": {},
  "attribution": "Source: SUNAT / ADUANET, Peru. http://www.aduanet.gob.pe/aduanas/informae/presentacion_bases_web.htm.",
  "fingerprint": "d214ebefab6ebb10c88bbf7c708605e13a33448ae1660340eb19b482c7d3068b"
}
