Skip to main content

ImportXMLResponse

$schemauri

A URL to the JSON Schema for this object.

Example: https://example.com/schemas/ImportXMLResponse.json
countint64required

Number of invoices imported

invoices object[]required

List of successfully imported invoices

  • Array [
  • datedate-timerequired

    Invoice date

    documentTypestringrequired

    Document type code (TD01, TD04, etc.)

    idstringrequired

    Invoice UUID

    numberstringrequired

    Invoice number

    totalAmountdoublerequired

    Total invoice amount

  • ]
  • messagestringrequired

    Status message

    skipped object[]

    List of invoices that were skipped

  • Array [
  • existingIdstring

    UUID of existing invoice if duplicate

    numberstringrequired

    Invoice number that was skipped

    reasonstringrequired

    Reason for skipping

  • ]
  • supplier object

    Supplier information from the XML

    fiscalIdstringrequired

    Supplier fiscal ID (P.IVA)

    idstringrequired

    Supplier UUID

    isNewbooleanrequired

    True if supplier was newly created during import

    namestringrequired

    Supplier display name

    ImportXMLResponse
    {
    "$schema": "https://example.com/schemas/ImportXMLResponse.json",
    "count": 0,
    "invoices": "Unknown Type: array,null",
    "message": "string",
    "skipped": "Unknown Type: array,null",
    "supplier": {
    "fiscalId": "string",
    "id": "string",
    "isNew": true,
    "name": "string"
    }
    }