Recurring sales invoices

List all recurring sales invoices

Returns a paginated list of all recurring sales invoices in the administration.

The filter argument allows you to filter on the list of recurring invoices. Filters are a combination of keys and values, separated by a comma: state:active,contact_id:123. The available options for filtering are:

Filter Type Default Description
state String active active or inactive
frequency String all all, day, week, month, quarter or year
auto_send Boolean null null, true or false
contact_id Integer   Filters recurring invoices by a single contact
workflow_id Integer   Filters recurring invoices by a single workflow

Parameters

Parameter Type Description
filter String

Example: returns all recurring sales invoices of an administration

Request

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

Response

        
          
          Status: 200 OK
        
      
[
  {
    "id": "426664233842771837",
    "administration_id": 123,
    "contact_id": "426664233706456947",
    "contact": {
      "id": "426664233706456947",
      "administration_id": 123,
      "company_name": "Foobar Holding B.V.",
      "firstname": "",
      "lastname": "",
      "address1": "Hoofdstraat 12",
      "address2": "",
      "zipcode": "1234AB",
      "city": "Amsterdam",
      "country": "NL",
      "phone": "",
      "delivery_method": "Email",
      "customer_id": "2",
      "tax_number": "",
      "chamber_of_commerce": "",
      "bank_account": "",
      "attention": "",
      "email": "info@example.com",
      "email_ubl": true,
      "send_invoices_to_attention": "",
      "send_invoices_to_email": "info@example.com",
      "send_estimates_to_attention": "",
      "send_estimates_to_email": "info@example.com",
      "sepa_active": false,
      "sepa_iban": "",
      "sepa_iban_account_name": "",
      "sepa_bic": "",
      "sepa_mandate_id": "",
      "sepa_mandate_date": null,
      "sepa_sequence_type": "RCUR",
      "credit_card_number": "",
      "credit_card_reference": "",
      "credit_card_type": null,
      "tax_number_validated_at": null,
      "tax_number_valid": null,
      "invoice_workflow_id": null,
      "estimate_workflow_id": null,
      "si_identifier": "",
      "si_identifier_type": null,
      "moneybird_payments_mandate": false,
      "created_at": "2024-07-16T08:32:23.135Z",
      "updated_at": "2024-07-16T08:32:23.135Z",
      "version": 1721118743,
      "sales_invoices_url": "https://moneybird.dev/123/sales_invoices/b5a737d8281c7d274bd02829315174097fe62c582d75db272a2c114c985a3b2d/all",
      "notes": [

      ],
      "custom_fields": [

      ],
      "contact_people": [

      ],
      "archived": false
    },
    "contact_person_id": null,
    "contact_person": null,
    "workflow_id": "426664036392764982",
    "start_date": "2024-07-17",
    "invoice_date": "2024-07-17",
    "last_date": "2024-07-17",
    "active": true,
    "payment_conditions": "We verzoeken u vriendelijk het bovenstaande bedrag van {document.total_price} voor {document.due_date} te voldoen op onze bankrekening onder vermelding van de omschrijving {document.payment_reference}. Voor vragen kunt u contact opnemen per e-mail.",
    "reference": "Project X",
    "language": "nl",
    "currency": "EUR",
    "discount": "0.0",
    "first_due_interval": 14,
    "auto_send": false,
    "sending_scheduled_at": null,
    "sending_scheduled_user_id": null,
    "frequency_type": "year",
    "frequency": 1,
    "created_at": "2024-07-16T08:32:23.265Z",
    "updated_at": "2024-07-16T08:32:23.274Z",
    "version": 1721118743,
    "prices_are_incl_tax": false,
    "total_price_excl_tax": "2.91",
    "total_price_excl_tax_base": "2.91",
    "total_price_incl_tax": "3.52",
    "total_price_incl_tax_base": "3.52",
    "details": [
      {
        "id": "426664233845917566",
        "administration_id": 123,
        "tax_rate_id": "426664036220798511",
        "ledger_account_id": "426664036164175387",
        "project_id": null,
        "product_id": null,
        "amount": "5 stuks",
        "amount_decimal": "5.0",
        "description": "Appels",
        "price": "0.45",
        "period": null,
        "row_order": 1,
        "total_price_excl_tax_with_discount": "2.25",
        "total_price_excl_tax_with_discount_base": "2.25",
        "tax_report_reference": [
          "NL/1a"
        ],
        "mandatory_tax_text": null,
        "created_at": "2024-07-16T08:32:23.268Z",
        "updated_at": "2024-07-16T08:32:23.268Z"
      },
      {
        "id": "426664233849063295",
        "administration_id": 123,
        "tax_rate_id": "426664036220798511",
        "ledger_account_id": "426664036164175387",
        "project_id": null,
        "product_id": null,
        "amount": "2 stuks",
        "amount_decimal": "2.0",
        "description": "Peren",
        "price": "0.33",
        "period": null,
        "row_order": 2,
        "total_price_excl_tax_with_discount": "0.66",
        "total_price_excl_tax_with_discount_base": "0.66",
        "tax_report_reference": [
          "NL/1a"
        ],
        "mandatory_tax_text": null,
        "created_at": "2024-07-16T08:32:23.271Z",
        "updated_at": "2024-07-16T08:32:23.271Z"
      }
    ],
    "custom_fields": [

    ],
    "notes": [

    ],
    "attachments": [

    ],
    "events": [
      {
        "administration_id": 123,
        "user_id": 17211185545521,
        "action": "recurring_sales_invoice_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {
        },
        "created_at": "2024-07-16T08:32:23.276Z",
        "updated_at": "2024-07-16T08:32:23.276Z"
      }
    ],
    "subscription": null
  },
  {
    "id": "426664233787197305",
    "administration_id": 123,
    "contact_id": "426664233706456947",
    "contact": {
      "id": "426664233706456947",
      "administration_id": 123,
      "company_name": "Foobar Holding B.V.",
      "firstname": "",
      "lastname": "",
      "address1": "Hoofdstraat 12",
      "address2": "",
      "zipcode": "1234AB",
      "city": "Amsterdam",
      "country": "NL",
      "phone": "",
      "delivery_method": "Email",
      "customer_id": "2",
      "tax_number": "",
      "chamber_of_commerce": "",
      "bank_account": "",
      "attention": "",
      "email": "info@example.com",
      "email_ubl": true,
      "send_invoices_to_attention": "",
      "send_invoices_to_email": "info@example.com",
      "send_estimates_to_attention": "",
      "send_estimates_to_email": "info@example.com",
      "sepa_active": false,
      "sepa_iban": "",
      "sepa_iban_account_name": "",
      "sepa_bic": "",
      "sepa_mandate_id": "",
      "sepa_mandate_date": null,
      "sepa_sequence_type": "RCUR",
      "credit_card_number": "",
      "credit_card_reference": "",
      "credit_card_type": null,
      "tax_number_validated_at": null,
      "tax_number_valid": null,
      "invoice_workflow_id": null,
      "estimate_workflow_id": null,
      "si_identifier": "",
      "si_identifier_type": null,
      "moneybird_payments_mandate": false,
      "created_at": "2024-07-16T08:32:23.135Z",
      "updated_at": "2024-07-16T08:32:23.135Z",
      "version": 1721118743,
      "sales_invoices_url": "https://moneybird.dev/123/sales_invoices/b5a737d8281c7d274bd02829315174097fe62c582d75db272a2c114c985a3b2d/all",
      "notes": [

      ],
      "custom_fields": [

      ],
      "contact_people": [

      ],
      "archived": false
    },
    "contact_person_id": null,
    "contact_person": null,
    "workflow_id": "426664036392764982",
    "start_date": "2024-07-17",
    "invoice_date": "2024-07-17",
    "last_date": "2024-07-17",
    "active": true,
    "payment_conditions": "We verzoeken u vriendelijk het bovenstaande bedrag van {document.total_price} voor {document.due_date} te voldoen op onze bankrekening onder vermelding van de omschrijving {document.payment_reference}. Voor vragen kunt u contact opnemen per e-mail.",
    "reference": "Project X",
    "language": "nl",
    "currency": "EUR",
    "discount": "0.0",
    "first_due_interval": 14,
    "auto_send": false,
    "sending_scheduled_at": null,
    "sending_scheduled_user_id": null,
    "frequency_type": "year",
    "frequency": 1,
    "created_at": "2024-07-16T08:32:23.212Z",
    "updated_at": "2024-07-16T08:32:23.225Z",
    "version": 1721118743,
    "prices_are_incl_tax": false,
    "total_price_excl_tax": "2.91",
    "total_price_excl_tax_base": "2.91",
    "total_price_incl_tax": "3.52",
    "total_price_incl_tax_base": "3.52",
    "details": [
      {
        "id": "426664233790343034",
        "administration_id": 123,
        "tax_rate_id": "426664036220798511",
        "ledger_account_id": "426664036164175387",
        "project_id": null,
        "product_id": null,
        "amount": "5 stuks",
        "amount_decimal": "5.0",
        "description": "Appels",
        "price": "0.45",
        "period": null,
        "row_order": 1,
        "total_price_excl_tax_with_discount": "2.25",
        "total_price_excl_tax_with_discount_base": "2.25",
        "tax_report_reference": [
          "NL/1a"
        ],
        "mandatory_tax_text": null,
        "created_at": "2024-07-16T08:32:23.214Z",
        "updated_at": "2024-07-16T08:32:23.214Z"
      },
      {
        "id": "426664233798731643",
        "administration_id": 123,
        "tax_rate_id": "426664036220798511",
        "ledger_account_id": "426664036164175387",
        "project_id": null,
        "product_id": null,
        "amount": "2 stuks",
        "amount_decimal": "2.0",
        "description": "Peren",
        "price": "0.33",
        "period": null,
        "row_order": 2,
        "total_price_excl_tax_with_discount": "0.66",
        "total_price_excl_tax_with_discount_base": "0.66",
        "tax_report_reference": [
          "NL/1a"
        ],
        "mandatory_tax_text": null,
        "created_at": "2024-07-16T08:32:23.223Z",
        "updated_at": "2024-07-16T08:32:23.223Z"
      }
    ],
    "custom_fields": [

    ],
    "notes": [

    ],
    "attachments": [

    ],
    "events": [
      {
        "administration_id": 123,
        "user_id": 17211185545521,
        "action": "recurring_sales_invoice_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {
        },
        "created_at": "2024-07-16T08:32:23.227Z",
        "updated_at": "2024-07-16T08:32:23.227Z"
      }
    ],
    "subscription": null
  },
  {
    "id": "426664233737914229",
    "administration_id": 123,
    "contact_id": "426664233706456947",
    "contact": {
      "id": "426664233706456947",
      "administration_id": 123,
      "company_name": "Foobar Holding B.V.",
      "firstname": "",
      "lastname": "",
      "address1": "Hoofdstraat 12",
      "address2": "",
      "zipcode": "1234AB",
      "city": "Amsterdam",
      "country": "NL",
      "phone": "",
      "delivery_method": "Email",
      "customer_id": "2",
      "tax_number": "",
      "chamber_of_commerce": "",
      "bank_account": "",
      "attention": "",
      "email": "info@example.com",
      "email_ubl": true,
      "send_invoices_to_attention": "",
      "send_invoices_to_email": "info@example.com",
      "send_estimates_to_attention": "",
      "send_estimates_to_email": "info@example.com",
      "sepa_active": false,
      "sepa_iban": "",
      "sepa_iban_account_name": "",
      "sepa_bic": "",
      "sepa_mandate_id": "",
      "sepa_mandate_date": null,
      "sepa_sequence_type": "RCUR",
      "credit_card_number": "",
      "credit_card_reference": "",
      "credit_card_type": null,
      "tax_number_validated_at": null,
      "tax_number_valid": null,
      "invoice_workflow_id": null,
      "estimate_workflow_id": null,
      "si_identifier": "",
      "si_identifier_type": null,
      "moneybird_payments_mandate": false,
      "created_at": "2024-07-16T08:32:23.135Z",
      "updated_at": "2024-07-16T08:32:23.135Z",
      "version": 1721118743,
      "sales_invoices_url": "https://moneybird.dev/123/sales_invoices/b5a737d8281c7d274bd02829315174097fe62c582d75db272a2c114c985a3b2d/all",
      "notes": [

      ],
      "custom_fields": [

      ],
      "contact_people": [

      ],
      "archived": false
    },
    "contact_person_id": null,
    "contact_person": null,
    "workflow_id": "426664036392764982",
    "start_date": "2024-07-17",
    "invoice_date": "2024-07-17",
    "last_date": "2024-07-17",
    "active": true,
    "payment_conditions": "We verzoeken u vriendelijk het bovenstaande bedrag van {document.total_price} voor {document.due_date} te voldoen op onze bankrekening onder vermelding van de omschrijving {document.payment_reference}. Voor vragen kunt u contact opnemen per e-mail.",
    "reference": "Project X",
    "language": "nl",
    "currency": "EUR",
    "discount": "0.0",
    "first_due_interval": 14,
    "auto_send": false,
    "sending_scheduled_at": null,
    "sending_scheduled_user_id": null,
    "frequency_type": "year",
    "frequency": 1,
    "created_at": "2024-07-16T08:32:23.165Z",
    "updated_at": "2024-07-16T08:32:23.173Z",
    "version": 1721118743,
    "prices_are_incl_tax": false,
    "total_price_excl_tax": "2.91",
    "total_price_excl_tax_base": "2.91",
    "total_price_incl_tax": "3.52",
    "total_price_incl_tax_base": "3.52",
    "details": [
      {
        "id": "426664233741059958",
        "administration_id": 123,
        "tax_rate_id": "426664036220798511",
        "ledger_account_id": "426664036164175387",
        "project_id": null,
        "product_id": null,
        "amount": "5 stuks",
        "amount_decimal": "5.0",
        "description": "Appels",
        "price": "0.45",
        "period": null,
        "row_order": 1,
        "total_price_excl_tax_with_discount": "2.25",
        "total_price_excl_tax_with_discount_base": "2.25",
        "tax_report_reference": [
          "NL/1a"
        ],
        "mandatory_tax_text": null,
        "created_at": "2024-07-16T08:32:23.168Z",
        "updated_at": "2024-07-16T08:32:23.168Z"
      },
      {
        "id": "426664233743157111",
        "administration_id": 123,
        "tax_rate_id": "426664036220798511",
        "ledger_account_id": "426664036164175387",
        "project_id": null,
        "product_id": null,
        "amount": "2 stuks",
        "amount_decimal": "2.0",
        "description": "Peren",
        "price": "0.33",
        "period": null,
        "row_order": 2,
        "total_price_excl_tax_with_discount": "0.66",
        "total_price_excl_tax_with_discount_base": "0.66",
        "tax_report_reference": [
          "NL/1a"
        ],
        "mandatory_tax_text": null,
        "created_at": "2024-07-16T08:32:23.171Z",
        "updated_at": "2024-07-16T08:32:23.171Z"
      }
    ],
    "custom_fields": [

    ],
    "notes": [

    ],
    "attachments": [

    ],
    "events": [
      {
        "administration_id": 123,
        "user_id": 17211185545521,
        "action": "recurring_sales_invoice_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {
        },
        "created_at": "2024-07-16T08:32:23.174Z",
        "updated_at": "2024-07-16T08:32:23.174Z"
      }
    ],
    "subscription": null
  }
]
      

