{
  "iri": "https://robosystems.ai/taxonomy/rs-gaap/v1/GainLossOnSalesOfLoansNet",
  "qname": "rs-gaap:GainLossOnSalesOfLoansNet",
  "name": "GainLossOnSalesOfLoansNet",
  "namespace": "https://robosystems.ai/taxonomy/rs-gaap/v1/",
  "package": "rs-gaap",
  "label": "Gain (Loss) on Sales of Loans, Net",
  "documentation": "The net gain (loss) resulting from a sale of loans, including adjustments to record loans classified as held-for-sale at the lower-of-cost-or-market and fair value adjustments to loan held for investment purposes.",
  "element_type": "concept",
  "item_type": null,
  "balance": "credit",
  "period_type": "duration",
  "abstract": false,
  "monetary": true,
  "deprecated": false,
  "replaced_by": [],
  "is_structure": false,
  "traits": [
    "https://robosystems.ai/taxonomy/fac-traits/v1/elementsOfFinancialStatements/gain",
    "https://robosystems.ai/taxonomy/fac-traits/v1/flowClassification/inflow"
  ],
  "labels": [
    {
      "role": "total",
      "language": "en",
      "text": "Gain (Loss) on Sales of Loans, Net, Total"
    }
  ],
  "references": [
    {
      "type": "ASC",
      "citation": "Publisher=FASB; Name=Accounting Standards Codification; Topic=230; SubTopic=10; Section=45; Paragraph=28; Subparagraph=(b); URI=http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585"
    },
    {
      "type": "ASC",
      "citation": "Publisher=FASB; Name=Accounting Standards Codification; Topic=942; SubTopic=220; Section=S99; Paragraph=1; Subparagraph=(SX 210.9-04.13(h)); URI=http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
    },
    {
      "type": "ASC",
      "citation": "Publisher=FASB; Name=Accounting Standards Codification; Topic=944; SubTopic=220; Section=S99; Paragraph=1; Subparagraph=(SX 210.7-04.3(a)); URI=http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
    }
  ],
  "equivalent": [],
  "relations": [
    {
      "type": "general-special",
      "arcrole": "http://www.xbrl.org/2003/arcrole/general-special",
      "role": null,
      "weight": null,
      "order": null,
      "end": "from",
      "element": {
        "iri": "https://robosystems.ai/taxonomy/rs-gaap/v1/GainLossOnSaleOfLoansAndLeases",
        "qname": "rs-gaap:GainLossOnSaleOfLoansAndLeases",
        "label": "Gain (Loss) on Sale of Loans and Leases",
        "path": "taxonomy/rs-gaap/v1/GainLossOnSaleOfLoansAndLeases"
      }
    },
    {
      "type": "general-special",
      "arcrole": "http://www.xbrl.org/2003/arcrole/general-special",
      "role": null,
      "weight": null,
      "order": null,
      "end": "from",
      "element": {
        "iri": "https://robosystems.ai/taxonomy/rs-gaap/v1/GainsLossesOnSalesOfAssets",
        "qname": "rs-gaap:GainsLossesOnSalesOfAssets",
        "label": "Gain (Loss) on Disposition of Assets for Financial Service Operations",
        "path": "taxonomy/rs-gaap/v1/GainsLossesOnSalesOfAssets"
      }
    },
    {
      "type": "general-special",
      "arcrole": "http://www.xbrl.org/2003/arcrole/general-special",
      "role": null,
      "weight": null,
      "order": null,
      "end": "to",
      "element": {
        "iri": "https://robosystems.ai/taxonomy/rs-gaap/v1/GainLossOnSaleOfMortgageLoans",
        "qname": "rs-gaap:GainLossOnSaleOfMortgageLoans",
        "label": "Gain (Loss) on Sale of Mortgage Loans",
        "path": "taxonomy/rs-gaap/v1/GainLossOnSaleOfMortgageLoans"
      }
    },
    {
      "type": "general-special",
      "arcrole": "http://www.xbrl.org/2003/arcrole/general-special",
      "role": null,
      "weight": null,
      "order": null,
      "end": "to",
      "element": {
        "iri": "https://robosystems.ai/taxonomy/rs-gaap/v1/GainLossOnSalesOfConsumerLoans",
        "qname": "rs-gaap:GainLossOnSalesOfConsumerLoans",
        "label": "Gain (Loss) on Sales of Consumer Loans",
        "path": "taxonomy/rs-gaap/v1/GainLossOnSalesOfConsumerLoans"
      }
    },
    {
      "type": "presentation",
      "arcrole": "http://www.xbrl.org/2003/arcrole/parent-child",
      "role": null,
      "weight": null,
      "order": null,
      "end": "from",
      "element": {
        "iri": "https://robosystems.ai/taxonomy/rs-gaap/v1/GainLossOnSaleOfLoansAndLeases",
        "qname": "rs-gaap:GainLossOnSaleOfLoansAndLeases",
        "label": "Gain (Loss) on Sale of Loans and Leases",
        "path": "taxonomy/rs-gaap/v1/GainLossOnSaleOfLoansAndLeases"
      }
    },
    {
      "type": "presentation",
      "arcrole": "http://www.xbrl.org/2003/arcrole/parent-child",
      "role": null,
      "weight": null,
      "order": null,
      "end": "from",
      "element": {
        "iri": "https://robosystems.ai/taxonomy/rs-gaap/v1/GainsLossesOnSalesOfAssets",
        "qname": "rs-gaap:GainsLossesOnSalesOfAssets",
        "label": "Gain (Loss) on Disposition of Assets for Financial Service Operations",
        "path": "taxonomy/rs-gaap/v1/GainsLossesOnSalesOfAssets"
      }
    },
    {
      "type": "presentation",
      "arcrole": "http://www.xbrl.org/2003/arcrole/parent-child",
      "role": null,
      "weight": null,
      "order": null,
      "end": "to",
      "element": {
        "iri": "https://robosystems.ai/taxonomy/rs-gaap/v1/GainLossOnSaleOfMortgageLoans",
        "qname": "rs-gaap:GainLossOnSaleOfMortgageLoans",
        "label": "Gain (Loss) on Sale of Mortgage Loans",
        "path": "taxonomy/rs-gaap/v1/GainLossOnSaleOfMortgageLoans"
      }
    },
    {
      "type": "presentation",
      "arcrole": "http://www.xbrl.org/2003/arcrole/parent-child",
      "role": null,
      "weight": null,
      "order": null,
      "end": "to",
      "element": {
        "iri": "https://robosystems.ai/taxonomy/rs-gaap/v1/GainLossOnSalesOfConsumerLoans",
        "qname": "rs-gaap:GainLossOnSalesOfConsumerLoans",
        "label": "Gain (Loss) on Sales of Consumer Loans",
        "path": "taxonomy/rs-gaap/v1/GainLossOnSalesOfConsumerLoans"
      }
    }
  ]
}
