{
  "@context": {
    "@vocab": "https://paidnice.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "paidnice": "https://paidnice.com/schema#",
    "Action": "paidnice:Action",
    "id": {
      "@id": "paidnice:id",
      "@type": "xsd:string"
    },
    "type": {
      "@id": "paidnice:type",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "paidnice:status",
      "@type": "xsd:string"
    },
    "substatus": {
      "@id": "paidnice:substatus",
      "@type": "xsd:string"
    },
    "createdAt": {
      "@id": "paidnice:createdAt",
      "@type": "xsd:string"
    },
    "actionOn": {
      "@id": "paidnice:actionOn",
      "@type": "xsd:string"
    },
    "executedAt": {
      "@id": "paidnice:executedAt",
      "@type": "xsd:string"
    },
    "failedAt": {
      "@id": "paidnice:failedAt",
      "@type": "xsd:string"
    },
    "deferredUntil": {
      "@id": "paidnice:deferredUntil",
      "@type": "xsd:string"
    },
    "ignored": {
      "@id": "paidnice:ignored",
      "@type": "xsd:boolean"
    },
    "errorCode": {
      "@id": "paidnice:errorCode",
      "@type": "xsd:string"
    },
    "errorMessage": {
      "@id": "paidnice:errorMessage",
      "@type": "xsd:string"
    },
    "notes": {
      "@id": "paidnice:notes",
      "@container": "@list"
    },
    "contactId": {
      "@id": "paidnice:contactId",
      "@type": "xsd:integer"
    },
    "contactName": {
      "@id": "paidnice:contactName",
      "@type": "xsd:string"
    },
    "invoiceId": {
      "@id": "paidnice:invoiceId",
      "@type": "xsd:string"
    },
    "invoiceNumber": {
      "@id": "paidnice:invoiceNumber",
      "@type": "xsd:string"
    },
    "policies": {
      "@id": "paidnice:policies",
      "@container": "@list"
    },
    "ErrorResponse": "paidnice:ErrorResponse",
    "error": {
      "@id": "paidnice:error"
    },
    "User": "paidnice:User",
    "email": {
      "@id": "paidnice:email",
      "@type": "xsd:string"
    },
    "firstName": {
      "@id": "paidnice:firstName",
      "@type": "xsd:string"
    },
    "lastName": {
      "@id": "paidnice:lastName",
      "@type": "xsd:string"
    },
    "Contact": "paidnice:Contact",
    "name": {
      "@id": "paidnice:name",
      "@type": "xsd:string"
    },
    "accountingSystemId": {
      "@id": "paidnice:accountingSystemId",
      "@type": "xsd:string"
    },
    "accountNumber": {
      "@id": "paidnice:accountNumber",
      "@type": "xsd:string"
    },
    "smsOptedOut": {
      "@id": "paidnice:smsOptedOut",
      "@type": "xsd:boolean"
    },
    "contactPersons": {
      "@id": "paidnice:contactPersons",
      "@container": "@list"
    },
    "groupId": {
      "@id": "paidnice:groupId",
      "@type": "xsd:integer"
    },
    "groupTitle": {
      "@id": "paidnice:groupTitle",
      "@type": "xsd:string"
    },
    "assignedUser": {
      "@id": "paidnice:assignedUser"
    },
    "paymentPromises": {
      "@id": "paidnice:paymentPromises",
      "@container": "@list"
    },
    "invoiceQueries": {
      "@id": "paidnice:invoiceQueries",
      "@container": "@list"
    },
    "paymentPlans": {
      "@id": "paidnice:paymentPlans",
      "@container": "@list"
    },
    "PaymentPromise": "paidnice:PaymentPromise",
    "promisedAmount": {
      "@id": "paidnice:promisedAmount",
      "@type": "xsd:decimal"
    },
    "promisedDate": {
      "@id": "paidnice:promisedDate",
      "@type": "xsd:string"
    },
    "source": {
      "@id": "paidnice:source",
      "@type": "xsd:string"
    },
    "resolvedAt": {
      "@id": "paidnice:resolvedAt",
      "@type": "xsd:string"
    },
    "InvoiceQuery": "paidnice:InvoiceQuery",
    "reason": {
      "@id": "paidnice:reason",
      "@type": "xsd:string"
    },
    "detail": {
      "@id": "paidnice:detail",
      "@type": "xsd:string"
    },
    "nextAction": {
      "@id": "paidnice:nextAction",
      "@type": "xsd:string"
    },
    "dueDate": {
      "@id": "paidnice:dueDate",
      "@type": "xsd:string"
    },
    "resolution": {
      "@id": "paidnice:resolution",
      "@type": "xsd:string"
    },
    "PaymentPlan": "paidnice:PaymentPlan",
    "originalDueAmount": {
      "@id": "paidnice:originalDueAmount",
      "@type": "xsd:decimal"
    },
    "surchargeAmount": {
      "@id": "paidnice:surchargeAmount",
      "@type": "xsd:decimal"
    },
    "instalments": {
      "@id": "paidnice:instalments",
      "@container": "@list"
    },
    "UpdateContactPersonsRequest": "paidnice:UpdateContactPersonsRequest",
    "persons": {
      "@id": "paidnice:persons",
      "@container": "@list"
    },
    "ContactPersonInput": "paidnice:ContactPersonInput",
    "isPrimary": {
      "@id": "paidnice:isPrimary",
      "@type": "xsd:boolean"
    },
    "mobileNumber": {
      "@id": "paidnice:mobileNumber",
      "@type": "xsd:string"
    },
    "mobileCountryCode": {
      "@id": "paidnice:mobileCountryCode",
      "@type": "xsd:string"
    },
    "defaultNumber": {
      "@id": "paidnice:defaultNumber",
      "@type": "xsd:string"
    },
    "defaultCountryCode": {
      "@id": "paidnice:defaultCountryCode",
      "@type": "xsd:string"
    },
    "includeInNotifications": {
      "@id": "paidnice:includeInNotifications",
      "@type": "xsd:boolean"
    },
    "sourceType": {
      "@id": "paidnice:sourceType",
      "@type": "xsd:string"
    },
    "ContactPolicyCheck": "paidnice:ContactPolicyCheck",
    "InboundSms": "paidnice:InboundSms",
    "fromNumber": {
      "@id": "paidnice:fromNumber",
      "@type": "xsd:string"
    },
    "toNumber": {
      "@id": "paidnice:toNumber",
      "@type": "xsd:string"
    },
    "body": {
      "@id": "paidnice:body",
      "@type": "xsd:string"
    },
    "matchedActionId": {
      "@id": "paidnice:matchedActionId",
      "@type": "xsd:string"
    },
    "InboundEmail": "paidnice:InboundEmail",
    "from": {
      "@id": "paidnice:from",
      "@type": "xsd:string"
    },
    "to": {
      "@id": "paidnice:to",
      "@type": "xsd:string"
    },
    "cc": {
      "@id": "paidnice:cc",
      "@type": "xsd:string"
    },
    "subject": {
      "@id": "paidnice:subject",
      "@type": "xsd:string"
    },
    "extractedReplyText": {
      "@id": "paidnice:extractedReplyText",
      "@type": "xsd:string"
    },
    "attachmentCount": {
      "@id": "paidnice:attachmentCount",
      "@type": "xsd:integer"
    },
    "Invoice": "paidnice:Invoice",
    "number": {
      "@id": "paidnice:number",
      "@type": "xsd:string"
    },
    "reference": {
      "@id": "paidnice:reference",
      "@type": "xsd:string"
    },
    "currency": {
      "@id": "paidnice:currency",
      "@type": "xsd:string"
    },
    "frozen": {
      "@id": "paidnice:frozen",
      "@type": "xsd:boolean"
    },
    "sentToCustomer": {
      "@id": "paidnice:sentToCustomer",
      "@type": "xsd:boolean"
    },
    "dueAmount": {
      "@id": "paidnice:dueAmount",
      "@type": "xsd:decimal"
    },
    "totalAmount": {
      "@id": "paidnice:totalAmount",
      "@type": "xsd:decimal"
    },
    "subtotalAmount": {
      "@id": "paidnice:subtotalAmount",
      "@type": "xsd:decimal"
    },
    "taxAmount": {
      "@id": "paidnice:taxAmount",
      "@type": "xsd:decimal"
    },
    "paidAmount": {
      "@id": "paidnice:paidAmount",
      "@type": "xsd:decimal"
    },
    "discountAmount": {
      "@id": "paidnice:discountAmount",
      "@type": "xsd:decimal"
    },
    "creditedAmount": {
      "@id": "paidnice:creditedAmount",
      "@type": "xsd:decimal"
    },
    "depositAmount": {
      "@id": "paidnice:depositAmount",
      "@type": "xsd:decimal"
    },
    "exchangeRate": {
      "@id": "paidnice:exchangeRate",
      "@type": "xsd:decimal"
    },
    "accountingSystemExchangeRate": {
      "@id": "paidnice:accountingSystemExchangeRate",
      "@type": "xsd:decimal"
    },
    "issueDate": {
      "@id": "paidnice:issueDate",
      "@type": "xsd:string"
    },
    "lastSyncedDate": {
      "@id": "paidnice:lastSyncedDate",
      "@type": "xsd:string"
    },
    "portalUrl": {
      "@id": "paidnice:portalUrl",
      "@type": "xsd:string"
    },
    "accountingSystemOnlineUrl": {
      "@id": "paidnice:accountingSystemOnlineUrl",
      "@type": "xsd:string"
    },
    "InvoicePolicyCheck": "paidnice:InvoicePolicyCheck",
    "groupName": {
      "@id": "paidnice:groupName",
      "@type": "xsd:string"
    },
    "Note": "paidnice:Note",
    "content": {
      "@id": "paidnice:content",
      "@type": "xsd:string"
    },
    "authorName": {
      "@id": "paidnice:authorName",
      "@type": "xsd:string"
    },
    "Organisation": "paidnice:Organisation",
    "legalName": {
      "@id": "paidnice:legalName",
      "@type": "xsd:string"
    },
    "displayName": {
      "@id": "paidnice:displayName",
      "@type": "xsd:string"
    },
    "connected": {
      "@id": "paidnice:connected",
      "@type": "xsd:boolean"
    },
    "accountingSystemType": {
      "@id": "paidnice:accountingSystemType",
      "@type": "xsd:string"
    },
    "OrganisationSummary": "paidnice:OrganisationSummary",
    "outstandingTotal": {
      "@id": "paidnice:outstandingTotal",
      "@type": "xsd:decimal"
    },
    "overdueTotal": {
      "@id": "paidnice:overdueTotal",
      "@type": "xsd:decimal"
    },
    "unpaidInvoiceCount": {
      "@id": "paidnice:unpaidInvoiceCount",
      "@type": "xsd:integer"
    },
    "overdueInvoiceCount": {
      "@id": "paidnice:overdueInvoiceCount",
      "@type": "xsd:integer"
    },
    "contactCount": {
      "@id": "paidnice:contactCount",
      "@type": "xsd:integer"
    },
    "StripePayment": "paidnice:StripePayment",
    "date": {
      "@id": "paidnice:date",
      "@type": "xsd:string"
    },
    "amount": {
      "@id": "paidnice:amount",
      "@type": "xsd:decimal"
    },
    "transactionAmount": {
      "@id": "paidnice:transactionAmount",
      "@type": "xsd:decimal"
    },
    "transactionCurrency": {
      "@id": "paidnice:transactionCurrency",
      "@type": "xsd:string"
    },
    "stripeFeeAmount": {
      "@id": "paidnice:stripeFeeAmount",
      "@type": "xsd:decimal"
    },
    "paymentMethodType": {
      "@id": "paidnice:paymentMethodType",
      "@type": "xsd:string"
    },
    "stripePaymentIntentId": {
      "@id": "paidnice:stripePaymentIntentId",
      "@type": "xsd:string"
    },
    "receiptUrl": {
      "@id": "paidnice:receiptUrl",
      "@type": "xsd:string"
    },
    "accountingSyncFailed": {
      "@id": "paidnice:accountingSyncFailed",
      "@type": "xsd:boolean"
    },
    "invoices": {
      "@id": "paidnice:invoices",
      "@container": "@list"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Paidnice API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Paidnice's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-20) from openapi/paidnice-com-openapi.json.",
  "dcterms:created": "2026-11-20",
  "dcterms:source": [
    "openapi/paidnice-com-openapi.json"
  ]
}