Example: returns recurring invoices filtered on frequency

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/recurring_sales_invoices.json?filter=frequency%3Amonth
    

Response

        
          
          Status: 200 OK
        
      
[
  {
    "id": "426664234031515526",
    "administration_id": 123,
    "contact_id": "426664233986426755",
    "contact": {
      "id": "426664233986426755",
      "administration_id": 123,
      "company_name": "Foobar Holding B.V.",
      "firstname": "",
      "lastname": "",
      "address1": "Hoofdstraat 12",
      "address2": "",
      "zipcode": "1234AB",
      "city": "Amsterdam",
      "country": "NL",
      "phone": "",
      "delivery_method": "Email",
      "customer_id": "1",
      "tax_number": "",
      "chamber_of_commerce": "",
      "bank_account": "",
      "attention": "",
      "email": "info@example.com",
      "email_ubl": true,
      "send_invoices_to_attention": "",
      "send_invoices_to_email": "info@example.com",
      "send_estimates_to_attention": "",
      "send_estimates_to_email": "info@example.com",
      "sepa_active": false,
      "sepa_iban": "",
      "sepa_iban_account_name": "",
      "sepa_bic": "",
      "sepa_mandate_id": "",
      "sepa_mandate_date": null,
      "sepa_sequence_type": "RCUR",
      "credit_card_number": "",
      "credit_card_reference": "",
      "credit_card_type": null,
      "tax_number_validated_at": null,
      "tax_number_valid": null,
      "invoice_workflow_id": null,
      "estimate_workflow_id": null,
      "si_identifier": "",
      "si_identifier_type": null,
      "moneybird_payments_mandate": false,
      "created_at": "2024-07-16T08:32:23.402Z",
      "updated_at": "2024-07-16T08:32:23.402Z",
      "version": 1721118743,
      "sales_invoices_url": "https://moneybird.dev/123/sales_invoices/f73c4a4ca30b767daad28145b6d6bab3237ec88e74b965174a44f3837f11084f/all",
      "notes": [

      ],
      "custom_fields": [

      ],
      "contact_people": [

      ],
      "archived": false
    },
    "contact_person_id": null,
    "contact_person": null,
    "workflow_id": "426664036392764982",
    "start_date": "2024-07-17",
    "invoice_date": "2024-07-17",
    "last_date": "2024-07-17",
    "active": true,
    "payment_conditions": "We verzoeken u vriendelijk het bovenstaande bedrag van {document.total_price} voor {document.due_date} te voldoen op onze bankrekening onder vermelding van de omschrijving {document.payment_reference}. Voor vragen kunt u contact opnemen per e-mail.",
    "reference": "Project X",
    "language": "nl",
    "currency": "EUR",
    "discount": "0.0",
    "first_due_interval": 14,
    "auto_send": false,
    "sending_scheduled_at": null,
    "sending_scheduled_user_id": null,
    "frequency_type": "month",
    "frequency": 1,
    "created_at": "2024-07-16T08:32:23.445Z",
    "updated_at": "2024-07-16T08:32:23.453Z",
    "version": 1721118743,
    "prices_are_incl_tax": false,
    "total_price_excl_tax": "2.91",
    "total_price_excl_tax_base": "2.91",
    "total_price_incl_tax": "3.52",
    "total_price_incl_tax_base": "3.52",
    "details": [
      {
        "id": "426664234034661255",
        "administration_id": 123,
        "tax_rate_id": "426664036220798511",
        "ledger_account_id": "426664036164175387",
        "project_id": null,
        "product_id": null,
        "amount": "5 stuks",
        "amount_decimal": "5.0",
        "description": "Appels",
        "price": "0.45",
        "period": null,
        "row_order": 1,
        "total_price_excl_tax_with_discount": "2.25",
        "total_price_excl_tax_with_discount_base": "2.25",
        "tax_report_reference": [
          "NL/1a"
        ],
        "mandatory_tax_text": null,
        "created_at": "2024-07-16T08:32:23.448Z",
        "updated_at": "2024-07-16T08:32:23.448Z"
      },
      {
        "id": "426664234037806984",
        "administration_id": 123,
        "tax_rate_id": "426664036220798511",
        "ledger_account_id": "426664036164175387",
        "project_id": null,
        "product_id": null,
        "amount": "2 stuks",
        "amount_decimal": "2.0",
        "description": "Peren",
        "price": "0.33",
        "period": null,
        "row_order": 2,
        "total_price_excl_tax_with_discount": "0.66",
        "total_price_excl_tax_with_discount_base": "0.66",
        "tax_report_reference": [
          "NL/1a"
        ],
        "mandatory_tax_text": null,
        "created_at": "2024-07-16T08:32:23.451Z",
        "updated_at": "2024-07-16T08:32:23.451Z"
      }
    ],
    "custom_fields": [

    ],
    "notes": [

    ],
    "attachments": [

    ],
    "events": [
      {
        "administration_id": 123,
        "user_id": 17211185545521,
        "action": "recurring_sales_invoice_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {
        },
        "created_at": "2024-07-16T08:32:23.454Z",
        "updated_at": "2024-07-16T08:32:23.454Z"
      }
    ],
    "subscription": null
  }
]
      

