Mandanten Geschäftseinstellung v2 /api/v2/backend/principals/:principal_id/business_settings

Überblick

Klasse / Datentyp
Mandanten Geschäftseinstellung
Response Formats
JSON
API Version
v2
Öffentlich erreichbar
false
HTTP Methode
GET
Zuletzt aktualisiert

/api/v2/backend/principals/:principal_id/business_settings

Parameter

Beispiel Rückgabe

{
  "data" : {
    "tax_number"                      : "CHE-422.123.021",
    "vat_tax_number"                  : "CHE-422.123.021 MWST",
    "currency"                        : {
      "id"    : "554b3a006f72690370000000",
      "code"  : "CHF",
      "unit"  : "CHF",
      "label" : "Schweizer Franken"
    },
    "rapport_charging_default"        : {"id" : "5444fba1726f727320240100","key" : "intern","label" : "Intern"},
    "payment_term"                    : {
      "id"              : "54c3efdb6f72691d1b340000",
      "key"             : "30-tage-netto",
      "label"           : "30 Tage netto",
      "date_of_payment" : 30
    },
    "partner_tax_type"                : {"id" : "5641211e93e2e515390001ff","code" : "national","label" : "Inland"},
    "partner_client_account"          : {
      "id"     : "554b432c6f72690ea2100400",
      "_type"  : "Business::Account::Active::Debitor",
      "number" : 1100,
      "label"  : "Forderungen aus Lieferungen und Leistungen (Debitoren)"
    },
    "partner_client_classification"   : {
      "id"     : "54fdc4666f726947ac5f0000",
      "label"  : "Schweiz",
      "number" : 6120,
      "path"   : "1.60.6120"
    },
    "partner_supplier_account"        : {
      "id"     : "554b432e6f72690ea26b0400",
      "_type"  : "Business::Account::Passive::Creditor",
      "number" : 2000,
      "label"  : "Verbindlichkeiten aus Lieferungen und Leistungen (Kreditoren)"
    },
    "partner_supplier_classification" : {
      "id"     : "5558b9206f726971ba279900",
      "label"  : "Schweiz",
      "number" : 6120,
      "path"   : "1.60.6120"
    },
    "logbook_entry_charging_default"  : {"id" : "54d5fe5f6f726976d9050000","key" : "intern","label" : "Intern"},
    "logbook_entry_product"           : {
      "id"             : "54fd986a6f72696dd0000000",
      "article_number" : "fahrtkosten",
      "label"          : "Fahrtkosten",
      "resource_class" : "Business::Product::IntangibleGood"
    },
    "logbook_entry_internal_product"  : {
      "id"             : "54fd986a6f72696dd0000000",
      "article_number" : "fahrtkosten",
      "label"          : "Fahrtkosten",
      "resource_class" : "Business::Product::IntangibleGood"
    }
  },
  "meta" : {
    "resource_class" : "Backend::Principal::ModuleSetting::BusinessSetting",
    "id"             : "54d1e0ba6f726926f91c0000",
    "to"             : {
      "string" : "Business Einstellung: Squibble",
      "param"  : "54d1e0ba6f726926f91c0000"
    },
    "created_at"     : "2015-02-04T10:04:58.130+01:00",
    "updated_at"     : "2016-11-06T12:54:30.951+01:00",
    "principal"      : {"id" : "53db7cb4993a7aefa50001e1","to_param" : "squibble"},
    "can"            : {"update" : true,"destroy" : false}
  }
}