Document styles

Show examples in: cURL Ruby

List all document styles

Example: returns all DocumentStyles of an administration

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/document_styles.json?

Response

Status: 200 OK
[
  {
    "id": "190119430539183962",
    "administration_id": 123,
    "name": "Default",
    "identity_id": "190119429834540879",
    "default": true,
    "logo_hash": null,
    "logo_container_full_width": false,
    "logo_display_width": 50,
    "logo_position": "right",
    "background_hash": null,
    "paper_size": "A4",
    "address_position": "left",
    "font_size": 9,
    "font_family": "lucida_grande",
    "print_on_stationery": false,
    "custom_css": null,
    "invoice_sender_address": [
      {
        "field": "company_name",
        "bold": true
      },
      {
        "field": "address"
      },
      {
        "field": "newline"
      },
      {
        "field": "email"
      },
      {
        "field": "phone"
      },
      {
        "field": "newline"
      },
      {
        "field": "chamber_of_commerce",
        "label": true
      },
      {
        "field": "tax_number",
        "label": true
      },
      {
        "field": "bank_account_number",
        "label": true
      }
    ],
    "invoice_metadata_left": [
      {
        "field": "reference"
      }
    ],
    "invoice_metadata_right": [
      {
        "field": "invoice_date"
      },
      {
        "field": "due_date"
      }
    ],
    "estimate_sender_address": [
      {
        "field": "company_name",
        "bold": true
      },
      {
        "field": "address"
      },
      {
        "field": "newline"
      },
      {
        "field": "email"
      },
      {
        "field": "phone"
      },
      {
        "field": "newline"
      },
      {
        "field": "chamber_of_commerce",
        "label": true
      },
      {
        "field": "tax_number",
        "label": true
      },
      {
        "field": "bank_account_number",
        "label": true
      }
    ],
    "estimate_metadata_left": [
      {
        "field": "reference"
      }
    ],
    "estimate_metadata_right": [
      {
        "field": "estimate_date"
      },
      {
        "field": "due_date"
      }
    ],
    "created_at": "2017-05-23T09:33:59.674Z",
    "updated_at": "2017-05-23T09:33:59.701Z"
  }
]

Top