Example: returns recurring invoices filtered on contact

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/recurring_sales_invoices.json?filter=contact_id%3A426664234551609247
    

Response

        
          
          Status: 200 OK
        
      
[
  {
    "id": "426664234595649442",
    "administration_id": 123,
    "contact_id": "426664234551609247",
    "contact": {
      "id": "426664234551609247",
      "administration_id": 123,
      "company_name": "Foobar Holding B.V.",
      "firstname": "",
      "lastname": "",
      "address1": "Hoofdstraat 12",
      "address2": "",
      "zipcode": "1234AB",
      "city": "Amsterdam",
      "country": "NL",
      "phone": "",
      "delivery_method": "Email",
      "customer_id": "1",
      "tax_number": "",
      "chamber_of_commerce": "",
      "bank_account": "",
      "attention": "",
      "email": "info@example.com",
      "email_ubl": true,
      "send_invoices_to_attention": "",
      "send_invoices_to_email": "info@example.com",
      "send_estimates_to_attention": "",
      "send_estimates_to_email": "info@example.com",
      "sepa_active": false,
      "sepa_iban": "",
      "sepa_iban_account_name": "",
      "sepa_bic": "",
      "sepa_mandate_id": "",
      "sepa_mandate_date": null,
      "sepa_sequence_type": "RCUR",
      "credit_card_number": "",
      "credit_card_reference": "",
      "credit_card_type": null,
      "tax_number_validated_at": null,
      "tax_number_valid": null,
      "invoice_workflow_id": null,
      "estimate_workflow_id": null,
      "si_identifier": "",
      "si_identifier_type": null,
      "moneybird_payments_mandate": false,
      "created_at": "2024-07-16T08:32:23.941Z",
      "updated_at": "2024-07-16T08:32:23.941Z",
      "version": 1721118743,
      "sales_invoices_url": "https://moneybird.dev/123/sales_invoices/d69ada7958bcf0d4802678e854f16f8dd36ea5707f250a97e1566fec7b4cdf2b/all",
      "notes": [

      ],
      "custom_fields": [

      ],
      "contact_people": [

      ],
      "archived": false
    },
    "contact_person_id": null,
    "contact_person": null,
    "workflow_id": "426664036392764982",
    "start_date": "2024-07-17",
    "invoice_date": "2024-07-17",
    "last_date": "2024-07-17",
    "active": true,
    "payment_conditions": "We verzoeken u vriendelijk het bovenstaande bedrag van {document.total_price} voor {document.due_date} te voldoen op onze bankrekening onder vermelding van de omschrijving {document.payment_reference}. Voor vragen kunt u contact opnemen per e-mail.",
    "reference": "Project X",
    "language": "nl",
    "currency": "EUR",
    "discount": "0.0",
    "first_due_interval": 14,
    "auto_send": false,
    "sending_scheduled_at": null,
    "sending_scheduled_user_id": null,
    "frequency_type": "month",
    "frequency": 1,
    "created_at": "2024-07-16T08:32:23.983Z",
    "updated_at": "2024-07-16T08:32:23.988Z",
    "version": 1721118743,
    "prices_are_incl_tax": false,
    "total_price_excl_tax": "2.91",
    "total_price_excl_tax_base": "2.91",
    "total_price_incl_tax": "3.52",
    "total_price_incl_tax_base": "3.52",
    "details": [
      {
        "id": "426664234596698019",
        "administration_id": 123,
        "tax_rate_id": "426664036220798511",
        "ledger_account_id": "426664036164175387",
        "project_id": null,
        "product_id": null,
        "amount": "5 stuks",
        "amount_decimal": "5.0",
        "description": "Appels",
        "price": "0.45",
        "period": null,
        "row_order": 1,
        "total_price_excl_tax_with_discount": "2.25",
        "total_price_excl_tax_with_discount_base": "2.25",
        "tax_report_reference": [
          "NL/1a"
        ],
        "mandatory_tax_text": null,
        "created_at": "2024-07-16T08:32:23.985Z",
        "updated_at": "2024-07-16T08:32:23.985Z"
      },
      {
        "id": "426664234598795172",
        "administration_id": 123,
        "tax_rate_id": "426664036220798511",
        "ledger_account_id": "426664036164175387",
        "project_id": null,
        "product_id": null,
        "amount": "2 stuks",
        "amount_decimal": "2.0",
        "description": "Peren",
        "price": "0.33",
        "period": null,
        "row_order": 2,
        "total_price_excl_tax_with_discount": "0.66",
        "total_price_excl_tax_with_discount_base": "0.66",
        "tax_report_reference": [
          "NL/1a"
        ],
        "mandatory_tax_text": null,
        "created_at": "2024-07-16T08:32:23.987Z",
        "updated_at": "2024-07-16T08:32:23.987Z"
      }
    ],
    "custom_fields": [

    ],
    "notes": [

    ],
    "attachments": [

    ],
    "events": [
      {
        "administration_id": 123,
        "user_id": 17211185545521,
        "action": "recurring_sales_invoice_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {
        },
        "created_at": "2024-07-16T08:32:23.990Z",
        "updated_at": "2024-07-16T08:32:23.990Z"
      }
    ],
    "subscription": null
  }
]
      

