Document Notifications

Document created

{
  "preferred_document_delivery": "NONE",
  "notification_type": "invoice.created",
  "invoice_ident": "0000455339",
  "reference_ident": "11478002-aa92-46d6-ae1b-cede6cc4acf8",
  "debtor_ident": "638c27b2-00ef-4d23-8585-9afc433ad877",
  "customer_ident": "c28e3dd4-6546-44ae-9489-146e882b4748",
  "type": "invoice",
  "status": "invoiced",
  "next_status_timestamp": 1735032968,
  "outstanding": "9.99",
  "invoice_total_exclusive_vat": "8.26",
  "invoice_total_vat": "1.73",
  "invoice_total_inclusive_vat": "9.99",
  "invoice_total_post_tax_sum": "0",
  "invoice_total_document_account_due": "9.99",
  "invoice_total_deposit_sum": "0",
  "invoice_total_due": "9.99",
  "currency": "EUR",
  "order_date": 1735036468,
  "invoice_date": 1735032908,
  "business_segment_ident": "testkt",
  "business_segment_idents": [
    "testkt"
  ],
  "business_client_id": 96,
  "timestamp": 1735032911,
  "document_relation": {
    "documentReason": "UNKNOWN",
    "documentRelatedIdent": null
  },
  "invoice_origin_references": [
    {
      "reference_ident": "11478002-aa92-46d6-ae1b-cede6cc4acf8",
      "reference_type": "CONTRACT"
    }
  ],
  "billing_group_ident": "Default"
 }

Invoice updated

{
  "preferred_document_delivery": "NONE",
  "notification_type": "invoice.updated",
  "invoice_ident": "0000455339",
  "reference_ident": "11478002-aa92-46d6-ae1b-cede6cc4acf8",
  "debtor_ident": "638c27b2-00ef-4d23-8585-9afc433ad877",
  "customer_ident": "c28e3dd4-6546-44ae-9489-146e882b4748",
  "type": "invoice",
  "status": "reminded4",
  "next_status_timestamp": 1735033148,
  "outstanding": "9.9900",
  "invoice_total_exclusive_vat": "8.2600",
  "invoice_total_vat": "1.7300",
  "invoice_total_inclusive_vat": "9.9900",
  "invoice_total_post_tax": "0.0000",
  "invoice_total_document_account_due": "9.9900",
  "invoice_total_deposit_sum": "0.0000",
  "invoice_total_due": "9.9900",
  "currency": "EUR",
  "order_date": 1735036468,
  "invoice_date": 1735032908,
  "business_segment_ident": "testkt",
  "business_segment_idents": [
    "testkt"
  ],
  "business_client_id": 96,
  "timestamp": 1735033320,
  "document_relation": {
    "documentReason": "UNKNOWN",
    "documentRelatedIdent": null
  },
  "invoice_origin_references": [
    {
      "reference_ident": "11478002-aa92-46d6-ae1b-cede6cc4acf8",
      "reference_type": "CONTRACT"
    }
  ],
  "billing_group_ident": "Default"
}

Document archived

{
  "notification_type" : "invoice.archived",
  "invoice_ident" : "22-01234",
  "reference_ident" : "d81b331a-99ac-4b74-86de-66cd66f2dcc4",
  "debtor_ident" : "UUID_c815959e-5514-4c15-871c-98b930f5cd87",
  "customer_ident" : "eb627783-8ec0-4497-a22c-a672bde04500",
  "type" : "invoice",
  "status" : "invoiced",
  "next_status_timestamp" : 1661410761,
  "outstanding" : "2.76",
  "invoice_total_exclusive_vat" : "2.32",
  "invoice_total_vat" : "0.44",
  "invoice_total_inclusive_vat" : "2.76",
  "invoice_total_post_tax_sum" : "0",
  "invoice_total_document_account_due" : "2.76",
  "invoice_total_deposit_sum" : "0",
  "invoice_total_due" : "2.76",
  "currency" : "EUR",
  "order_date" : 1658818702,
  "invoice_date" : 1658818761,
  "business_segment_ident" : "DEFAULT",
  "business_segment_idents" : [ "DEFAULT" ],
  "business_client_id" : 1000,
  "tenant_id" : 1000,
  "timestamp" : 1658818761,
  "document_relation" : {
    "documentReason" : "UNKNOWN",
    "documentRelatedIdent" : null
  },
  "invoice_origin_references" : [ {
    "reference_ident" : "d81b331a-99ac-4b74-86de-66cd66f2dcc4",
    "reference_type" : "CONTRACT"
  } ],
  "preferred_document_delivery" : "NONE",
  "webportal_link" : "https://portal.nbx-stage-westeurope.nitrobox.io/tenant-short/billing/document-files/22-01234"
}

VAT ID validated

{
  "tenantId": 96,
  "vatId": "DE123456789",
  "ident": "145cef9e-f37e-409d-af83-c1eb3dfe7e90",
  "validatedAt": "2024-12-20T09:18:44.596Z",
  "status": "INVALID",
  "customerIdent": "1d87a186-720c-4a83-8a3f-8d2d6384d738",
  "validationProvider": "VIES",
  "rawRequest": "POST /taxation_customs/vies/rest-api/check-vat-number HTTP/2\nContent-Type: application/json; charset=utf-8\nContent-Length: 55\nHost: ec.europa.eu\nConnection: Keep-Alive\nAccept-Encoding: gzip\nUser-Agent: okhttp/4.12.0\n\n{\n  \"countryCode\" : \"DE\",\n  \"vatNumber\" : \"123456789\"\n}\n\n----------------\n\nHTTP/2 200\nCache-Control: no-store\nDate: Fri, 20 Dec 2024 09:18:44 GMT\nTransfer-Encoding: chunked\nContent-Type: application/json;charset=UTF-8\nServer: Europa\nConnection: keep-alive\n\n{\n  \"countryCode\" : \"DE\",\n  \"vatNumber\" : \"123456789\",\n  \"requestDate\" : \"2024-12-20T09:18:44.596Z\",\n  \"valid\" : false,\n  \"requestIdentifier\" : \"\",\n  \"name\" : \"---\",\n  \"address\" : \"---\",\n  \"traderName\" : \"---\",\n  \"traderStreet\" : \"---\",\n  \"traderPostalCode\" : \"---\",\n  \"traderCity\" : \"---\",\n  \"traderCompanyType\" : \"---\",\n  \"traderNameMatch\" : \"NOT_PROCESSED\",\n  \"traderStreetMatch\" : \"NOT_PROCESSED\",\n  \"traderPostalCodeMatch\" : \"NOT_PROCESSED\",\n  \"traderCityMatch\" : \"NOT_PROCESSED\",\n  \"traderCompanyTypeMatch\" : \"NOT_PROCESSED\"\n}",
  "notificationType": "vatId.checked"
}