API

Retry transaction fiscalization

Retries a failed transaction fiscalization without creating a new transaction or provider document entry.

POST/v1/hq/fiscalizations/transactions/{transaction_id}/retry

Authorization

BearerTokenAuth

AuthorizationBearer <token>

The Noona HQ API uses Bearer token for authentication.

Endpoints that return generic information that does not contain sensitive data do not require authentication. Endpoints that require authentication are specifically marked in the documentation.

Authorization: Bearer your-token

In: header

Path Parameters

transaction_id*string
Example"dwawd8awudawd"

Response Body

application/json

application/json

curl -X POST "https://api.noona.is/v1/hq/fiscalizations/transactions/dwawd8awudawd/retry"
{
  "id": "8wa9uiah28dawd123",
  "company": "string",
  "sale": {
    "id": "8wa9uiah28dawd123",
    "transactions": [
      {
        "id": "string"
      }
    ],
    "events": [
      {
        "id": "string"
      }
    ],
    "company": "string",
    "customer": {
      "id": "string"
    },
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z"
  },
  "subtransactions": [
    "string"
  ],
  "employees": [
    "string"
  ],
  "line_items": [
    {
      "id": "string"
    }
  ],
  "refunds": [
    "8wa9uiah28dawd123"
  ],
  "refund_origin": "8wa9uiah28dawd123",
  "invoice_number": 9001,
  "note": "string",
  "issuer": {
    "id": "8wa9uiah28dawd123",
    "type": "company",
    "name": "Noona cuts",
    "bin": "string",
    "legal_address": "My Street 1, 101 Reykjavik",
    "extra_invoice_info": "Some extra info to include on invoices.",
    "vat_id": "string",
    "default_vat": "string",
    "tax_exemption_reason": "M16",
    "other": "string"
  },
  "fiscalization": "string",
  "fiscalization_provider": "SaltPay",
  "fiscalization_status": "processing",
  "fiscalization_warning": "string",
  "fiscalization_faults": [
    {
      "provider": "string",
      "code": "string",
      "message": "string",
      "paths": [
        "string"
      ],
      "fields": "string"
    }
  ],
  "currency": "ISK",
  "total_amount": 1990,
  "total_amount_without_vat": 1990,
  "vat_amount": 478,
  "due_amount": 990,
  "paid_on_marketplace_amount": 1000,
  "origin": "marketplace",
  "tax_exemption_reason": "M01",
  "type": "invoice",
  "status": "draft",
  "drafted_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z",
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z",
  "voided_at": "2019-08-24T14:15:22Z",
  "invopop_header": {
    "uuid": "0199dd45-e893-7208-ac79-8f4fe5449e04",
    "code": "FR IXTEST-01/8849",
    "digest": {
      "algorithm": "sha256",
      "value": "ead24e3c59a8b23f4953145566c8371e1c5b8d86280612654531b421d263e89d"
    },
    "stamps": [
      {
        "provider": "at-atcud",
        "value": "AAJFJRJYD4-8849"
      }
    ]
  }
}
{
  "message": "Customer onboarding error.",
  "code": "customer_onboarding_error",
  "faults": [
    {
      "provider": "string",
      "code": "string",
      "message": "string",
      "paths": [
        "string"
      ],
      "fields": "string"
    }
  ]
}
Empty
Empty
Empty
Empty