Example: returns paginated recurring sales invoices on page 1

Request

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

Response

        
          
          Status: 200 OK
        
      
[
  {
    "id": "426664235280369616",
    "administration_id": 123,
    "contact_id": "426664235181803462",
    "contact": {
      "id": "426664235181803462",
      "administration_id": 123,
      "company_name": "Foobar Holding B.V.",
      "firstname": "",
      "lastname": "",
      "address1": "Hoofdstraat 12",
      "address2": "",
      "zipcode": "1234AB",
      "city": "Amsterdam",
      "country": "NL",
      "phone": "",
      "delivery_method": "Email",
      "customer_id": "2",
      "tax_number": "",
      "chamber_of_commerce": "",
      "bank_account": "",
      "attention": "",
      "email": "info@example.com",
      "email_ubl": true,
      "send_invoices_to_attention": "",
      "send_invoices_to_email": "info@example.com",
      "send_estimates_to_attention": "",
      "send_estimates_to_email": "info@example.com",
      "sepa_active": false,
      "sepa_iban": "",
      "sepa_iban_account_name": "",
      "sepa_bic": "",
      "sepa_mandate_id": "",
      "sepa_mandate_date": null,
      "sepa_sequence_type": "RCUR",
      "credit_card_number": "",
      "credit_card_reference": "",
      "credit_card_type": null,
      "tax_number_validated_at": null,
      "tax_number_valid": null,
      "invoice_workflow_id": null,
      "estimate_workflow_id": null,
      "si_identifier": "",
      "si_identifier_type": null,
      "moneybird_payments_mandate": false,
      "created_at": "2024-07-16T08:32:24.543Z",
      "updated_at": "2024-07-16T08:32:24.543Z",
      "version": 1721118744,
      "sales_invoices_url": "https://moneybird.dev/123/sales_invoices/a4a0560dc476603e689c12855986b68f13db28ac50ca23229181e00b9b47f553/all",
      "notes": [

      ],
      "custom_fields": [

      ],
      "contact_people": [

      ],
      "archived": false
    },
    "contact_person_id": null,
    "contact_person": null,
    "workflow_id": "426664036392764982",
    "start_date": "2024-07-17",
    "invoice_date": "2024-07-17",
    "last_date": "2024-07-17",
    "active": true,
    "payment_conditions": "We verzoeken u vriendelijk het bovenstaande bedrag van {document.total_price} voor {document.due_date} te voldoen op onze bankrekening onder vermelding van de omschrijving {document.payment_reference}. Voor vragen kunt u contact opnemen per e-mail.",
    "reference": "Project X",
    "language": "nl",
    "currency": "EUR",
    "discount": "0.0",
    "first_due_interval": 14,
    "auto_send": false,
    "sending_scheduled_at": null,
    "sending_scheduled_user_id": null,
    "frequency_type": "year",
    "frequency": 1,
    "created_at": "2024-07-16T08:32:24.636Z",
    "updated_at": "2024-07-16T08:32:24.641Z",
    "version": 1721118744,
    "prices_are_incl_tax": false,
    "total_price_excl_tax": "2.91",
    "total_price_excl_tax_base": "2.91",
    "total_price_incl_tax": "3.52",
    "total_price_incl_tax_base": "3.52",
    "details": [
      {
        "id": "426664235281418193",
        "administration_id": 123,
        "tax_rate_id": "426664036220798511",
        "ledger_account_id": "426664036164175387",
        "project_id": null,
        "product_id": null,
        "amount": "5 stuks",
        "amount_decimal": "5.0",
        "description": "Appels",
        "price": "0.45",
        "period": null,
        "row_order": 1,
        "total_price_excl_tax_with_discount": "2.25",
        "total_price_excl_tax_with_discount_base": "2.25",
        "tax_report_reference": [
          "NL/1a"
        ],
        "mandatory_tax_text": null,
        "created_at": "2024-07-16T08:32:24.638Z",
        "updated_at": "2024-07-16T08:32:24.638Z"
      },
      {
        "id": "426664235283515346",
        "administration_id": 123,
        "tax_rate_id": "426664036220798511",
        "ledger_account_id": "426664036164175387",
        "project_id": null,
        "product_id": null,
        "amount": "2 stuks",
        "amount_decimal": "2.0",
        "description": "Peren",
        "price": "0.33",
        "period": null,
        "row_order": 2,
        "total_price_excl_tax_with_discount": "0.66",
        "total_price_excl_tax_with_discount_base": "0.66",
        "tax_report_reference": [
          "NL/1a"
        ],
        "mandatory_tax_text": null,
        "created_at": "2024-07-16T08:32:24.640Z",
        "updated_at": "2024-07-16T08:32:24.640Z"
      }
    ],
    "custom_fields": [

    ],
    "notes": [

    ],
    "attachments": [

    ],
    "events": [
      {
        "administration_id": 123,
        "user_id": 17211185545521,
        "action": "recurring_sales_invoice_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {
        },
        "created_at": "2024-07-16T08:32:24.642Z",
        "updated_at": "2024-07-16T08:32:24.642Z"
      }
    ],
    "subscription": null
  }
]
      

Example: returns paginated recurring sales invoices on page 2

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/recurring_sales_invoices.json?page=2&per_page=1
    

Response

        
          
          Status: 200 OK
        
      
[
  {
    "id": "426664235506862052",
    "administration_id": 123,
    "contact_id": "426664235434510302",
    "contact": {
      "id": "426664235434510302",
      "administration_id": 123,
      "company_name": "Foobar Holding B.V.",
      "firstname": "",
      "lastname": "",
      "address1": "Hoofdstraat 12",
      "address2": "",
      "zipcode": "1234AB",
      "city": "Amsterdam",
      "country": "NL",
      "phone": "",
      "delivery_method": "Email",
      "customer_id": "2",
      "tax_number": "",
      "chamber_of_commerce": "",
      "bank_account": "",
      "attention": "",
      "email": "info@example.com",
      "email_ubl": true,
      "send_invoices_to_attention": "",
      "send_invoices_to_email": "info@example.com",
      "send_estimates_to_attention": "",
      "send_estimates_to_email": "info@example.com",
      "sepa_active": false,
      "sepa_iban": "",
      "sepa_iban_account_name": "",
      "sepa_bic": "",
      "sepa_mandate_id": "",
      "sepa_mandate_date": null,
      "sepa_sequence_type": "RCUR",
      "credit_card_number": "",
      "credit_card_reference": "",
      "credit_card_type": null,
      "tax_number_validated_at": null,
      "tax_number_valid": null,
      "invoice_workflow_id": null,
      "estimate_workflow_id": null,
      "si_identifier": "",
      "si_identifier_type": null,
      "moneybird_payments_mandate": false,
      "created_at": "2024-07-16T08:32:24.783Z",
      "updated_at": "2024-07-16T08:32:24.783Z",
      "version": 1721118744,
      "sales_invoices_url": "https://moneybird.dev/123/sales_invoices/f77f1fbf8ffc77e0210a8406e0b757222f3570c0ecaacc6a4fbcd80097f5c4a5/all",
      "notes": [

      ],
      "custom_fields": [

      ],
      "contact_people": [

      ],
      "archived": false
    },
    "contact_person_id": null,
    "contact_person": null,
    "workflow_id": "426664036392764982",
    "start_date": "2024-07-17",
    "invoice_date": "2024-07-17",
    "last_date": "2024-07-17",
    "active": true,
    "payment_conditions": "We verzoeken u vriendelijk het bovenstaande bedrag van {document.total_price} voor {document.due_date} te voldoen op onze bankrekening onder vermelding van de omschrijving {document.payment_reference}. Voor vragen kunt u contact opnemen per e-mail.",
    "reference": "Project X",
    "language": "nl",
    "currency": "EUR",
    "discount": "0.0",
    "first_due_interval": 14,
    "auto_send": false,
    "sending_scheduled_at": null,
    "sending_scheduled_user_id": null,
    "frequency_type": "year",
    "frequency": 1,
    "created_at": "2024-07-16T08:32:24.853Z",
    "updated_at": "2024-07-16T08:32:24.857Z",
    "version": 1721118744,
    "prices_are_incl_tax": false,
    "total_price_excl_tax": "2.91",
    "total_price_excl_tax_base": "2.91",
    "total_price_incl_tax": "3.52",
    "total_price_incl_tax_base": "3.52",
    "details": [
      {
        "id": "426664235507910629",
        "administration_id": 123,
        "tax_rate_id": "426664036220798511",
        "ledger_account_id": "426664036164175387",
        "project_id": null,
        "product_id": null,
        "amount": "5 stuks",
        "amount_decimal": "5.0",
        "description": "Appels",
        "price": "0.45",
        "period": null,
        "row_order": 1,
        "total_price_excl_tax_with_discount": "2.25",
        "total_price_excl_tax_with_discount_base": "2.25",
        "tax_report_reference": [
          "NL/1a"
        ],
        "mandatory_tax_text": null,
        "created_at": "2024-07-16T08:32:24.854Z",
        "updated_at": "2024-07-16T08:32:24.854Z"
      },
      {
        "id": "426664235510007782",
        "administration_id": 123,
        "tax_rate_id": "426664036220798511",
        "ledger_account_id": "426664036164175387",
        "project_id": null,
        "product_id": null,
        "amount": "2 stuks",
        "amount_decimal": "2.0",
        "description": "Peren",
        "price": "0.33",
        "period": null,
        "row_order": 2,
        "total_price_excl_tax_with_discount": "0.66",
        "total_price_excl_tax_with_discount_base": "0.66",
        "tax_report_reference": [
          "NL/1a"
        ],
        "mandatory_tax_text": null,
        "created_at": "2024-07-16T08:32:24.856Z",
        "updated_at": "2024-07-16T08:32:24.856Z"
      }
    ],
    "custom_fields": [

    ],
    "notes": [

    ],
    "attachments": [

    ],
    "events": [
      {
        "administration_id": 123,
        "user_id": 17211185545521,
        "action": "recurring_sales_invoice_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {
        },
        "created_at": "2024-07-16T08:32:24.858Z",
        "updated_at": "2024-07-16T08:32:24.858Z"
      }
    ],
    "subscription": null
  }
]
      

Example: returns an error when too many recurring sales invoices are requested

Request

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

Response

        
          
          Status: 400 Bad Request
        
      
{
  "error": "Per Page is too big",
  "symbolic": {
    "per_page": "max"
  }
}
      

List all IDs and versions

Returns all recurring sales invoices in the administration. The list contains the invoice id and the version of the recurring invoice. Check if the version of the recurring invoice is newer than the version you have stored locally, use the POST variant for fetching recurring invoices with the given IDs.

Parameters

Parameter Type Description
filter String

Example: retrieves the IDs for synchronization

Request

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

Response

        
          
          Status: 200 OK
        
      
[
  {
    "id": "426664238158709916",
    "version": 1721118747
  },
  {
    "id": "426664238114669717",
    "version": 1721118747
  }
]
      

Example: retrieves the IDs for synchronization with a filter

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/recurring_sales_invoices/synchronization.json?filter=frequency%3Amonth
    

Response

        
          
          Status: 200 OK
        
      
[
  {
    "id": "426664238293976229",
    "version": 1721118747
  }
]
      

Fetch recurring sales invoices with given IDs

Given a list of recurring sales invoice IDs, returns the details of the recurring invoices. Returns a maximum of 100 recurring invoices, even if more IDs are provided.

Parameters

Parameter Type Description
ids Array[integer]

Required

Get a recurring sales invoice by id

Example: returns invoice by given id

Request

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

Response

        
          
          Status: 200 OK
        
      
{
  "id": "426664235986060297",
  "administration_id": 123,
  "contact_id": "426664235953554438",
  "contact": {
    "id": "426664235953554438",
    "administration_id": 123,
    "company_name": "Foobar Holding B.V.",
    "firstname": "",
    "lastname": "",
    "address1": "Hoofdstraat 12",
    "address2": "",
    "zipcode": "1234AB",
    "city": "Amsterdam",
    "country": "NL",
    "phone": "",
    "delivery_method": "Email",
    "customer_id": "1",
    "tax_number": "",
    "chamber_of_commerce": "",
    "bank_account": "",
    "attention": "",
    "email": "info@example.com",
    "email_ubl": true,
    "send_invoices_to_attention": "",
    "send_invoices_to_email": "info@example.com",
    "send_estimates_to_attention": "",
    "send_estimates_to_email": "info@example.com",
    "sepa_active": false,
    "sepa_iban": "",
    "sepa_iban_account_name": "",
    "sepa_bic": "",
    "sepa_mandate_id": "",
    "sepa_mandate_date": null,
    "sepa_sequence_type": "RCUR",
    "credit_card_number": "",
    "credit_card_reference": "",
    "credit_card_type": null,
    "tax_number_validated_at": null,
    "tax_number_valid": null,
    "invoice_workflow_id": null,
    "estimate_workflow_id": null,
    "si_identifier": "",
    "si_identifier_type": null,
    "moneybird_payments_mandate": false,
    "created_at": "2024-07-16T08:32:25.278Z",
    "updated_at": "2024-07-16T08:32:25.278Z",
    "version": 1721118745,
    "sales_invoices_url": "https://moneybird.dev/123/sales_invoices/ed357c23fdd172f0a1b55d9004f937395f585ecf25da014ccf246a05bd2fdc70/all",
    "notes": [

    ],
    "custom_fields": [

    ],
    "contact_people": [

    ],
    "archived": false
  },
  "contact_person_id": null,
  "contact_person": null,
  "workflow_id": "426664036392764982",
  "start_date": "2024-07-17",
  "invoice_date": "2024-07-17",
  "last_date": "2024-07-17",
  "active": true,
  "payment_conditions": "We verzoeken u vriendelijk het bovenstaande bedrag van {document.total_price} voor {document.due_date} te voldoen op onze bankrekening onder vermelding van de omschrijving {document.payment_reference}. Voor vragen kunt u contact opnemen per e-mail.",
  "reference": "Project X",
  "language": "nl",
  "currency": "EUR",
  "discount": "0.0",
  "first_due_interval": 14,
  "auto_send": false,
  "sending_scheduled_at": null,
  "sending_scheduled_user_id": null,
  "frequency_type": "month",
  "frequency": 1,
  "created_at": "2024-07-16T08:32:25.310Z",
  "updated_at": "2024-07-16T08:32:25.315Z",
  "version": 1721118745,
  "prices_are_incl_tax": false,
  "total_price_excl_tax": "2.91",
  "total_price_excl_tax_base": "2.91",
  "total_price_incl_tax": "3.52",
  "total_price_incl_tax_base": "3.52",
  "details": [
    {
      "id": "426664235987108874",
      "administration_id": 123,
      "tax_rate_id": "426664036220798511",
      "ledger_account_id": "426664036164175387",
      "project_id": null,
      "product_id": null,
      "amount": "5 stuks",
      "amount_decimal": "5.0",
      "description": "Appels",
      "price": "0.45",
      "period": null,
      "row_order": 1,
      "total_price_excl_tax_with_discount": "2.25",
      "total_price_excl_tax_with_discount_base": "2.25",
      "tax_report_reference": [
        "NL/1a"
      ],
      "mandatory_tax_text": null,
      "created_at": "2024-07-16T08:32:25.311Z",
      "updated_at": "2024-07-16T08:32:25.311Z"
    },
    {
      "id": "426664235990254603",
      "administration_id": 123,
      "tax_rate_id": "426664036220798511",
      "ledger_account_id": "426664036164175387",
      "project_id": null,
      "product_id": null,
      "amount": "2 stuks",
      "amount_decimal": "2.0",
      "description": "Peren",
      "price": "0.33",
      "period": null,
      "row_order": 2,
      "total_price_excl_tax_with_discount": "0.66",
      "total_price_excl_tax_with_discount_base": "0.66",
      "tax_report_reference": [
        "NL/1a"
      ],
      "mandatory_tax_text": null,
      "created_at": "2024-07-16T08:32:25.313Z",
      "updated_at": "2024-07-16T08:32:25.313Z"
    }
  ],
  "custom_fields": [

  ],
  "notes": [

  ],
  "attachments": [

  ],
  "events": [
    {
      "administration_id": 123,
      "user_id": 17211185545521,
      "action": "recurring_sales_invoice_created",
      "link_entity_id": null,
      "link_entity_type": null,
      "data": {
      },
      "created_at": "2024-07-16T08:32:25.316Z",
      "updated_at": "2024-07-16T08:32:25.316Z"
    }
  ],
  "subscription": null
}
      

Example: returns 404 when invoice does not exist

Request

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

Response

        
          
          Status: 404 Not Found
        
      
{
  "error": "record not found",
  "symbolic": {
    "id": "not_found"
  }
}
      

Creates a new recurring sales invoice

A recurring sales invoice will create new sales invoices on set intervals. To create a new recurring sales invoice, you need to provide at least a contact and details for the invoice. Furthermore you need to determine the planning. The following fields will influence the planning:

  1. invoice_date: the date in which the first invoice should be created
  2. frequency_type: the type of frequency you want to use, for example month
  3. frequency: defines the actual frequency, e.g. frequency=2 and frequency_type=month will create an invoice every 2 months
  4. has_desired_count: whether or not the desired count should take effect
  5. desired_count: maximum number of sales invoices to create

Parameters

Parameter Type Description
recurring_sales_invoice[document_style_id] Integer

Should be a valid document style id.

recurring_sales_invoice[contact_id] Integer

Should be a valid contact id.

recurring_sales_invoice[contact_person_id] Integer

Should be a valid contact person id.

recurring_sales_invoice[update_contact] Boolean
recurring_sales_invoice[reference] String
recurring_sales_invoice[invoice_date] String

Should be in the future.

recurring_sales_invoice[workflow_id] Integer

Should be a valid workflow id.

recurring_sales_invoice[currency] String

ISO three-character currency code, e.g. EUR or USD.

recurring_sales_invoice[first_due_interval] Integer
recurring_sales_invoice[prices_are_incl_tax] Boolean
recurring_sales_invoice[discount] Decimal

Discount percentage, e.g. 10,0%.

recurring_sales_invoice[frequency_type] String

Can be day, week, month, quarter or year.

recurring_sales_invoice[frequency] String
recurring_sales_invoice[has_desired_count] Boolean
recurring_sales_invoice[desired_count] String
recurring_sales_invoice[auto_send] Boolean
recurring_sales_invoice[mergeable] Boolean
recurring_sales_invoice[details_attributes][id] Integer
recurring_sales_invoice[details_attributes][description] String
recurring_sales_invoice[details_attributes][period] String

String with a date range: 20140101..20141231, presets are also allowed: this_month, prev_month, next_month, etc.

recurring_sales_invoice[details_attributes][price] Decimal

Both a decimal and a string ‘10,95’ are accepted.

recurring_sales_invoice[details_attributes][amount] String
recurring_sales_invoice[details_attributes][tax_rate_id] Integer

Should be a valid tax rate id.

recurring_sales_invoice[details_attributes][ledger_account_id] Integer

Should be a valid ledger account id.

recurring_sales_invoice[details_attributes][product_id] Integer

Should be a valid product id.

recurring_sales_invoice[details_attributes][project_id] Integer

Should be a valid project id.

recurring_sales_invoice[details_attributes][row_order] Integer
recurring_sales_invoice[details_attributes][_destroy] Boolean
recurring_sales_invoice[details_attributes][automated_tax_enabled] Boolean
recurring_sales_invoice[custom_fields_attributes][id] Integer

Required

recurring_sales_invoice[custom_fields_attributes][value] String

Required

Example: creates a new recurring sales invoice

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XPOST \
  -d '{"recurring_sales_invoice":{"reference":"My recurring invoice","contact_id":426664236475745329,"invoice_date":"2030-01-01","details_attributes":{"0":{"description":"Table","price":"10.5","tax_rate_id":426664236490425396,"ledger_account_id":426664236499862582}}}}' \
  https://moneybird.com/api/v2/123/recurring_sales_invoices.json
    

Response

        
          
          Status: 201 Created
        
      
{
  "id": "426664236566971448",
  "administration_id": 123,
  "contact_id": "426664236475745329",
  "contact": {
    "id": "426664236475745329",
    "administration_id": 123,
    "company_name": "Foobar Holding B.V.",
    "firstname": "",
    "lastname": "",
    "address1": "Hoofdstraat 12",
    "address2": "",
    "zipcode": "1234AB",
    "city": "Amsterdam",
    "country": "NL",
    "phone": "",
    "delivery_method": "Email",
    "customer_id": "2",
    "tax_number": "",
    "chamber_of_commerce": "",
    "bank_account": "",
    "attention": "",
    "email": "info@example.com",
    "email_ubl": true,
    "send_invoices_to_attention": "",
    "send_invoices_to_email": "info@example.com",
    "send_estimates_to_attention": "",
    "send_estimates_to_email": "info@example.com",
    "sepa_active": false,
    "sepa_iban": "",
    "sepa_iban_account_name": "",
    "sepa_bic": "",
    "sepa_mandate_id": "",
    "sepa_mandate_date": null,
    "sepa_sequence_type": "RCUR",
    "credit_card_number": "",
    "credit_card_reference": "",
    "credit_card_type": null,
    "tax_number_validated_at": null,
    "tax_number_valid": null,
    "invoice_workflow_id": null,
    "estimate_workflow_id": null,
    "si_identifier": "",
    "si_identifier_type": null,
    "moneybird_payments_mandate": false,
    "created_at": "2024-07-16T08:32:25.776Z",
    "updated_at": "2024-07-16T08:32:25.776Z",
    "version": 1721118745,
    "sales_invoices_url": "https://moneybird.dev/123/sales_invoices/2fd97f397acd41c5fa846482da98415607182ca9243dac383fcc1bac4053df67/all",
    "notes": [

    ],
    "custom_fields": [

    ],
    "contact_people": [

    ],
    "archived": false
  },
  "contact_person_id": null,
  "contact_person": null,
  "workflow_id": "426664036392764982",
  "start_date": "2030-01-01",
  "invoice_date": "2030-01-01",
  "last_date": null,
  "active": true,
  "payment_conditions": "We verzoeken u vriendelijk het bovenstaande bedrag van {document.total_price} voor {document.due_date} te voldoen op onze bankrekening onder vermelding van de omschrijving {document.payment_reference}. Voor vragen kunt u contact opnemen per e-mail.",
  "reference": "My recurring invoice",
  "language": "nl",
  "currency": "EUR",
  "discount": "0.0",
  "first_due_interval": 14,
  "auto_send": false,
  "sending_scheduled_at": null,
  "sending_scheduled_user_id": null,
  "frequency_type": "year",
  "frequency": 1,
  "created_at": "2024-07-16T08:32:25.864Z",
  "updated_at": "2024-07-16T08:32:25.867Z",
  "version": 1721118745,
  "prices_are_incl_tax": false,
  "total_price_excl_tax": "10.5",
  "total_price_excl_tax_base": "10.5",
  "total_price_incl_tax": "12.71",
  "total_price_incl_tax_base": "12.71",
  "details": [
    {
      "id": "426664236569068601",
      "administration_id": 123,
      "tax_rate_id": "426664236490425396",
      "ledger_account_id": "426664236499862582",
      "project_id": null,
      "product_id": null,
      "amount": null,
      "amount_decimal": "1.0",
      "description": "Table",
      "price": "10.5",
      "period": null,
      "row_order": 0,
      "total_price_excl_tax_with_discount": "10.5",
      "total_price_excl_tax_with_discount_base": "10.5",
      "tax_report_reference": [

      ],
      "mandatory_tax_text": null,
      "created_at": "2024-07-16T08:32:25.866Z",
      "updated_at": "2024-07-16T08:32:25.866Z"
    }
  ],
  "custom_fields": [

  ],
  "notes": [

  ],
  "attachments": [

  ],
  "events": [
    {
      "administration_id": 123,
      "user_id": 17211185545521,
      "action": "recurring_sales_invoice_created",
      "link_entity_id": null,
      "link_entity_type": null,
      "data": {
      },
      "created_at": "2024-07-16T08:32:25.869Z",
      "updated_at": "2024-07-16T08:32:25.869Z"
    }
  ],
  "subscription": null
}
      

Updates a recurring sales invoice

Example: updates the recurring sales invoice

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XPATCH \
  -d '{"recurring_sales_invoice":{"reference":"Reference changed"}}' \
  https://moneybird.com/api/v2/123/recurring_sales_invoices/426664236896224340.json
    

Response

        
          
          Status: 200 OK
        
      
{
  "id": "426664236896224340",
  "administration_id": 123,
  "contact_id": "426664236857427025",
  "contact": {
    "id": "426664236857427025",
    "administration_id": 123,
    "company_name": "Foobar Holding B.V.",
    "firstname": "",
    "lastname": "",
    "address1": "Hoofdstraat 12",
    "address2": "",
    "zipcode": "1234AB",
    "city": "Amsterdam",
    "country": "NL",
    "phone": "",
    "delivery_method": "Email",
    "customer_id": "1",
    "tax_number": "",
    "chamber_of_commerce": "",
    "bank_account": "",
    "attention": "",
    "email": "info@example.com",
    "email_ubl": true,
    "send_invoices_to_attention": "",
    "send_invoices_to_email": "info@example.com",
    "send_estimates_to_attention": "",
    "send_estimates_to_email": "info@example.com",
    "sepa_active": false,
    "sepa_iban": "",
    "sepa_iban_account_name": "",
    "sepa_bic": "",
    "sepa_mandate_id": "",
    "sepa_mandate_date": null,
    "sepa_sequence_type": "RCUR",
    "credit_card_number": "",
    "credit_card_reference": "",
    "credit_card_type": null,
    "tax_number_validated_at": null,
    "tax_number_valid": null,
    "invoice_workflow_id": null,
    "estimate_workflow_id": null,
    "si_identifier": "",
    "si_identifier_type": null,
    "moneybird_payments_mandate": false,
    "created_at": "2024-07-16T08:32:26.141Z",
    "updated_at": "2024-07-16T08:32:26.141Z",
    "version": 1721118746,
    "sales_invoices_url": "https://moneybird.dev/123/sales_invoices/10cc9d0089c5ef26ab3f76624f505d378fc73cd652bd3b5682f9e0f3997dd4e7/all",
    "notes": [

    ],
    "custom_fields": [

    ],
    "contact_people": [

    ],
    "archived": false
  },
  "contact_person_id": null,
  "contact_person": null,
  "workflow_id": "426664036392764982",
  "start_date": "2024-07-17",
  "invoice_date": "2024-07-17",
  "last_date": "2024-07-17",
  "active": true,
  "payment_conditions": "We verzoeken u vriendelijk het bovenstaande bedrag van {document.total_price} voor {document.due_date} te voldoen op onze bankrekening onder vermelding van de omschrijving {document.payment_reference}. Voor vragen kunt u contact opnemen per e-mail.",
  "reference": "Reference changed",
  "language": "nl",
  "currency": "EUR",
  "discount": "0.0",
  "first_due_interval": 14,
  "auto_send": false,
  "sending_scheduled_at": null,
  "sending_scheduled_user_id": null,
  "frequency_type": "month",
  "frequency": 1,
  "created_at": "2024-07-16T08:32:26.177Z",
  "updated_at": "2024-07-16T08:32:26.239Z",
  "version": 1721118746,
  "prices_are_incl_tax": false,
  "total_price_excl_tax": "2.91",
  "total_price_excl_tax_base": "2.91",
  "total_price_incl_tax": "3.52",
  "total_price_incl_tax_base": "3.52",
  "details": [
    {
      "id": "426664236897272917",
      "administration_id": 123,
      "tax_rate_id": "426664036220798511",
      "ledger_account_id": "426664036164175387",
      "project_id": null,
      "product_id": null,
      "amount": "5 stuks",
      "amount_decimal": "5.0",
      "description": "Appels",
      "price": "0.45",
      "period": null,
      "row_order": 1,
      "total_price_excl_tax_with_discount": "2.25",
      "total_price_excl_tax_with_discount_base": "2.25",
      "tax_report_reference": [
        "NL/1a"
      ],
      "mandatory_tax_text": null,
      "created_at": "2024-07-16T08:32:26.179Z",
      "updated_at": "2024-07-16T08:32:26.179Z"
    },
    {
      "id": "426664236899370070",
      "administration_id": 123,
      "tax_rate_id": "426664036220798511",
      "ledger_account_id": "426664036164175387",
      "project_id": null,
      "product_id": null,
      "amount": "2 stuks",
      "amount_decimal": "2.0",
      "description": "Peren",
      "price": "0.33",
      "period": null,
      "row_order": 2,
      "total_price_excl_tax_with_discount": "0.66",
      "total_price_excl_tax_with_discount_base": "0.66",
      "tax_report_reference": [
        "NL/1a"
      ],
      "mandatory_tax_text": null,
      "created_at": "2024-07-16T08:32:26.181Z",
      "updated_at": "2024-07-16T08:32:26.181Z"
    }
  ],
  "custom_fields": [

  ],
  "notes": [

  ],
  "attachments": [

  ],
  "events": [
    {
      "administration_id": 123,
      "user_id": 17211185545521,
      "action": "recurring_sales_invoice_created",
      "link_entity_id": null,
      "link_entity_type": null,
      "data": {
      },
      "created_at": "2024-07-16T08:32:26.185Z",
      "updated_at": "2024-07-16T08:32:26.185Z"
    }
  ],
  "subscription": null
}
      

Example: updates a recurring sales invoice detail

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XPATCH \
  -d '{"recurring_sales_invoice":{"details_attributes":{"0":{"id":426664237066093662,"price":10.0}}}}' \
  https://moneybird.com/api/v2/123/recurring_sales_invoices/426664237063996509.json
    

Response

        
          
          Status: 200 OK
        
      
{
  "id": "426664237063996509",
  "administration_id": 123,
  "contact_id": "426664237031490650",
  "contact": {
    "id": "426664237031490650",
    "administration_id": 123,
    "company_name": "Foobar Holding B.V.",
    "firstname": "",
    "lastname": "",
    "address1": "Hoofdstraat 12",
    "address2": "",
    "zipcode": "1234AB",
    "city": "Amsterdam",
    "country": "NL",
    "phone": "",
    "delivery_method": "Email",
    "customer_id": "1",
    "tax_number": "",
    "chamber_of_commerce": "",
    "bank_account": "",
    "attention": "",
    "email": "info@example.com",
    "email_ubl": true,
    "send_invoices_to_attention": "",
    "send_invoices_to_email": "info@example.com",
    "send_estimates_to_attention": "",
    "send_estimates_to_email": "info@example.com",
    "sepa_active": false,
    "sepa_iban": "",
    "sepa_iban_account_name": "",
    "sepa_bic": "",
    "sepa_mandate_id": "",
    "sepa_mandate_date": null,
    "sepa_sequence_type": "RCUR",
    "credit_card_number": "",
    "credit_card_reference": "",
    "credit_card_type": null,
    "tax_number_validated_at": null,
    "tax_number_valid": null,
    "invoice_workflow_id": null,
    "estimate_workflow_id": null,
    "si_identifier": "",
    "si_identifier_type": null,
    "moneybird_payments_mandate": false,
    "created_at": "2024-07-16T08:32:26.306Z",
    "updated_at": "2024-07-16T08:32:26.306Z",
    "version": 1721118746,
    "sales_invoices_url": "https://moneybird.dev/123/sales_invoices/3e2f93b9ffa13ea2fc484175a954ea9bf6a285c5f9d423c8cc56b938cc2d6f0f/all",
    "notes": [

    ],
    "custom_fields": [

    ],
    "contact_people": [

    ],
    "archived": false
  },
  "contact_person_id": null,
  "contact_person": null,
  "workflow_id": "426664036392764982",
  "start_date": "2024-07-17",
  "invoice_date": "2024-07-17",
  "last_date": "2024-07-17",
  "active": true,
  "payment_conditions": "We verzoeken u vriendelijk het bovenstaande bedrag van {document.total_price} voor {document.due_date} te voldoen op onze bankrekening onder vermelding van de omschrijving {document.payment_reference}. Voor vragen kunt u contact opnemen per e-mail.",
  "reference": "Project X",
  "language": "nl",
  "currency": "EUR",
  "discount": "0.0",
  "first_due_interval": 14,
  "auto_send": false,
  "sending_scheduled_at": null,
  "sending_scheduled_user_id": null,
  "frequency_type": "month",
  "frequency": 1,
  "created_at": "2024-07-16T08:32:26.338Z",
  "updated_at": "2024-07-16T08:32:26.407Z",
  "version": 1721118746,
  "prices_are_incl_tax": false,
  "total_price_excl_tax": "50.66",
  "total_price_excl_tax_base": "50.66",
  "total_price_incl_tax": "61.3",
  "total_price_incl_tax_base": "61.3",
  "details": [
    {
      "id": "426664237066093662",
      "administration_id": 123,
      "tax_rate_id": "426664036220798511",
      "ledger_account_id": "426664036164175387",
      "project_id": null,
      "product_id": null,
      "amount": "5 stuks",
      "amount_decimal": "5.0",
      "description": "Appels",
      "price": "10.0",
      "period": null,
      "row_order": 1,
      "total_price_excl_tax_with_discount": "50.0",
      "total_price_excl_tax_with_discount_base": "50.0",
      "tax_report_reference": [
        "NL/1a"
      ],
      "mandatory_tax_text": null,
      "created_at": "2024-07-16T08:32:26.339Z",
      "updated_at": "2024-07-16T08:32:26.405Z"
    },
    {
      "id": "426664237067142239",
      "administration_id": 123,
      "tax_rate_id": "426664036220798511",
      "ledger_account_id": "426664036164175387",
      "project_id": null,
      "product_id": null,
      "amount": "2 stuks",
      "amount_decimal": "2.0",
      "description": "Peren",
      "price": "0.33",
      "period": null,
      "row_order": 2,
      "total_price_excl_tax_with_discount": "0.66",
      "total_price_excl_tax_with_discount_base": "0.66",
      "tax_report_reference": [
        "NL/1a"
      ],
      "mandatory_tax_text": null,
      "created_at": "2024-07-16T08:32:26.341Z",
      "updated_at": "2024-07-16T08:32:26.341Z"
    }
  ],
  "custom_fields": [

  ],
  "notes": [

  ],
  "attachments": [

  ],
  "events": [
    {
      "administration_id": 123,
      "user_id": 17211185545521,
      "action": "recurring_sales_invoice_created",
      "link_entity_id": null,
      "link_entity_type": null,
      "data": {
      },
      "created_at": "2024-07-16T08:32:26.344Z",
      "updated_at": "2024-07-16T08:32:26.344Z"
    }
  ],
  "subscription": null
}
      

Destroy or deactivate a recurring sales invoice

A recurring sales invoice will be destroyed if it has not created any sales invoices. If it has created sales invoices, it will be deactivated.

Example: destroys a recurring sales invoice

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XDELETE \
  -d '{}' \
  https://moneybird.com/api/v2/123/recurring_sales_invoices/426664237964723339.json
    

Response

Adds note to entity

Parameters

Parameter Type Description
note[note] String

Required. Text for the note or to-do.

note[todo] Boolean

If true the note is a to-do.

note[assignee_id] Integer

Assign to-do to user. Should be a valid user id. If assignee_id is provided the note will be a to-do.

Example: create a note

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XPOST \
  -d '{"note":{"note":"Text of the note","assignee_id":426664238779466957,"todo":true}}' \
  https://moneybird.com/api/v2/123/recurring_sales_invoices/426664238766884041/notes.json
    

Response

        
          
          Status: 201 Created
        
      
{
  "id": "426664238826652879",
  "administration_id": 123,
  "entity_id": "426664238766884041",
  "entity_type": "RecurringSalesInvoice",
  "user_id": 17211185545521,
  "assignee_id": "426664238779466957",
  "todo": true,
  "note": "Text of the note",
  "completed_at": null,
  "completed_by_id": null,
  "todo_type": null,
  "data": {
  },
  "created_at": "2024-07-16T08:32:28.019Z",
  "updated_at": "2024-07-16T08:32:28.019Z"
}
      

Destroys note from entity

Example: destroy a note

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XDELETE \
  -d '{}' \
  https://moneybird.com/api/v2/123/recurring_sales_invoices/426664238891664598/notes/426664238902150362.json
    

Response