biterp

Registrar recebimento manual em conta a receber

POST
/receivables/{id}/receive
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.biterp.ai/receivables/{id}/receive" \  -H "Content-Type: application/json" \  -d '{}'
{
  "receivable": {
    "id": "string",
    "record_number": 0,
    "customer_id": "string",
    "customer": {
      "id": "string",
      "type": "string",
      "tax_id": "string",
      "tax_id_type": "CPF",
      "legal_name": "string",
      "trade_name": "string",
      "website": "string",
      "address_street": "string",
      "address_number": "string",
      "address_complement": "string",
      "address_district": "string",
      "city": {
        "id": 0,
        "country_id": 0,
        "state_id": 0,
        "country_code": "string",
        "state_code": "string",
        "name": "string",
        "latitude": "-23.55052000",
        "longitude": "-46.63331000",
        "wikidata_id": "string",
        "is_blocked": true,
        "display_order": 0,
        "created_at": "2019-08-24T14:15:22Z",
        "updated_at": "2019-08-24T14:15:22Z",
        "metadata": [
          {
            "id": 0,
            "metadata_type": "string",
            "metadata_value": "string",
            "description": "string"
          }
        ]
      },
      "state": {
        "id": 0,
        "country_id": 0,
        "state_code": "string",
        "country_code": "string",
        "name": "string",
        "latitude": "-23.55052000",
        "longitude": "-46.63331000",
        "is_blocked": true,
        "display_order": 0,
        "created_at": "2019-08-24T14:15:22Z",
        "updated_at": "2019-08-24T14:15:22Z",
        "metadata": [
          {
            "id": 0,
            "metadata_type": "string",
            "metadata_value": "string",
            "description": "string"
          }
        ]
      },
      "country": {
        "id": 0,
        "iso2": "string",
        "iso3": "string",
        "numeric_code": "string",
        "name_en": "string",
        "name_pt": "string",
        "name_es": "string",
        "native": "string",
        "phone_code": "string",
        "capital": "string",
        "currency": "string",
        "currency_name": "string",
        "currency_symbol": "string",
        "tld": "string",
        "region": "string",
        "subregion": "string",
        "region_id": 0,
        "subregion_id": 0,
        "nationality": "string",
        "latitude": "-14.23500000",
        "longitude": "-51.92530000",
        "emoji": "string",
        "emoji_u": "string",
        "is_blocked": true,
        "display_order": 0,
        "created_at": "2019-08-24T14:15:22Z",
        "updated_at": "2019-08-24T14:15:22Z",
        "metadata": [
          {
            "id": 0,
            "metadata_type": "string",
            "metadata_value": "string",
            "description": "string"
          }
        ]
      },
      "state_id": 0,
      "city_id": 0,
      "postal_code": "string",
      "country_code": "string",
      "reference_code": "string",
      "bank_code": "string",
      "branch_number": "string",
      "account_number": "string",
      "account_type": "string",
      "emails": [
        "string"
      ],
      "phones": [
        "string"
      ],
      "tags": [
        "string"
      ],
      "is_blocked": true,
      "metadata": {},
      "br_data": {
        "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
        "ie": "string",
        "ie_exempt": true,
        "im": "string",
        "suframa": "string",
        "tax_regime": "string",
        "cnae_primary": "string",
        "cnae_secondary": [
          "string"
        ],
        "nire": "string",
        "pix_key": "string",
        "pix_key_type": "string"
      },
      "us_data": {
        "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
        "w9_on_file": true,
        "w9_received_date": "2019-08-24",
        "naics_code": "string",
        "sic_code": "string",
        "tax_classification": "string",
        "sales_tax_exempt": true,
        "sales_tax_exempt_certificate": "string",
        "sales_tax_exempt_expiry": "2019-08-24",
        "resale_certificate": "string",
        "state_tax_id": "string",
        "state_of_incorporation": "string",
        "duns_number": "string",
        "cage_code": "string",
        "bank_name": "string",
        "routing_number": "string",
        "ach_authorized": true,
        "ach_authorization_date": "2019-08-24"
      },
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "deleted_at": "2019-08-24T14:15:22Z"
    },
    "financial_account_id": "string",
    "financial_account": {
      "id": "string",
      "bank_id": "string",
      "bank_supplier_id": "9ff8778f-b90d-4848-a154-afd5a8740233",
      "name": "string",
      "reference_code": "string",
      "type": "string",
      "initial_balance": "1500.000000",
      "description": "string",
      "is_blocked": true,
      "display_order": 0,
      "metadata": {},
      "account_scope_mask": {
        "counterparty": true,
        "category": true,
        "balance": true
      },
      "br_data": {
        "financial_account_id": "string",
        "branch_number": "string",
        "branch_digit": "string",
        "account_number": "string",
        "account_digit": "string",
        "pix_key": "string",
        "pix_key_type": "cpf"
      },
      "us_data": {
        "financial_account_id": "string",
        "routing_number": "string",
        "account_number": "string",
        "wire_routing_number": "string",
        "ach_authorized": true,
        "ach_authorization_date": "2019-08-24"
      },
      "credit_card_data": {
        "financial_account_id": "string",
        "credit_limit": "string",
        "closing_day": 0,
        "due_day": 0,
        "brand": "string",
        "last_four_digits": "string",
        "default_debit_account_id": "5004c229-60ef-46cc-96f8-8a3e210b5652"
      },
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "deleted_at": "2019-08-24T14:15:22Z"
    },
    "payment_method_id": "string",
    "payment_method": {
      "id": "string",
      "code": "string",
      "country_codes": [
        "string"
      ],
      "titles": {
        "property1": "string",
        "property2": "string"
      },
      "descriptions": {
        "property1": "string",
        "property2": "string"
      },
      "is_blocked": true,
      "display_order": 0,
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "deleted_at": "2019-08-24T14:15:22Z"
    },
    "financial_category_id": "string",
    "financial_category": {
      "id": "string",
      "tenant_id": "string",
      "parent_id": "string",
      "type": "revenue",
      "reference_code": "string",
      "name": "string",
      "code": "string",
      "presentation_role": "gross_revenue",
      "expense_nature": "employee_benefits",
      "is_locked": true,
      "is_system": true,
      "description": "string",
      "metadata": {},
      "created_by_user_id": "string",
      "updated_by_user_id": "string",
      "deleted_by_user_id": "string",
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "deleted_at": "2019-08-24T14:15:22Z",
      "parent": {
        "id": "string",
        "name": "string",
        "code": "string"
      }
    },
    "account_scope_mask": {
      "counterparty": true,
      "category": true,
      "balance": true
    },
    "reference_code": "string",
    "amount": "1500.000000",
    "discount_amount": "0.000000",
    "surcharge_amount": "0.000000",
    "status": "pending",
    "issue_date": "2019-08-24",
    "due_date": "2019-08-24",
    "paid_at": "2019-08-24T14:15:22Z",
    "installment_group_id": "string",
    "installment_number": 0,
    "installment_count": 0,
    "sales_order_id": "string",
    "sales_order": {
      "id": "string",
      "record_number": 0,
      "reference_code": "string",
      "operation_type": "sale",
      "product_type": "goods",
      "status": "draft",
      "order_date": "2019-08-24",
      "delivery_date": "2019-08-24",
      "customer_id": "string",
      "quote_id": "3c071a1d-db86-46a7-9dc8-72ba3fbca992",
      "salesperson_name": "string",
      "description": "string",
      "notes": "string",
      "subtotal": "1500.000000",
      "items_discount": "0.000000",
      "discount_amount": "0.000000",
      "discount_rate": "10.000000",
      "total_discount": "0.000000",
      "total": "1500.000000",
      "metadata": {},
      "br_data": {
        "taxation_type": "string"
      },
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "deleted_at": "2019-08-24T14:15:22Z"
    },
    "invoice_id": "string",
    "invoice": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "record_number": 0,
      "reference_code": "string",
      "status": "draft",
      "operation_type": "sale",
      "product_type": "string",
      "origin": "internal",
      "has_source_xml": true,
      "source_data_import_id": "b4400733-2a6b-44b7-8c73-e4b6d1fbc8cc",
      "import_cancellation_source": "abrasf_nfse_cancelamento",
      "import_channel": "file",
      "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
      "customer": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "legal_name": "string",
        "trade_name": "string",
        "tax_id": "string",
        "tax_id_type": "CPF",
        "country_code": "string"
      },
      "invoice_date": "2019-08-24",
      "origin_state_code": "string",
      "origin_country_code": "string",
      "destination_state_code": "string",
      "destination_country_code": "string",
      "customer_tax_type": "individual",
      "salesperson_name": "string",
      "fiscal_notes": "string",
      "internal_notes": "string",
      "discount_amount": "string",
      "discount_rate": "string",
      "tax_engine_provider": "string",
      "sales_order_id": "5e95a238-d0d8-4280-92bc-08d83c9c12a6",
      "subtotal": "string",
      "items_discount": "string",
      "total_discount": "string",
      "total_tax": "string",
      "withheld_total": "string",
      "net_receivable_total": "string",
      "total": "string",
      "items": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
          "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
          "sales_order_item_id": "0d4e920a-487c-47f5-9954-1e8d46c8c6a6",
          "item_description": "string",
          "quantity": "string",
          "unit_price": "string",
          "discount_amount": "string",
          "po_number": "string",
          "subtotal": "string",
          "total": "string",
          "position": 0,
          "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7",
          "br_data": {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
            "ncm_code": "string",
            "cest_code": "string",
            "federal_service_code": "string",
            "city_service_code": "string",
            "nbs_code": "string",
            "cnae_code": "string",
            "ibs_cbs_cst": "string",
            "ibs_cbs_classification": "string",
            "ibs_cbs_operation_indicator_code": "string",
            "ibs_cbs_is_personal_use": true,
            "cfop": "string"
          },
          "us_data": {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
            "hts_code": "string",
            "tax_code": "string",
            "sales_tax_category": "string"
          },
          "deleted_at": "2019-08-24T14:15:22Z"
        }
      ],
      "taxes": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
          "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
          "tax_code": "string",
          "tax_name": "string",
          "base_amount": "string",
          "rate": "string",
          "amount": "string",
          "jurisdiction": "string",
          "is_withheld": true,
          "is_included": true,
          "source": "string",
          "position": 0,
          "deleted_at": "2019-08-24T14:15:22Z"
        }
      ],
      "br_data": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
        "nfse_number": "string",
        "nfse_series": "string",
        "declaration_number": "string",
        "declaration_series": "string",
        "nfse_verification_code": "string",
        "nfse_access_key": "string",
        "source_xml_dialect": "nacional",
        "operation_nature": "string",
        "fiscal_emission_date": "2019-08-24",
        "provider_status": "string",
        "transmission_status": "queued",
        "taxation_type": "string",
        "external_invoice_id": "string",
        "cancel_justification": "string",
        "cancelled_at": "2019-08-24T14:15:22Z",
        "cancel_protocol": "string",
        "cancel_processing_status": "pending",
        "cancel_processing_message": "string",
        "processing_status": "string",
        "processing_code": "string",
        "processing_message": "string",
        "submission_xml": "string",
        "response_xml": "string",
        "has_response_xml": true,
        "url": "string",
        "cancel_access_key": "string",
        "receiver_name": "string",
        "receiver_federal_tax_number": "string",
        "receiver_email": "string",
        "receiver_phone": "string",
        "receiver_address_street": "string",
        "receiver_address_number": "string",
        "receiver_address_district": "string",
        "receiver_address_postal_code": "string",
        "receiver_address_additional_information": "string",
        "receiver_city_ibge_code": "string",
        "receiver_city_name": "string",
        "receiver_state_code": "string",
        "receiver_municipal_registration": "string",
        "receiver_state_registration": "string",
        "receiver_state_registration_exempt": true,
        "transmission_readiness": {
          "ready": true,
          "blockers": [
            "wrong_item_count"
          ]
        },
        "auto_transmission_status": "pending",
        "auto_transmission_message": "string",
        "auto_transmission_queued_at": "2019-08-24T14:15:22Z",
        "auto_transmission_last_attempt_at": "2019-08-24T14:15:22Z",
        "auto_transmission_next_retry_at": "2019-08-24T14:15:22Z",
        "auto_transmission_attempt_count": 0
      },
      "us_data": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
        "net_terms": 0
      },
      "warnings": [
        {
          "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
          "item_index": 0,
          "code": "stale_tax_resolution",
          "message": "string",
          "changed_fields": [
            {
              "entity": "product",
              "field": "string",
              "snapshot_value": {},
              "current_value": {}
            }
          ],
          "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7"
        }
      ],
      "deleted_by_user_id": "e06321af-43d5-4340-818b-555f83254c47",
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "deleted_at": "2019-08-24T14:15:22Z"
    },
    "parent_receivable_id": "4f971824-e0d4-4c5a-91a8-9343603509b6",
    "parent": {
      "id": "string",
      "record_number": 0,
      "customer_id": "string",
      "customer": {
        "id": "string",
        "type": "string",
        "tax_id": "string",
        "tax_id_type": "CPF",
        "legal_name": "string",
        "trade_name": "string",
        "website": "string",
        "address_street": "string",
        "address_number": "string",
        "address_complement": "string",
        "address_district": "string",
        "city": {
          "id": 0,
          "country_id": 0,
          "state_id": 0,
          "country_code": "string",
          "state_code": "string",
          "name": "string",
          "latitude": "-23.55052000",
          "longitude": "-46.63331000",
          "wikidata_id": "string",
          "is_blocked": true,
          "display_order": 0,
          "created_at": "2019-08-24T14:15:22Z",
          "updated_at": "2019-08-24T14:15:22Z",
          "metadata": [
            {
              "id": 0,
              "metadata_type": "string",
              "metadata_value": "string",
              "description": "string"
            }
          ]
        },
        "state": {
          "id": 0,
          "country_id": 0,
          "state_code": "string",
          "country_code": "string",
          "name": "string",
          "latitude": "-23.55052000",
          "longitude": "-46.63331000",
          "is_blocked": true,
          "display_order": 0,
          "created_at": "2019-08-24T14:15:22Z",
          "updated_at": "2019-08-24T14:15:22Z",
          "metadata": [
            {
              "id": 0,
              "metadata_type": "string",
              "metadata_value": "string",
              "description": "string"
            }
          ]
        },
        "country": {
          "id": 0,
          "iso2": "string",
          "iso3": "string",
          "numeric_code": "string",
          "name_en": "string",
          "name_pt": "string",
          "name_es": "string",
          "native": "string",
          "phone_code": "string",
          "capital": "string",
          "currency": "string",
          "currency_name": "string",
          "currency_symbol": "string",
          "tld": "string",
          "region": "string",
          "subregion": "string",
          "region_id": 0,
          "subregion_id": 0,
          "nationality": "string",
          "latitude": "-14.23500000",
          "longitude": "-51.92530000",
          "emoji": "string",
          "emoji_u": "string",
          "is_blocked": true,
          "display_order": 0,
          "created_at": "2019-08-24T14:15:22Z",
          "updated_at": "2019-08-24T14:15:22Z",
          "metadata": [
            {
              "id": 0,
              "metadata_type": "string",
              "metadata_value": "string",
              "description": "string"
            }
          ]
        },
        "state_id": 0,
        "city_id": 0,
        "postal_code": "string",
        "country_code": "string",
        "reference_code": "string",
        "bank_code": "string",
        "branch_number": "string",
        "account_number": "string",
        "account_type": "string",
        "emails": [
          "string"
        ],
        "phones": [
          "string"
        ],
        "tags": [
          "string"
        ],
        "is_blocked": true,
        "metadata": {},
        "br_data": {
          "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
          "ie": "string",
          "ie_exempt": true,
          "im": "string",
          "suframa": "string",
          "tax_regime": "string",
          "cnae_primary": "string",
          "cnae_secondary": [
            "string"
          ],
          "nire": "string",
          "pix_key": "string",
          "pix_key_type": "string"
        },
        "us_data": {
          "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
          "w9_on_file": true,
          "w9_received_date": "2019-08-24",
          "naics_code": "string",
          "sic_code": "string",
          "tax_classification": "string",
          "sales_tax_exempt": true,
          "sales_tax_exempt_certificate": "string",
          "sales_tax_exempt_expiry": "2019-08-24",
          "resale_certificate": "string",
          "state_tax_id": "string",
          "state_of_incorporation": "string",
          "duns_number": "string",
          "cage_code": "string",
          "bank_name": "string",
          "routing_number": "string",
          "ach_authorized": true,
          "ach_authorization_date": "2019-08-24"
        },
        "created_at": "2019-08-24T14:15:22Z",
        "updated_at": "2019-08-24T14:15:22Z",
        "deleted_at": "2019-08-24T14:15:22Z"
      },
      "financial_account_id": "string",
      "financial_account": {
        "id": "string",
        "bank_id": "string",
        "bank_supplier_id": "9ff8778f-b90d-4848-a154-afd5a8740233",
        "name": "string",
        "reference_code": "string",
        "type": "string",
        "initial_balance": "1500.000000",
        "description": "string",
        "is_blocked": true,
        "display_order": 0,
        "metadata": {},
        "account_scope_mask": {
          "counterparty": true,
          "category": true,
          "balance": true
        },
        "br_data": {
          "financial_account_id": "string",
          "branch_number": "string",
          "branch_digit": "string",
          "account_number": "string",
          "account_digit": "string",
          "pix_key": "string",
          "pix_key_type": "cpf"
        },
        "us_data": {
          "financial_account_id": "string",
          "routing_number": "string",
          "account_number": "string",
          "wire_routing_number": "string",
          "ach_authorized": true,
          "ach_authorization_date": "2019-08-24"
        },
        "credit_card_data": {
          "financial_account_id": "string",
          "credit_limit": "string",
          "closing_day": 0,
          "due_day": 0,
          "brand": "string",
          "last_four_digits": "string",
          "default_debit_account_id": "5004c229-60ef-46cc-96f8-8a3e210b5652"
        },
        "created_at": "2019-08-24T14:15:22Z",
        "updated_at": "2019-08-24T14:15:22Z",
        "deleted_at": "2019-08-24T14:15:22Z"
      },
      "payment_method_id": "string",
      "payment_method": {
        "id": "string",
        "code": "string",
        "country_codes": [
          "string"
        ],
        "titles": {
          "property1": "string",
          "property2": "string"
        },
        "descriptions": {
          "property1": "string",
          "property2": "string"
        },
        "is_blocked": true,
        "display_order": 0,
        "created_at": "2019-08-24T14:15:22Z",
        "updated_at": "2019-08-24T14:15:22Z",
        "deleted_at": "2019-08-24T14:15:22Z"
      },
      "financial_category_id": "string",
      "financial_category": {
        "id": "string",
        "tenant_id": "string",
        "parent_id": "string",
        "type": "revenue",
        "reference_code": "string",
        "name": "string",
        "code": "string",
        "presentation_role": "gross_revenue",
        "expense_nature": "employee_benefits",
        "is_locked": true,
        "is_system": true,
        "description": "string",
        "metadata": {},
        "created_by_user_id": "string",
        "updated_by_user_id": "string",
        "deleted_by_user_id": "string",
        "created_at": "2019-08-24T14:15:22Z",
        "updated_at": "2019-08-24T14:15:22Z",
        "deleted_at": "2019-08-24T14:15:22Z",
        "parent": {
          "id": "string",
          "name": "string",
          "code": "string"
        }
      },
      "account_scope_mask": {
        "counterparty": true,
        "category": true,
        "balance": true
      },
      "reference_code": "string",
      "amount": "1500.000000",
      "discount_amount": "0.000000",
      "surcharge_amount": "0.000000",
      "status": "pending",
      "issue_date": "2019-08-24",
      "due_date": "2019-08-24",
      "paid_at": "2019-08-24T14:15:22Z",
      "installment_group_id": "string",
      "installment_number": 0,
      "installment_count": 0,
      "sales_order_id": "string",
      "sales_order": {
        "id": "string",
        "record_number": 0,
        "reference_code": "string",
        "operation_type": "sale",
        "product_type": "goods",
        "status": "draft",
        "order_date": "2019-08-24",
        "delivery_date": "2019-08-24",
        "customer_id": "string",
        "quote_id": "3c071a1d-db86-46a7-9dc8-72ba3fbca992",
        "salesperson_name": "string",
        "description": "string",
        "notes": "string",
        "subtotal": "1500.000000",
        "items_discount": "0.000000",
        "discount_amount": "0.000000",
        "discount_rate": "10.000000",
        "total_discount": "0.000000",
        "total": "1500.000000",
        "metadata": {},
        "br_data": {
          "taxation_type": "string"
        },
        "created_at": "2019-08-24T14:15:22Z",
        "updated_at": "2019-08-24T14:15:22Z",
        "deleted_at": "2019-08-24T14:15:22Z"
      },
      "invoice_id": "string",
      "invoice": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "record_number": 0,
        "reference_code": "string",
        "status": "draft",
        "operation_type": "sale",
        "product_type": "string",
        "origin": "internal",
        "has_source_xml": true,
        "source_data_import_id": "b4400733-2a6b-44b7-8c73-e4b6d1fbc8cc",
        "import_cancellation_source": "abrasf_nfse_cancelamento",
        "import_channel": "file",
        "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
        "customer": {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "legal_name": "string",
          "trade_name": "string",
          "tax_id": "string",
          "tax_id_type": "CPF",
          "country_code": "string"
        },
        "invoice_date": "2019-08-24",
        "origin_state_code": "string",
        "origin_country_code": "string",
        "destination_state_code": "string",
        "destination_country_code": "string",
        "customer_tax_type": "individual",
        "salesperson_name": "string",
        "fiscal_notes": "string",
        "internal_notes": "string",
        "discount_amount": "string",
        "discount_rate": "string",
        "tax_engine_provider": "string",
        "sales_order_id": "5e95a238-d0d8-4280-92bc-08d83c9c12a6",
        "subtotal": "string",
        "items_discount": "string",
        "total_discount": "string",
        "total_tax": "string",
        "withheld_total": "string",
        "net_receivable_total": "string",
        "total": "string",
        "items": [
          {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
            "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
            "sales_order_item_id": "0d4e920a-487c-47f5-9954-1e8d46c8c6a6",
            "item_description": "string",
            "quantity": "string",
            "unit_price": "string",
            "discount_amount": "string",
            "po_number": "string",
            "subtotal": "string",
            "total": "string",
            "position": 0,
            "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7",
            "br_data": {
              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
              "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
              "ncm_code": "string",
              "cest_code": "string",
              "federal_service_code": "string",
              "city_service_code": "string",
              "nbs_code": "string",
              "cnae_code": "string",
              "ibs_cbs_cst": "string",
              "ibs_cbs_classification": "string",
              "ibs_cbs_operation_indicator_code": "string",
              "ibs_cbs_is_personal_use": true,
              "cfop": "string"
            },
            "us_data": {
              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
              "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
              "hts_code": "string",
              "tax_code": "string",
              "sales_tax_category": "string"
            },
            "deleted_at": "2019-08-24T14:15:22Z"
          }
        ],
        "taxes": [
          {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
            "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
            "tax_code": "string",
            "tax_name": "string",
            "base_amount": "string",
            "rate": "string",
            "amount": "string",
            "jurisdiction": "string",
            "is_withheld": true,
            "is_included": true,
            "source": "string",
            "position": 0,
            "deleted_at": "2019-08-24T14:15:22Z"
          }
        ],
        "br_data": {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
          "nfse_number": "string",
          "nfse_series": "string",
          "declaration_number": "string",
          "declaration_series": "string",
          "nfse_verification_code": "string",
          "nfse_access_key": "string",
          "source_xml_dialect": "nacional",
          "operation_nature": "string",
          "fiscal_emission_date": "2019-08-24",
          "provider_status": "string",
          "transmission_status": "queued",
          "taxation_type": "string",
          "external_invoice_id": "string",
          "cancel_justification": "string",
          "cancelled_at": "2019-08-24T14:15:22Z",
          "cancel_protocol": "string",
          "cancel_processing_status": "pending",
          "cancel_processing_message": "string",
          "processing_status": "string",
          "processing_code": "string",
          "processing_message": "string",
          "submission_xml": "string",
          "response_xml": "string",
          "has_response_xml": true,
          "url": "string",
          "cancel_access_key": "string",
          "receiver_name": "string",
          "receiver_federal_tax_number": "string",
          "receiver_email": "string",
          "receiver_phone": "string",
          "receiver_address_street": "string",
          "receiver_address_number": "string",
          "receiver_address_district": "string",
          "receiver_address_postal_code": "string",
          "receiver_address_additional_information": "string",
          "receiver_city_ibge_code": "string",
          "receiver_city_name": "string",
          "receiver_state_code": "string",
          "receiver_municipal_registration": "string",
          "receiver_state_registration": "string",
          "receiver_state_registration_exempt": true,
          "transmission_readiness": {
            "ready": true,
            "blockers": [
              "wrong_item_count"
            ]
          },
          "auto_transmission_status": "pending",
          "auto_transmission_message": "string",
          "auto_transmission_queued_at": "2019-08-24T14:15:22Z",
          "auto_transmission_last_attempt_at": "2019-08-24T14:15:22Z",
          "auto_transmission_next_retry_at": "2019-08-24T14:15:22Z",
          "auto_transmission_attempt_count": 0
        },
        "us_data": {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
          "net_terms": 0
        },
        "warnings": [
          {
            "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
            "item_index": 0,
            "code": "stale_tax_resolution",
            "message": "string",
            "changed_fields": [
              {
                "entity": "product",
                "field": "string",
                "snapshot_value": {},
                "current_value": {}
              }
            ],
            "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7"
          }
        ],
        "deleted_by_user_id": "e06321af-43d5-4340-818b-555f83254c47",
        "created_at": "2019-08-24T14:15:22Z",
        "updated_at": "2019-08-24T14:15:22Z",
        "deleted_at": "2019-08-24T14:15:22Z"
      },
      "parent_receivable_id": "4f971824-e0d4-4c5a-91a8-9343603509b6",
      "parent": {
        "id": "string",
        "record_number": 0,
        "customer_id": "string",
        "customer": {
          "id": "string",
          "type": "string",
          "tax_id": "string",
          "tax_id_type": "CPF",
          "legal_name": "string",
          "trade_name": "string",
          "website": "string",
          "address_street": "string",
          "address_number": "string",
          "address_complement": "string",
          "address_district": "string",
          "city": {
            "id": 0,
            "country_id": 0,
            "state_id": 0,
            "country_code": "string",
            "state_code": "string",
            "name": "string",
            "latitude": "-23.55052000",
            "longitude": "-46.63331000",
            "wikidata_id": "string",
            "is_blocked": true,
            "display_order": 0,
            "created_at": "2019-08-24T14:15:22Z",
            "updated_at": "2019-08-24T14:15:22Z",
            "metadata": [
              {
                "id": 0,
                "metadata_type": "string",
                "metadata_value": "string",
                "description": "string"
              }
            ]
          },
          "state": {
            "id": 0,
            "country_id": 0,
            "state_code": "string",
            "country_code": "string",
            "name": "string",
            "latitude": "-23.55052000",
            "longitude": "-46.63331000",
            "is_blocked": true,
            "display_order": 0,
            "created_at": "2019-08-24T14:15:22Z",
            "updated_at": "2019-08-24T14:15:22Z",
            "metadata": [
              {
                "id": 0,
                "metadata_type": "string",
                "metadata_value": "string",
                "description": "string"
              }
            ]
          },
          "country": {
            "id": 0,
            "iso2": "string",
            "iso3": "string",
            "numeric_code": "string",
            "name_en": "string",
            "name_pt": "string",
            "name_es": "string",
            "native": "string",
            "phone_code": "string",
            "capital": "string",
            "currency": "string",
            "currency_name": "string",
            "currency_symbol": "string",
            "tld": "string",
            "region": "string",
            "subregion": "string",
            "region_id": 0,
            "subregion_id": 0,
            "nationality": "string",
            "latitude": "-14.23500000",
            "longitude": "-51.92530000",
            "emoji": "string",
            "emoji_u": "string",
            "is_blocked": true,
            "display_order": 0,
            "created_at": "2019-08-24T14:15:22Z",
            "updated_at": "2019-08-24T14:15:22Z",
            "metadata": [
              {
                "id": 0,
                "metadata_type": "string",
                "metadata_value": "string",
                "description": "string"
              }
            ]
          },
          "state_id": 0,
          "city_id": 0,
          "postal_code": "string",
          "country_code": "string",
          "reference_code": "string",
          "bank_code": "string",
          "branch_number": "string",
          "account_number": "string",
          "account_type": "string",
          "emails": [
            "string"
          ],
          "phones": [
            "string"
          ],
          "tags": [
            "string"
          ],
          "is_blocked": true,
          "metadata": {},
          "br_data": {
            "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
            "ie": "string",
            "ie_exempt": true,
            "im": "string",
            "suframa": "string",
            "tax_regime": "string",
            "cnae_primary": "string",
            "cnae_secondary": [
              "string"
            ],
            "nire": "string",
            "pix_key": "string",
            "pix_key_type": "string"
          },
          "us_data": {
            "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
            "w9_on_file": true,
            "w9_received_date": "2019-08-24",
            "naics_code": "string",
            "sic_code": "string",
            "tax_classification": "string",
            "sales_tax_exempt": true,
            "sales_tax_exempt_certificate": "string",
            "sales_tax_exempt_expiry": "2019-08-24",
            "resale_certificate": "string",
            "state_tax_id": "string",
            "state_of_incorporation": "string",
            "duns_number": "string",
            "cage_code": "string",
            "bank_name": "string",
            "routing_number": "string",
            "ach_authorized": true,
            "ach_authorization_date": "2019-08-24"
          },
          "created_at": "2019-08-24T14:15:22Z",
          "updated_at": "2019-08-24T14:15:22Z",
          "deleted_at": "2019-08-24T14:15:22Z"
        },
        "financial_account_id": "string",
        "financial_account": {
          "id": "string",
          "bank_id": "string",
          "bank_supplier_id": "9ff8778f-b90d-4848-a154-afd5a8740233",
          "name": "string",
          "reference_code": "string",
          "type": "string",
          "initial_balance": "1500.000000",
          "description": "string",
          "is_blocked": true,
          "display_order": 0,
          "metadata": {},
          "account_scope_mask": {
            "counterparty": true,
            "category": true,
            "balance": true
          },
          "br_data": {
            "financial_account_id": "string",
            "branch_number": "string",
            "branch_digit": "string",
            "account_number": "string",
            "account_digit": "string",
            "pix_key": "string",
            "pix_key_type": "cpf"
          },
          "us_data": {
            "financial_account_id": "string",
            "routing_number": "string",
            "account_number": "string",
            "wire_routing_number": "string",
            "ach_authorized": true,
            "ach_authorization_date": "2019-08-24"
          },
          "credit_card_data": {
            "financial_account_id": "string",
            "credit_limit": "string",
            "closing_day": 0,
            "due_day": 0,
            "brand": "string",
            "last_four_digits": "string",
            "default_debit_account_id": "5004c229-60ef-46cc-96f8-8a3e210b5652"
          },
          "created_at": "2019-08-24T14:15:22Z",
          "updated_at": "2019-08-24T14:15:22Z",
          "deleted_at": "2019-08-24T14:15:22Z"
        },
        "payment_method_id": "string",
        "payment_method": {
          "id": "string",
          "code": "string",
          "country_codes": [
            "string"
          ],
          "titles": {
            "property1": "string",
            "property2": "string"
          },
          "descriptions": {
            "property1": "string",
            "property2": "string"
          },
          "is_blocked": true,
          "display_order": 0,
          "created_at": "2019-08-24T14:15:22Z",
          "updated_at": "2019-08-24T14:15:22Z",
          "deleted_at": "2019-08-24T14:15:22Z"
        },
        "financial_category_id": "string",
        "financial_category": {
          "id": "string",
          "tenant_id": "string",
          "parent_id": "string",
          "type": "revenue",
          "reference_code": "string",
          "name": "string",
          "code": "string",
          "presentation_role": "gross_revenue",
          "expense_nature": "employee_benefits",
          "is_locked": true,
          "is_system": true,
          "description": "string",
          "metadata": {},
          "created_by_user_id": "string",
          "updated_by_user_id": "string",
          "deleted_by_user_id": "string",
          "created_at": "2019-08-24T14:15:22Z",
          "updated_at": "2019-08-24T14:15:22Z",
          "deleted_at": "2019-08-24T14:15:22Z",
          "parent": {
            "id": "string",
            "name": "string",
            "code": "string"
          }
        },
        "account_scope_mask": {
          "counterparty": true,
          "category": true,
          "balance": true
        },
        "reference_code": "string",
        "amount": "1500.000000",
        "discount_amount": "0.000000",
        "surcharge_amount": "0.000000",
        "status": "pending",
        "issue_date": "2019-08-24",
        "due_date": "2019-08-24",
        "paid_at": "2019-08-24T14:15:22Z",
        "installment_group_id": "string",
        "installment_number": 0,
        "installment_count": 0,
        "sales_order_id": "string",
        "sales_order": {
          "id": "string",
          "record_number": 0,
          "reference_code": "string",
          "operation_type": "sale",
          "product_type": "goods",
          "status": "draft",
          "order_date": "2019-08-24",
          "delivery_date": "2019-08-24",
          "customer_id": "string",
          "quote_id": "3c071a1d-db86-46a7-9dc8-72ba3fbca992",
          "salesperson_name": "string",
          "description": "string",
          "notes": "string",
          "subtotal": "1500.000000",
          "items_discount": "0.000000",
          "discount_amount": "0.000000",
          "discount_rate": "10.000000",
          "total_discount": "0.000000",
          "total": "1500.000000",
          "metadata": {},
          "br_data": {
            "taxation_type": "string"
          },
          "created_at": "2019-08-24T14:15:22Z",
          "updated_at": "2019-08-24T14:15:22Z",
          "deleted_at": "2019-08-24T14:15:22Z"
        },
        "invoice_id": "string",
        "invoice": {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "record_number": 0,
          "reference_code": "string",
          "status": "draft",
          "operation_type": "sale",
          "product_type": "string",
          "origin": "internal",
          "has_source_xml": true,
          "source_data_import_id": "b4400733-2a6b-44b7-8c73-e4b6d1fbc8cc",
          "import_cancellation_source": "abrasf_nfse_cancelamento",
          "import_channel": "file",
          "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
          "customer": {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "legal_name": "string",
            "trade_name": "string",
            "tax_id": "string",
            "tax_id_type": "CPF",
            "country_code": "string"
          },
          "invoice_date": "2019-08-24",
          "origin_state_code": "string",
          "origin_country_code": "string",
          "destination_state_code": "string",
          "destination_country_code": "string",
          "customer_tax_type": "individual",
          "salesperson_name": "string",
          "fiscal_notes": "string",
          "internal_notes": "string",
          "discount_amount": "string",
          "discount_rate": "string",
          "tax_engine_provider": "string",
          "sales_order_id": "5e95a238-d0d8-4280-92bc-08d83c9c12a6",
          "subtotal": "string",
          "items_discount": "string",
          "total_discount": "string",
          "total_tax": "string",
          "withheld_total": "string",
          "net_receivable_total": "string",
          "total": "string",
          "items": [
            {
              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
              "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
              "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
              "sales_order_item_id": "0d4e920a-487c-47f5-9954-1e8d46c8c6a6",
              "item_description": "string",
              "quantity": "string",
              "unit_price": "string",
              "discount_amount": "string",
              "po_number": "string",
              "subtotal": "string",
              "total": "string",
              "position": 0,
              "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7",
              "br_data": {
                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                "ncm_code": "string",
                "cest_code": "string",
                "federal_service_code": "string",
                "city_service_code": "string",
                "nbs_code": "string",
                "cnae_code": "string",
                "ibs_cbs_cst": "string",
                "ibs_cbs_classification": "string",
                "ibs_cbs_operation_indicator_code": "string",
                "ibs_cbs_is_personal_use": true,
                "cfop": "string"
              },
              "us_data": {
                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                "hts_code": "string",
                "tax_code": "string",
                "sales_tax_category": "string"
              },
              "deleted_at": "2019-08-24T14:15:22Z"
            }
          ],
          "taxes": [
            {
              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
              "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
              "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
              "tax_code": "string",
              "tax_name": "string",
              "base_amount": "string",
              "rate": "string",
              "amount": "string",
              "jurisdiction": "string",
              "is_withheld": true,
              "is_included": true,
              "source": "string",
              "position": 0,
              "deleted_at": "2019-08-24T14:15:22Z"
            }
          ],
          "br_data": {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
            "nfse_number": "string",
            "nfse_series": "string",
            "declaration_number": "string",
            "declaration_series": "string",
            "nfse_verification_code": "string",
            "nfse_access_key": "string",
            "source_xml_dialect": "nacional",
            "operation_nature": "string",
            "fiscal_emission_date": "2019-08-24",
            "provider_status": "string",
            "transmission_status": "queued",
            "taxation_type": "string",
            "external_invoice_id": "string",
            "cancel_justification": "string",
            "cancelled_at": "2019-08-24T14:15:22Z",
            "cancel_protocol": "string",
            "cancel_processing_status": "pending",
            "cancel_processing_message": "string",
            "processing_status": "string",
            "processing_code": "string",
            "processing_message": "string",
            "submission_xml": "string",
            "response_xml": "string",
            "has_response_xml": true,
            "url": "string",
            "cancel_access_key": "string",
            "receiver_name": "string",
            "receiver_federal_tax_number": "string",
            "receiver_email": "string",
            "receiver_phone": "string",
            "receiver_address_street": "string",
            "receiver_address_number": "string",
            "receiver_address_district": "string",
            "receiver_address_postal_code": "string",
            "receiver_address_additional_information": "string",
            "receiver_city_ibge_code": "string",
            "receiver_city_name": "string",
            "receiver_state_code": "string",
            "receiver_municipal_registration": "string",
            "receiver_state_registration": "string",
            "receiver_state_registration_exempt": true,
            "transmission_readiness": {
              "ready": true,
              "blockers": [
                "wrong_item_count"
              ]
            },
            "auto_transmission_status": "pending",
            "auto_transmission_message": "string",
            "auto_transmission_queued_at": "2019-08-24T14:15:22Z",
            "auto_transmission_last_attempt_at": "2019-08-24T14:15:22Z",
            "auto_transmission_next_retry_at": "2019-08-24T14:15:22Z",
            "auto_transmission_attempt_count": 0
          },
          "us_data": {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
            "net_terms": 0
          },
          "warnings": [
            {
              "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
              "item_index": 0,
              "code": "stale_tax_resolution",
              "message": "string",
              "changed_fields": [
                {
                  "entity": "product",
                  "field": "string",
                  "snapshot_value": {},
                  "current_value": {}
                }
              ],
              "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7"
            }
          ],
          "deleted_by_user_id": "e06321af-43d5-4340-818b-555f83254c47",
          "created_at": "2019-08-24T14:15:22Z",
          "updated_at": "2019-08-24T14:15:22Z",
          "deleted_at": "2019-08-24T14:15:22Z"
        },
        "parent_receivable_id": "4f971824-e0d4-4c5a-91a8-9343603509b6",
        "parent": {
          "id": "string",
          "record_number": 0,
          "customer_id": "string",
          "customer": {
            "id": "string",
            "type": "string",
            "tax_id": "string",
            "tax_id_type": "CPF",
            "legal_name": "string",
            "trade_name": "string",
            "website": "string",
            "address_street": "string",
            "address_number": "string",
            "address_complement": "string",
            "address_district": "string",
            "city": {
              "id": 0,
              "country_id": 0,
              "state_id": 0,
              "country_code": "string",
              "state_code": "string",
              "name": "string",
              "latitude": "-23.55052000",
              "longitude": "-46.63331000",
              "wikidata_id": "string",
              "is_blocked": true,
              "display_order": 0,
              "created_at": "2019-08-24T14:15:22Z",
              "updated_at": "2019-08-24T14:15:22Z",
              "metadata": [
                {
                  "id": 0,
                  "metadata_type": "string",
                  "metadata_value": "string",
                  "description": "string"
                }
              ]
            },
            "state": {
              "id": 0,
              "country_id": 0,
              "state_code": "string",
              "country_code": "string",
              "name": "string",
              "latitude": "-23.55052000",
              "longitude": "-46.63331000",
              "is_blocked": true,
              "display_order": 0,
              "created_at": "2019-08-24T14:15:22Z",
              "updated_at": "2019-08-24T14:15:22Z",
              "metadata": [
                {
                  "id": 0,
                  "metadata_type": "string",
                  "metadata_value": "string",
                  "description": "string"
                }
              ]
            },
            "country": {
              "id": 0,
              "iso2": "string",
              "iso3": "string",
              "numeric_code": "string",
              "name_en": "string",
              "name_pt": "string",
              "name_es": "string",
              "native": "string",
              "phone_code": "string",
              "capital": "string",
              "currency": "string",
              "currency_name": "string",
              "currency_symbol": "string",
              "tld": "string",
              "region": "string",
              "subregion": "string",
              "region_id": 0,
              "subregion_id": 0,
              "nationality": "string",
              "latitude": "-14.23500000",
              "longitude": "-51.92530000",
              "emoji": "string",
              "emoji_u": "string",
              "is_blocked": true,
              "display_order": 0,
              "created_at": "2019-08-24T14:15:22Z",
              "updated_at": "2019-08-24T14:15:22Z",
              "metadata": [
                {
                  "id": 0,
                  "metadata_type": "string",
                  "metadata_value": "string",
                  "description": "string"
                }
              ]
            },
            "state_id": 0,
            "city_id": 0,
            "postal_code": "string",
            "country_code": "string",
            "reference_code": "string",
            "bank_code": "string",
            "branch_number": "string",
            "account_number": "string",
            "account_type": "string",
            "emails": [
              "string"
            ],
            "phones": [
              "string"
            ],
            "tags": [
              "string"
            ],
            "is_blocked": true,
            "metadata": {},
            "br_data": {
              "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
              "ie": "string",
              "ie_exempt": true,
              "im": "string",
              "suframa": "string",
              "tax_regime": "string",
              "cnae_primary": "string",
              "cnae_secondary": [
                "string"
              ],
              "nire": "string",
              "pix_key": "string",
              "pix_key_type": "string"
            },
            "us_data": {
              "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
              "w9_on_file": true,
              "w9_received_date": "2019-08-24",
              "naics_code": "string",
              "sic_code": "string",
              "tax_classification": "string",
              "sales_tax_exempt": true,
              "sales_tax_exempt_certificate": "string",
              "sales_tax_exempt_expiry": "2019-08-24",
              "resale_certificate": "string",
              "state_tax_id": "string",
              "state_of_incorporation": "string",
              "duns_number": "string",
              "cage_code": "string",
              "bank_name": "string",
              "routing_number": "string",
              "ach_authorized": true,
              "ach_authorization_date": "2019-08-24"
            },
            "created_at": "2019-08-24T14:15:22Z",
            "updated_at": "2019-08-24T14:15:22Z",
            "deleted_at": "2019-08-24T14:15:22Z"
          },
          "financial_account_id": "string",
          "financial_account": {
            "id": "string",
            "bank_id": "string",
            "bank_supplier_id": "9ff8778f-b90d-4848-a154-afd5a8740233",
            "name": "string",
            "reference_code": "string",
            "type": "string",
            "initial_balance": "1500.000000",
            "description": "string",
            "is_blocked": true,
            "display_order": 0,
            "metadata": {},
            "account_scope_mask": {
              "counterparty": true,
              "category": true,
              "balance": true
            },
            "br_data": {
              "financial_account_id": "string",
              "branch_number": "string",
              "branch_digit": "string",
              "account_number": "string",
              "account_digit": "string",
              "pix_key": "string",
              "pix_key_type": "cpf"
            },
            "us_data": {
              "financial_account_id": "string",
              "routing_number": "string",
              "account_number": "string",
              "wire_routing_number": "string",
              "ach_authorized": true,
              "ach_authorization_date": "2019-08-24"
            },
            "credit_card_data": {
              "financial_account_id": "string",
              "credit_limit": "string",
              "closing_day": 0,
              "due_day": 0,
              "brand": "string",
              "last_four_digits": "string",
              "default_debit_account_id": "5004c229-60ef-46cc-96f8-8a3e210b5652"
            },
            "created_at": "2019-08-24T14:15:22Z",
            "updated_at": "2019-08-24T14:15:22Z",
            "deleted_at": "2019-08-24T14:15:22Z"
          },
          "payment_method_id": "string",
          "payment_method": {
            "id": "string",
            "code": "string",
            "country_codes": [
              "string"
            ],
            "titles": {
              "property1": "string",
              "property2": "string"
            },
            "descriptions": {
              "property1": "string",
              "property2": "string"
            },
            "is_blocked": true,
            "display_order": 0,
            "created_at": "2019-08-24T14:15:22Z",
            "updated_at": "2019-08-24T14:15:22Z",
            "deleted_at": "2019-08-24T14:15:22Z"
          },
          "financial_category_id": "string",
          "financial_category": {
            "id": "string",
            "tenant_id": "string",
            "parent_id": "string",
            "type": "revenue",
            "reference_code": "string",
            "name": "string",
            "code": "string",
            "presentation_role": "gross_revenue",
            "expense_nature": "employee_benefits",
            "is_locked": true,
            "is_system": true,
            "description": "string",
            "metadata": {},
            "created_by_user_id": "string",
            "updated_by_user_id": "string",
            "deleted_by_user_id": "string",
            "created_at": "2019-08-24T14:15:22Z",
            "updated_at": "2019-08-24T14:15:22Z",
            "deleted_at": "2019-08-24T14:15:22Z",
            "parent": {
              "id": "string",
              "name": "string",
              "code": "string"
            }
          },
          "account_scope_mask": {
            "counterparty": true,
            "category": true,
            "balance": true
          },
          "reference_code": "string",
          "amount": "1500.000000",
          "discount_amount": "0.000000",
          "surcharge_amount": "0.000000",
          "status": "pending",
          "issue_date": "2019-08-24",
          "due_date": "2019-08-24",
          "paid_at": "2019-08-24T14:15:22Z",
          "installment_group_id": "string",
          "installment_number": 0,
          "installment_count": 0,
          "sales_order_id": "string",
          "sales_order": {
            "id": "string",
            "record_number": 0,
            "reference_code": "string",
            "operation_type": "sale",
            "product_type": "goods",
            "status": "draft",
            "order_date": "2019-08-24",
            "delivery_date": "2019-08-24",
            "customer_id": "string",
            "quote_id": "3c071a1d-db86-46a7-9dc8-72ba3fbca992",
            "salesperson_name": "string",
            "description": "string",
            "notes": "string",
            "subtotal": "1500.000000",
            "items_discount": "0.000000",
            "discount_amount": "0.000000",
            "discount_rate": "10.000000",
            "total_discount": "0.000000",
            "total": "1500.000000",
            "metadata": {},
            "br_data": {
              "taxation_type": "string"
            },
            "created_at": "2019-08-24T14:15:22Z",
            "updated_at": "2019-08-24T14:15:22Z",
            "deleted_at": "2019-08-24T14:15:22Z"
          },
          "invoice_id": "string",
          "invoice": {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "record_number": 0,
            "reference_code": "string",
            "status": "draft",
            "operation_type": "sale",
            "product_type": "string",
            "origin": "internal",
            "has_source_xml": true,
            "source_data_import_id": "b4400733-2a6b-44b7-8c73-e4b6d1fbc8cc",
            "import_cancellation_source": "abrasf_nfse_cancelamento",
            "import_channel": "file",
            "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
            "customer": {
              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
              "legal_name": "string",
              "trade_name": "string",
              "tax_id": "string",
              "tax_id_type": "CPF",
              "country_code": "string"
            },
            "invoice_date": "2019-08-24",
            "origin_state_code": "string",
            "origin_country_code": "string",
            "destination_state_code": "string",
            "destination_country_code": "string",
            "customer_tax_type": "individual",
            "salesperson_name": "string",
            "fiscal_notes": "string",
            "internal_notes": "string",
            "discount_amount": "string",
            "discount_rate": "string",
            "tax_engine_provider": "string",
            "sales_order_id": "5e95a238-d0d8-4280-92bc-08d83c9c12a6",
            "subtotal": "string",
            "items_discount": "string",
            "total_discount": "string",
            "total_tax": "string",
            "withheld_total": "string",
            "net_receivable_total": "string",
            "total": "string",
            "items": [
              {
                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
                "sales_order_item_id": "0d4e920a-487c-47f5-9954-1e8d46c8c6a6",
                "item_description": "string",
                "quantity": "string",
                "unit_price": "string",
                "discount_amount": "string",
                "po_number": "string",
                "subtotal": "string",
                "total": "string",
                "position": 0,
                "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7",
                "br_data": {
                  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                  "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                  "ncm_code": "string",
                  "cest_code": "string",
                  "federal_service_code": "string",
                  "city_service_code": "string",
                  "nbs_code": "string",
                  "cnae_code": "string",
                  "ibs_cbs_cst": "string",
                  "ibs_cbs_classification": "string",
                  "ibs_cbs_operation_indicator_code": "string",
                  "ibs_cbs_is_personal_use": true,
                  "cfop": "string"
                },
                "us_data": {
                  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                  "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                  "hts_code": "string",
                  "tax_code": "string",
                  "sales_tax_category": "string"
                },
                "deleted_at": "2019-08-24T14:15:22Z"
              }
            ],
            "taxes": [
              {
                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                "tax_code": "string",
                "tax_name": "string",
                "base_amount": "string",
                "rate": "string",
                "amount": "string",
                "jurisdiction": "string",
                "is_withheld": true,
                "is_included": true,
                "source": "string",
                "position": 0,
                "deleted_at": "2019-08-24T14:15:22Z"
              }
            ],
            "br_data": {
              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
              "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
              "nfse_number": "string",
              "nfse_series": "string",
              "declaration_number": "string",
              "declaration_series": "string",
              "nfse_verification_code": "string",
              "nfse_access_key": "string",
              "source_xml_dialect": "nacional",
              "operation_nature": "string",
              "fiscal_emission_date": "2019-08-24",
              "provider_status": "string",
              "transmission_status": "queued",
              "taxation_type": "string",
              "external_invoice_id": "string",
              "cancel_justification": "string",
              "cancelled_at": "2019-08-24T14:15:22Z",
              "cancel_protocol": "string",
              "cancel_processing_status": "pending",
              "cancel_processing_message": "string",
              "processing_status": "string",
              "processing_code": "string",
              "processing_message": "string",
              "submission_xml": "string",
              "response_xml": "string",
              "has_response_xml": true,
              "url": "string",
              "cancel_access_key": "string",
              "receiver_name": "string",
              "receiver_federal_tax_number": "string",
              "receiver_email": "string",
              "receiver_phone": "string",
              "receiver_address_street": "string",
              "receiver_address_number": "string",
              "receiver_address_district": "string",
              "receiver_address_postal_code": "string",
              "receiver_address_additional_information": "string",
              "receiver_city_ibge_code": "string",
              "receiver_city_name": "string",
              "receiver_state_code": "string",
              "receiver_municipal_registration": "string",
              "receiver_state_registration": "string",
              "receiver_state_registration_exempt": true,
              "transmission_readiness": {
                "ready": true,
                "blockers": [
                  "wrong_item_count"
                ]
              },
              "auto_transmission_status": "pending",
              "auto_transmission_message": "string",
              "auto_transmission_queued_at": "2019-08-24T14:15:22Z",
              "auto_transmission_last_attempt_at": "2019-08-24T14:15:22Z",
              "auto_transmission_next_retry_at": "2019-08-24T14:15:22Z",
              "auto_transmission_attempt_count": 0
            },
            "us_data": {
              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
              "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
              "net_terms": 0
            },
            "warnings": [
              {
                "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
                "item_index": 0,
                "code": "stale_tax_resolution",
                "message": "string",
                "changed_fields": [
                  {
                    "entity": "product",
                    "field": "string",
                    "snapshot_value": {},
                    "current_value": {}
                  }
                ],
                "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7"
              }
            ],
            "deleted_by_user_id": "e06321af-43d5-4340-818b-555f83254c47",
            "created_at": "2019-08-24T14:15:22Z",
            "updated_at": "2019-08-24T14:15:22Z",
            "deleted_at": "2019-08-24T14:15:22Z"
          },
          "parent_receivable_id": "4f971824-e0d4-4c5a-91a8-9343603509b6",
          "parent": {
            "id": "string",
            "record_number": 0,
            "customer_id": "string",
            "customer": {
              "id": "string",
              "type": "string",
              "tax_id": "string",
              "tax_id_type": "CPF",
              "legal_name": "string",
              "trade_name": "string",
              "website": "string",
              "address_street": "string",
              "address_number": "string",
              "address_complement": "string",
              "address_district": "string",
              "city": {
                "id": 0,
                "country_id": 0,
                "state_id": 0,
                "country_code": "string",
                "state_code": "string",
                "name": "string",
                "latitude": "-23.55052000",
                "longitude": "-46.63331000",
                "wikidata_id": "string",
                "is_blocked": true,
                "display_order": 0,
                "created_at": "2019-08-24T14:15:22Z",
                "updated_at": "2019-08-24T14:15:22Z",
                "metadata": [
                  {
                    "id": 0,
                    "metadata_type": "string",
                    "metadata_value": "string",
                    "description": "string"
                  }
                ]
              },
              "state": {
                "id": 0,
                "country_id": 0,
                "state_code": "string",
                "country_code": "string",
                "name": "string",
                "latitude": "-23.55052000",
                "longitude": "-46.63331000",
                "is_blocked": true,
                "display_order": 0,
                "created_at": "2019-08-24T14:15:22Z",
                "updated_at": "2019-08-24T14:15:22Z",
                "metadata": [
                  {
                    "id": 0,
                    "metadata_type": "string",
                    "metadata_value": "string",
                    "description": "string"
                  }
                ]
              },
              "country": {
                "id": 0,
                "iso2": "string",
                "iso3": "string",
                "numeric_code": "string",
                "name_en": "string",
                "name_pt": "string",
                "name_es": "string",
                "native": "string",
                "phone_code": "string",
                "capital": "string",
                "currency": "string",
                "currency_name": "string",
                "currency_symbol": "string",
                "tld": "string",
                "region": "string",
                "subregion": "string",
                "region_id": 0,
                "subregion_id": 0,
                "nationality": "string",
                "latitude": "-14.23500000",
                "longitude": "-51.92530000",
                "emoji": "string",
                "emoji_u": "string",
                "is_blocked": true,
                "display_order": 0,
                "created_at": "2019-08-24T14:15:22Z",
                "updated_at": "2019-08-24T14:15:22Z",
                "metadata": [
                  {
                    "id": 0,
                    "metadata_type": "string",
                    "metadata_value": "string",
                    "description": "string"
                  }
                ]
              },
              "state_id": 0,
              "city_id": 0,
              "postal_code": "string",
              "country_code": "string",
              "reference_code": "string",
              "bank_code": "string",
              "branch_number": "string",
              "account_number": "string",
              "account_type": "string",
              "emails": [
                "string"
              ],
              "phones": [
                "string"
              ],
              "tags": [
                "string"
              ],
              "is_blocked": true,
              "metadata": {},
              "br_data": {
                "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                "ie": "string",
                "ie_exempt": true,
                "im": "string",
                "suframa": "string",
                "tax_regime": "string",
                "cnae_primary": "string",
                "cnae_secondary": [
                  "string"
                ],
                "nire": "string",
                "pix_key": "string",
                "pix_key_type": "string"
              },
              "us_data": {
                "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                "w9_on_file": true,
                "w9_received_date": "2019-08-24",
                "naics_code": "string",
                "sic_code": "string",
                "tax_classification": "string",
                "sales_tax_exempt": true,
                "sales_tax_exempt_certificate": "string",
                "sales_tax_exempt_expiry": "2019-08-24",
                "resale_certificate": "string",
                "state_tax_id": "string",
                "state_of_incorporation": "string",
                "duns_number": "string",
                "cage_code": "string",
                "bank_name": "string",
                "routing_number": "string",
                "ach_authorized": true,
                "ach_authorization_date": "2019-08-24"
              },
              "created_at": "2019-08-24T14:15:22Z",
              "updated_at": "2019-08-24T14:15:22Z",
              "deleted_at": "2019-08-24T14:15:22Z"
            },
            "financial_account_id": "string",
            "financial_account": {
              "id": "string",
              "bank_id": "string",
              "bank_supplier_id": "9ff8778f-b90d-4848-a154-afd5a8740233",
              "name": "string",
              "reference_code": "string",
              "type": "string",
              "initial_balance": "1500.000000",
              "description": "string",
              "is_blocked": true,
              "display_order": 0,
              "metadata": {},
              "account_scope_mask": {
                "counterparty": true,
                "category": true,
                "balance": true
              },
              "br_data": {
                "financial_account_id": "string",
                "branch_number": "string",
                "branch_digit": "string",
                "account_number": "string",
                "account_digit": "string",
                "pix_key": "string",
                "pix_key_type": "cpf"
              },
              "us_data": {
                "financial_account_id": "string",
                "routing_number": "string",
                "account_number": "string",
                "wire_routing_number": "string",
                "ach_authorized": true,
                "ach_authorization_date": "2019-08-24"
              },
              "credit_card_data": {
                "financial_account_id": "string",
                "credit_limit": "string",
                "closing_day": 0,
                "due_day": 0,
                "brand": "string",
                "last_four_digits": "string",
                "default_debit_account_id": "5004c229-60ef-46cc-96f8-8a3e210b5652"
              },
              "created_at": "2019-08-24T14:15:22Z",
              "updated_at": "2019-08-24T14:15:22Z",
              "deleted_at": "2019-08-24T14:15:22Z"
            },
            "payment_method_id": "string",
            "payment_method": {
              "id": "string",
              "code": "string",
              "country_codes": [
                "string"
              ],
              "titles": {
                "property1": "string",
                "property2": "string"
              },
              "descriptions": {
                "property1": "string",
                "property2": "string"
              },
              "is_blocked": true,
              "display_order": 0,
              "created_at": "2019-08-24T14:15:22Z",
              "updated_at": "2019-08-24T14:15:22Z",
              "deleted_at": "2019-08-24T14:15:22Z"
            },
            "financial_category_id": "string",
            "financial_category": {
              "id": "string",
              "tenant_id": "string",
              "parent_id": "string",
              "type": "revenue",
              "reference_code": "string",
              "name": "string",
              "code": "string",
              "presentation_role": "gross_revenue",
              "expense_nature": "employee_benefits",
              "is_locked": true,
              "is_system": true,
              "description": "string",
              "metadata": {},
              "created_by_user_id": "string",
              "updated_by_user_id": "string",
              "deleted_by_user_id": "string",
              "created_at": "2019-08-24T14:15:22Z",
              "updated_at": "2019-08-24T14:15:22Z",
              "deleted_at": "2019-08-24T14:15:22Z",
              "parent": {
                "id": "string",
                "name": "string",
                "code": "string"
              }
            },
            "account_scope_mask": {
              "counterparty": true,
              "category": true,
              "balance": true
            },
            "reference_code": "string",
            "amount": "1500.000000",
            "discount_amount": "0.000000",
            "surcharge_amount": "0.000000",
            "status": "pending",
            "issue_date": "2019-08-24",
            "due_date": "2019-08-24",
            "paid_at": "2019-08-24T14:15:22Z",
            "installment_group_id": "string",
            "installment_number": 0,
            "installment_count": 0,
            "sales_order_id": "string",
            "sales_order": {
              "id": "string",
              "record_number": 0,
              "reference_code": "string",
              "operation_type": "sale",
              "product_type": "goods",
              "status": "draft",
              "order_date": "2019-08-24",
              "delivery_date": "2019-08-24",
              "customer_id": "string",
              "quote_id": "3c071a1d-db86-46a7-9dc8-72ba3fbca992",
              "salesperson_name": "string",
              "description": "string",
              "notes": "string",
              "subtotal": "1500.000000",
              "items_discount": "0.000000",
              "discount_amount": "0.000000",
              "discount_rate": "10.000000",
              "total_discount": "0.000000",
              "total": "1500.000000",
              "metadata": {},
              "br_data": {
                "taxation_type": "string"
              },
              "created_at": "2019-08-24T14:15:22Z",
              "updated_at": "2019-08-24T14:15:22Z",
              "deleted_at": "2019-08-24T14:15:22Z"
            },
            "invoice_id": "string",
            "invoice": {
              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
              "record_number": 0,
              "reference_code": "string",
              "status": "draft",
              "operation_type": "sale",
              "product_type": "string",
              "origin": "internal",
              "has_source_xml": true,
              "source_data_import_id": "b4400733-2a6b-44b7-8c73-e4b6d1fbc8cc",
              "import_cancellation_source": "abrasf_nfse_cancelamento",
              "import_channel": "file",
              "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
              "customer": {
                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                "legal_name": "string",
                "trade_name": "string",
                "tax_id": "string",
                "tax_id_type": "CPF",
                "country_code": "string"
              },
              "invoice_date": "2019-08-24",
              "origin_state_code": "string",
              "origin_country_code": "string",
              "destination_state_code": "string",
              "destination_country_code": "string",
              "customer_tax_type": "individual",
              "salesperson_name": "string",
              "fiscal_notes": "string",
              "internal_notes": "string",
              "discount_amount": "string",
              "discount_rate": "string",
              "tax_engine_provider": "string",
              "sales_order_id": "5e95a238-d0d8-4280-92bc-08d83c9c12a6",
              "subtotal": "string",
              "items_discount": "string",
              "total_discount": "string",
              "total_tax": "string",
              "withheld_total": "string",
              "net_receivable_total": "string",
              "total": "string",
              "items": [
                {
                  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                  "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                  "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
                  "sales_order_item_id": "0d4e920a-487c-47f5-9954-1e8d46c8c6a6",
                  "item_description": "string",
                  "quantity": "string",
                  "unit_price": "string",
                  "discount_amount": "string",
                  "po_number": "string",
                  "subtotal": "string",
                  "total": "string",
                  "position": 0,
                  "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7",
                  "br_data": {
                    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                    "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                    "ncm_code": "string",
                    "cest_code": "string",
                    "federal_service_code": "string",
                    "city_service_code": "string",
                    "nbs_code": "string",
                    "cnae_code": "string",
                    "ibs_cbs_cst": "string",
                    "ibs_cbs_classification": "string",
                    "ibs_cbs_operation_indicator_code": "string",
                    "ibs_cbs_is_personal_use": true,
                    "cfop": "string"
                  },
                  "us_data": {
                    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                    "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                    "hts_code": "string",
                    "tax_code": "string",
                    "sales_tax_category": "string"
                  },
                  "deleted_at": "2019-08-24T14:15:22Z"
                }
              ],
              "taxes": [
                {
                  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                  "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                  "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                  "tax_code": "string",
                  "tax_name": "string",
                  "base_amount": "string",
                  "rate": "string",
                  "amount": "string",
                  "jurisdiction": "string",
                  "is_withheld": true,
                  "is_included": true,
                  "source": "string",
                  "position": 0,
                  "deleted_at": "2019-08-24T14:15:22Z"
                }
              ],
              "br_data": {
                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                "nfse_number": "string",
                "nfse_series": "string",
                "declaration_number": "string",
                "declaration_series": "string",
                "nfse_verification_code": "string",
                "nfse_access_key": "string",
                "source_xml_dialect": "nacional",
                "operation_nature": "string",
                "fiscal_emission_date": "2019-08-24",
                "provider_status": "string",
                "transmission_status": "queued",
                "taxation_type": "string",
                "external_invoice_id": "string",
                "cancel_justification": "string",
                "cancelled_at": "2019-08-24T14:15:22Z",
                "cancel_protocol": "string",
                "cancel_processing_status": "pending",
                "cancel_processing_message": "string",
                "processing_status": "string",
                "processing_code": "string",
                "processing_message": "string",
                "submission_xml": "string",
                "response_xml": "string",
                "has_response_xml": true,
                "url": "string",
                "cancel_access_key": "string",
                "receiver_name": "string",
                "receiver_federal_tax_number": "string",
                "receiver_email": "string",
                "receiver_phone": "string",
                "receiver_address_street": "string",
                "receiver_address_number": "string",
                "receiver_address_district": "string",
                "receiver_address_postal_code": "string",
                "receiver_address_additional_information": "string",
                "receiver_city_ibge_code": "string",
                "receiver_city_name": "string",
                "receiver_state_code": "string",
                "receiver_municipal_registration": "string",
                "receiver_state_registration": "string",
                "receiver_state_registration_exempt": true,
                "transmission_readiness": {
                  "ready": true,
                  "blockers": [
                    "wrong_item_count"
                  ]
                },
                "auto_transmission_status": "pending",
                "auto_transmission_message": "string",
                "auto_transmission_queued_at": "2019-08-24T14:15:22Z",
                "auto_transmission_last_attempt_at": "2019-08-24T14:15:22Z",
                "auto_transmission_next_retry_at": "2019-08-24T14:15:22Z",
                "auto_transmission_attempt_count": 0
              },
              "us_data": {
                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                "net_terms": 0
              },
              "warnings": [
                {
                  "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
                  "item_index": 0,
                  "code": "stale_tax_resolution",
                  "message": "string",
                  "changed_fields": [
                    {
                      "entity": "product",
                      "field": "string",
                      "snapshot_value": {},
                      "current_value": {}
                    }
                  ],
                  "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7"
                }
              ],
              "deleted_by_user_id": "e06321af-43d5-4340-818b-555f83254c47",
              "created_at": "2019-08-24T14:15:22Z",
              "updated_at": "2019-08-24T14:15:22Z",
              "deleted_at": "2019-08-24T14:15:22Z"
            },
            "parent_receivable_id": "4f971824-e0d4-4c5a-91a8-9343603509b6",
            "parent": {
              "id": "string",
              "record_number": 0,
              "customer_id": "string",
              "customer": {
                "id": "string",
                "type": "string",
                "tax_id": "string",
                "tax_id_type": "CPF",
                "legal_name": "string",
                "trade_name": "string",
                "website": "string",
                "address_street": "string",
                "address_number": "string",
                "address_complement": "string",
                "address_district": "string",
                "city": {
                  "id": 0,
                  "country_id": 0,
                  "state_id": 0,
                  "country_code": "string",
                  "state_code": "string",
                  "name": "string",
                  "latitude": "-23.55052000",
                  "longitude": "-46.63331000",
                  "wikidata_id": "string",
                  "is_blocked": true,
                  "display_order": 0,
                  "created_at": "2019-08-24T14:15:22Z",
                  "updated_at": "2019-08-24T14:15:22Z",
                  "metadata": [
                    {
                      "id": 0,
                      "metadata_type": "string",
                      "metadata_value": "string",
                      "description": "string"
                    }
                  ]
                },
                "state": {
                  "id": 0,
                  "country_id": 0,
                  "state_code": "string",
                  "country_code": "string",
                  "name": "string",
                  "latitude": "-23.55052000",
                  "longitude": "-46.63331000",
                  "is_blocked": true,
                  "display_order": 0,
                  "created_at": "2019-08-24T14:15:22Z",
                  "updated_at": "2019-08-24T14:15:22Z",
                  "metadata": [
                    {
                      "id": 0,
                      "metadata_type": "string",
                      "metadata_value": "string",
                      "description": "string"
                    }
                  ]
                },
                "country": {
                  "id": 0,
                  "iso2": "string",
                  "iso3": "string",
                  "numeric_code": "string",
                  "name_en": "string",
                  "name_pt": "string",
                  "name_es": "string",
                  "native": "string",
                  "phone_code": "string",
                  "capital": "string",
                  "currency": "string",
                  "currency_name": "string",
                  "currency_symbol": "string",
                  "tld": "string",
                  "region": "string",
                  "subregion": "string",
                  "region_id": 0,
                  "subregion_id": 0,
                  "nationality": "string",
                  "latitude": "-14.23500000",
                  "longitude": "-51.92530000",
                  "emoji": "string",
                  "emoji_u": "string",
                  "is_blocked": true,
                  "display_order": 0,
                  "created_at": "2019-08-24T14:15:22Z",
                  "updated_at": "2019-08-24T14:15:22Z",
                  "metadata": [
                    {
                      "id": 0,
                      "metadata_type": "string",
                      "metadata_value": "string",
                      "description": "string"
                    }
                  ]
                },
                "state_id": 0,
                "city_id": 0,
                "postal_code": "string",
                "country_code": "string",
                "reference_code": "string",
                "bank_code": "string",
                "branch_number": "string",
                "account_number": "string",
                "account_type": "string",
                "emails": [
                  "string"
                ],
                "phones": [
                  "string"
                ],
                "tags": [
                  "string"
                ],
                "is_blocked": true,
                "metadata": {},
                "br_data": {
                  "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                  "ie": "string",
                  "ie_exempt": true,
                  "im": "string",
                  "suframa": "string",
                  "tax_regime": "string",
                  "cnae_primary": "string",
                  "cnae_secondary": [
                    "string"
                  ],
                  "nire": "string",
                  "pix_key": "string",
                  "pix_key_type": "string"
                },
                "us_data": {
                  "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                  "w9_on_file": true,
                  "w9_received_date": "2019-08-24",
                  "naics_code": "string",
                  "sic_code": "string",
                  "tax_classification": "string",
                  "sales_tax_exempt": true,
                  "sales_tax_exempt_certificate": "string",
                  "sales_tax_exempt_expiry": "2019-08-24",
                  "resale_certificate": "string",
                  "state_tax_id": "string",
                  "state_of_incorporation": "string",
                  "duns_number": "string",
                  "cage_code": "string",
                  "bank_name": "string",
                  "routing_number": "string",
                  "ach_authorized": true,
                  "ach_authorization_date": "2019-08-24"
                },
                "created_at": "2019-08-24T14:15:22Z",
                "updated_at": "2019-08-24T14:15:22Z",
                "deleted_at": "2019-08-24T14:15:22Z"
              },
              "financial_account_id": "string",
              "financial_account": {
                "id": "string",
                "bank_id": "string",
                "bank_supplier_id": "9ff8778f-b90d-4848-a154-afd5a8740233",
                "name": "string",
                "reference_code": "string",
                "type": "string",
                "initial_balance": "1500.000000",
                "description": "string",
                "is_blocked": true,
                "display_order": 0,
                "metadata": {},
                "account_scope_mask": {
                  "counterparty": true,
                  "category": true,
                  "balance": true
                },
                "br_data": {
                  "financial_account_id": "string",
                  "branch_number": "string",
                  "branch_digit": "string",
                  "account_number": "string",
                  "account_digit": "string",
                  "pix_key": "string",
                  "pix_key_type": "cpf"
                },
                "us_data": {
                  "financial_account_id": "string",
                  "routing_number": "string",
                  "account_number": "string",
                  "wire_routing_number": "string",
                  "ach_authorized": true,
                  "ach_authorization_date": "2019-08-24"
                },
                "credit_card_data": {
                  "financial_account_id": "string",
                  "credit_limit": "string",
                  "closing_day": 0,
                  "due_day": 0,
                  "brand": "string",
                  "last_four_digits": "string",
                  "default_debit_account_id": "5004c229-60ef-46cc-96f8-8a3e210b5652"
                },
                "created_at": "2019-08-24T14:15:22Z",
                "updated_at": "2019-08-24T14:15:22Z",
                "deleted_at": "2019-08-24T14:15:22Z"
              },
              "payment_method_id": "string",
              "payment_method": {
                "id": "string",
                "code": "string",
                "country_codes": [
                  "string"
                ],
                "titles": {
                  "property1": "string",
                  "property2": "string"
                },
                "descriptions": {
                  "property1": "string",
                  "property2": "string"
                },
                "is_blocked": true,
                "display_order": 0,
                "created_at": "2019-08-24T14:15:22Z",
                "updated_at": "2019-08-24T14:15:22Z",
                "deleted_at": "2019-08-24T14:15:22Z"
              },
              "financial_category_id": "string",
              "financial_category": {
                "id": "string",
                "tenant_id": "string",
                "parent_id": "string",
                "type": "revenue",
                "reference_code": "string",
                "name": "string",
                "code": "string",
                "presentation_role": "gross_revenue",
                "expense_nature": "employee_benefits",
                "is_locked": true,
                "is_system": true,
                "description": "string",
                "metadata": {},
                "created_by_user_id": "string",
                "updated_by_user_id": "string",
                "deleted_by_user_id": "string",
                "created_at": "2019-08-24T14:15:22Z",
                "updated_at": "2019-08-24T14:15:22Z",
                "deleted_at": "2019-08-24T14:15:22Z",
                "parent": {
                  "id": "string",
                  "name": "string",
                  "code": "string"
                }
              },
              "account_scope_mask": {
                "counterparty": true,
                "category": true,
                "balance": true
              },
              "reference_code": "string",
              "amount": "1500.000000",
              "discount_amount": "0.000000",
              "surcharge_amount": "0.000000",
              "status": "pending",
              "issue_date": "2019-08-24",
              "due_date": "2019-08-24",
              "paid_at": "2019-08-24T14:15:22Z",
              "installment_group_id": "string",
              "installment_number": 0,
              "installment_count": 0,
              "sales_order_id": "string",
              "sales_order": {
                "id": "string",
                "record_number": 0,
                "reference_code": "string",
                "operation_type": "sale",
                "product_type": "goods",
                "status": "draft",
                "order_date": "2019-08-24",
                "delivery_date": "2019-08-24",
                "customer_id": "string",
                "quote_id": "3c071a1d-db86-46a7-9dc8-72ba3fbca992",
                "salesperson_name": "string",
                "description": "string",
                "notes": "string",
                "subtotal": "1500.000000",
                "items_discount": "0.000000",
                "discount_amount": "0.000000",
                "discount_rate": "10.000000",
                "total_discount": "0.000000",
                "total": "1500.000000",
                "metadata": {},
                "br_data": {
                  "taxation_type": "string"
                },
                "created_at": "2019-08-24T14:15:22Z",
                "updated_at": "2019-08-24T14:15:22Z",
                "deleted_at": "2019-08-24T14:15:22Z"
              },
              "invoice_id": "string",
              "invoice": {
                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                "record_number": 0,
                "reference_code": "string",
                "status": "draft",
                "operation_type": "sale",
                "product_type": "string",
                "origin": "internal",
                "has_source_xml": true,
                "source_data_import_id": "b4400733-2a6b-44b7-8c73-e4b6d1fbc8cc",
                "import_cancellation_source": "abrasf_nfse_cancelamento",
                "import_channel": "file",
                "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                "customer": {
                  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                  "legal_name": "string",
                  "trade_name": "string",
                  "tax_id": "string",
                  "tax_id_type": "CPF",
                  "country_code": "string"
                },
                "invoice_date": "2019-08-24",
                "origin_state_code": "string",
                "origin_country_code": "string",
                "destination_state_code": "string",
                "destination_country_code": "string",
                "customer_tax_type": "individual",
                "salesperson_name": "string",
                "fiscal_notes": "string",
                "internal_notes": "string",
                "discount_amount": "string",
                "discount_rate": "string",
                "tax_engine_provider": "string",
                "sales_order_id": "5e95a238-d0d8-4280-92bc-08d83c9c12a6",
                "subtotal": "string",
                "items_discount": "string",
                "total_discount": "string",
                "total_tax": "string",
                "withheld_total": "string",
                "net_receivable_total": "string",
                "total": "string",
                "items": [
                  {
                    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                    "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                    "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
                    "sales_order_item_id": "0d4e920a-487c-47f5-9954-1e8d46c8c6a6",
                    "item_description": "string",
                    "quantity": "string",
                    "unit_price": "string",
                    "discount_amount": "string",
                    "po_number": "string",
                    "subtotal": "string",
                    "total": "string",
                    "position": 0,
                    "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7",
                    "br_data": {
                      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                      "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                      "ncm_code": "string",
                      "cest_code": "string",
                      "federal_service_code": "string",
                      "city_service_code": "string",
                      "nbs_code": "string",
                      "cnae_code": "string",
                      "ibs_cbs_cst": "string",
                      "ibs_cbs_classification": "string",
                      "ibs_cbs_operation_indicator_code": "string",
                      "ibs_cbs_is_personal_use": true,
                      "cfop": "string"
                    },
                    "us_data": {
                      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                      "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                      "hts_code": "string",
                      "tax_code": "string",
                      "sales_tax_category": "string"
                    },
                    "deleted_at": "2019-08-24T14:15:22Z"
                  }
                ],
                "taxes": [
                  {
                    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                    "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                    "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                    "tax_code": "string",
                    "tax_name": "string",
                    "base_amount": "string",
                    "rate": "string",
                    "amount": "string",
                    "jurisdiction": "string",
                    "is_withheld": true,
                    "is_included": true,
                    "source": "string",
                    "position": 0,
                    "deleted_at": "2019-08-24T14:15:22Z"
                  }
                ],
                "br_data": {
                  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                  "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                  "nfse_number": "string",
                  "nfse_series": "string",
                  "declaration_number": "string",
                  "declaration_series": "string",
                  "nfse_verification_code": "string",
                  "nfse_access_key": "string",
                  "source_xml_dialect": "nacional",
                  "operation_nature": "string",
                  "fiscal_emission_date": "2019-08-24",
                  "provider_status": "string",
                  "transmission_status": "queued",
                  "taxation_type": "string",
                  "external_invoice_id": "string",
                  "cancel_justification": "string",
                  "cancelled_at": "2019-08-24T14:15:22Z",
                  "cancel_protocol": "string",
                  "cancel_processing_status": "pending",
                  "cancel_processing_message": "string",
                  "processing_status": "string",
                  "processing_code": "string",
                  "processing_message": "string",
                  "submission_xml": "string",
                  "response_xml": "string",
                  "has_response_xml": true,
                  "url": "string",
                  "cancel_access_key": "string",
                  "receiver_name": "string",
                  "receiver_federal_tax_number": "string",
                  "receiver_email": "string",
                  "receiver_phone": "string",
                  "receiver_address_street": "string",
                  "receiver_address_number": "string",
                  "receiver_address_district": "string",
                  "receiver_address_postal_code": "string",
                  "receiver_address_additional_information": "string",
                  "receiver_city_ibge_code": "string",
                  "receiver_city_name": "string",
                  "receiver_state_code": "string",
                  "receiver_municipal_registration": "string",
                  "receiver_state_registration": "string",
                  "receiver_state_registration_exempt": true,
                  "transmission_readiness": {
                    "ready": true,
                    "blockers": [
                      "wrong_item_count"
                    ]
                  },
                  "auto_transmission_status": "pending",
                  "auto_transmission_message": "string",
                  "auto_transmission_queued_at": "2019-08-24T14:15:22Z",
                  "auto_transmission_last_attempt_at": "2019-08-24T14:15:22Z",
                  "auto_transmission_next_retry_at": "2019-08-24T14:15:22Z",
                  "auto_transmission_attempt_count": 0
                },
                "us_data": {
                  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                  "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                  "net_terms": 0
                },
                "warnings": [
                  {
                    "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
                    "item_index": 0,
                    "code": "stale_tax_resolution",
                    "message": "string",
                    "changed_fields": [
                      {
                        "entity": "product",
                        "field": "string",
                        "snapshot_value": {},
                        "current_value": {}
                      }
                    ],
                    "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7"
                  }
                ],
                "deleted_by_user_id": "e06321af-43d5-4340-818b-555f83254c47",
                "created_at": "2019-08-24T14:15:22Z",
                "updated_at": "2019-08-24T14:15:22Z",
                "deleted_at": "2019-08-24T14:15:22Z"
              },
              "parent_receivable_id": "4f971824-e0d4-4c5a-91a8-9343603509b6",
              "parent": {
                "id": "string",
                "record_number": 0,
                "customer_id": "string",
                "customer": {
                  "id": "string",
                  "type": "string",
                  "tax_id": "string",
                  "tax_id_type": "CPF",
                  "legal_name": "string",
                  "trade_name": "string",
                  "website": "string",
                  "address_street": "string",
                  "address_number": "string",
                  "address_complement": "string",
                  "address_district": "string",
                  "city": {
                    "id": 0,
                    "country_id": 0,
                    "state_id": 0,
                    "country_code": "string",
                    "state_code": "string",
                    "name": "string",
                    "latitude": "-23.55052000",
                    "longitude": "-46.63331000",
                    "wikidata_id": "string",
                    "is_blocked": true,
                    "display_order": 0,
                    "created_at": "2019-08-24T14:15:22Z",
                    "updated_at": "2019-08-24T14:15:22Z",
                    "metadata": [
                      {
                        "id": 0,
                        "metadata_type": "string",
                        "metadata_value": "string",
                        "description": "string"
                      }
                    ]
                  },
                  "state": {
                    "id": 0,
                    "country_id": 0,
                    "state_code": "string",
                    "country_code": "string",
                    "name": "string",
                    "latitude": "-23.55052000",
                    "longitude": "-46.63331000",
                    "is_blocked": true,
                    "display_order": 0,
                    "created_at": "2019-08-24T14:15:22Z",
                    "updated_at": "2019-08-24T14:15:22Z",
                    "metadata": [
                      {
                        "id": 0,
                        "metadata_type": "string",
                        "metadata_value": "string",
                        "description": "string"
                      }
                    ]
                  },
                  "country": {
                    "id": 0,
                    "iso2": "string",
                    "iso3": "string",
                    "numeric_code": "string",
                    "name_en": "string",
                    "name_pt": "string",
                    "name_es": "string",
                    "native": "string",
                    "phone_code": "string",
                    "capital": "string",
                    "currency": "string",
                    "currency_name": "string",
                    "currency_symbol": "string",
                    "tld": "string",
                    "region": "string",
                    "subregion": "string",
                    "region_id": 0,
                    "subregion_id": 0,
                    "nationality": "string",
                    "latitude": "-14.23500000",
                    "longitude": "-51.92530000",
                    "emoji": "string",
                    "emoji_u": "string",
                    "is_blocked": true,
                    "display_order": 0,
                    "created_at": "2019-08-24T14:15:22Z",
                    "updated_at": "2019-08-24T14:15:22Z",
                    "metadata": [
                      {
                        "id": 0,
                        "metadata_type": "string",
                        "metadata_value": "string",
                        "description": "string"
                      }
                    ]
                  },
                  "state_id": 0,
                  "city_id": 0,
                  "postal_code": "string",
                  "country_code": "string",
                  "reference_code": "string",
                  "bank_code": "string",
                  "branch_number": "string",
                  "account_number": "string",
                  "account_type": "string",
                  "emails": [
                    "string"
                  ],
                  "phones": [
                    "string"
                  ],
                  "tags": [
                    "string"
                  ],
                  "is_blocked": true,
                  "metadata": {},
                  "br_data": {
                    "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                    "ie": "string",
                    "ie_exempt": true,
                    "im": "string",
                    "suframa": "string",
                    "tax_regime": "string",
                    "cnae_primary": "string",
                    "cnae_secondary": [
                      "string"
                    ],
                    "nire": "string",
                    "pix_key": "string",
                    "pix_key_type": "string"
                  },
                  "us_data": {
                    "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                    "w9_on_file": true,
                    "w9_received_date": "2019-08-24",
                    "naics_code": "string",
                    "sic_code": "string",
                    "tax_classification": "string",
                    "sales_tax_exempt": true,
                    "sales_tax_exempt_certificate": "string",
                    "sales_tax_exempt_expiry": "2019-08-24",
                    "resale_certificate": "string",
                    "state_tax_id": "string",
                    "state_of_incorporation": "string",
                    "duns_number": "string",
                    "cage_code": "string",
                    "bank_name": "string",
                    "routing_number": "string",
                    "ach_authorized": true,
                    "ach_authorization_date": "2019-08-24"
                  },
                  "created_at": "2019-08-24T14:15:22Z",
                  "updated_at": "2019-08-24T14:15:22Z",
                  "deleted_at": "2019-08-24T14:15:22Z"
                },
                "financial_account_id": "string",
                "financial_account": {
                  "id": "string",
                  "bank_id": "string",
                  "bank_supplier_id": "9ff8778f-b90d-4848-a154-afd5a8740233",
                  "name": "string",
                  "reference_code": "string",
                  "type": "string",
                  "initial_balance": "1500.000000",
                  "description": "string",
                  "is_blocked": true,
                  "display_order": 0,
                  "metadata": {},
                  "account_scope_mask": {
                    "counterparty": true,
                    "category": true,
                    "balance": true
                  },
                  "br_data": {
                    "financial_account_id": "string",
                    "branch_number": "string",
                    "branch_digit": "string",
                    "account_number": "string",
                    "account_digit": "string",
                    "pix_key": "string",
                    "pix_key_type": "cpf"
                  },
                  "us_data": {
                    "financial_account_id": "string",
                    "routing_number": "string",
                    "account_number": "string",
                    "wire_routing_number": "string",
                    "ach_authorized": true,
                    "ach_authorization_date": "2019-08-24"
                  },
                  "credit_card_data": {
                    "financial_account_id": "string",
                    "credit_limit": "string",
                    "closing_day": 0,
                    "due_day": 0,
                    "brand": "string",
                    "last_four_digits": "string",
                    "default_debit_account_id": "5004c229-60ef-46cc-96f8-8a3e210b5652"
                  },
                  "created_at": "2019-08-24T14:15:22Z",
                  "updated_at": "2019-08-24T14:15:22Z",
                  "deleted_at": "2019-08-24T14:15:22Z"
                },
                "payment_method_id": "string",
                "payment_method": {
                  "id": "string",
                  "code": "string",
                  "country_codes": [
                    "string"
                  ],
                  "titles": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "descriptions": {
                    "property1": "string",
                    "property2": "string"
                  },
                  "is_blocked": true,
                  "display_order": 0,
                  "created_at": "2019-08-24T14:15:22Z",
                  "updated_at": "2019-08-24T14:15:22Z",
                  "deleted_at": "2019-08-24T14:15:22Z"
                },
                "financial_category_id": "string",
                "financial_category": {
                  "id": "string",
                  "tenant_id": "string",
                  "parent_id": "string",
                  "type": "revenue",
                  "reference_code": "string",
                  "name": "string",
                  "code": "string",
                  "presentation_role": "gross_revenue",
                  "expense_nature": "employee_benefits",
                  "is_locked": true,
                  "is_system": true,
                  "description": "string",
                  "metadata": {},
                  "created_by_user_id": "string",
                  "updated_by_user_id": "string",
                  "deleted_by_user_id": "string",
                  "created_at": "2019-08-24T14:15:22Z",
                  "updated_at": "2019-08-24T14:15:22Z",
                  "deleted_at": "2019-08-24T14:15:22Z",
                  "parent": {
                    "id": "string",
                    "name": "string",
                    "code": "string"
                  }
                },
                "account_scope_mask": {
                  "counterparty": true,
                  "category": true,
                  "balance": true
                },
                "reference_code": "string",
                "amount": "1500.000000",
                "discount_amount": "0.000000",
                "surcharge_amount": "0.000000",
                "status": "pending",
                "issue_date": "2019-08-24",
                "due_date": "2019-08-24",
                "paid_at": "2019-08-24T14:15:22Z",
                "installment_group_id": "string",
                "installment_number": 0,
                "installment_count": 0,
                "sales_order_id": "string",
                "sales_order": {
                  "id": "string",
                  "record_number": 0,
                  "reference_code": "string",
                  "operation_type": "sale",
                  "product_type": "goods",
                  "status": "draft",
                  "order_date": "2019-08-24",
                  "delivery_date": "2019-08-24",
                  "customer_id": "string",
                  "quote_id": "3c071a1d-db86-46a7-9dc8-72ba3fbca992",
                  "salesperson_name": "string",
                  "description": "string",
                  "notes": "string",
                  "subtotal": "1500.000000",
                  "items_discount": "0.000000",
                  "discount_amount": "0.000000",
                  "discount_rate": "10.000000",
                  "total_discount": "0.000000",
                  "total": "1500.000000",
                  "metadata": {},
                  "br_data": {
                    "taxation_type": "string"
                  },
                  "created_at": "2019-08-24T14:15:22Z",
                  "updated_at": "2019-08-24T14:15:22Z",
                  "deleted_at": "2019-08-24T14:15:22Z"
                },
                "invoice_id": "string",
                "invoice": {
                  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                  "record_number": 0,
                  "reference_code": "string",
                  "status": "draft",
                  "operation_type": "sale",
                  "product_type": "string",
                  "origin": "internal",
                  "has_source_xml": true,
                  "source_data_import_id": "b4400733-2a6b-44b7-8c73-e4b6d1fbc8cc",
                  "import_cancellation_source": "abrasf_nfse_cancelamento",
                  "import_channel": "file",
                  "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                  "customer": {
                    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                    "legal_name": "string",
                    "trade_name": "string",
                    "tax_id": "string",
                    "tax_id_type": "CPF",
                    "country_code": "string"
                  },
                  "invoice_date": "2019-08-24",
                  "origin_state_code": "string",
                  "origin_country_code": "string",
                  "destination_state_code": "string",
                  "destination_country_code": "string",
                  "customer_tax_type": "individual",
                  "salesperson_name": "string",
                  "fiscal_notes": "string",
                  "internal_notes": "string",
                  "discount_amount": "string",
                  "discount_rate": "string",
                  "tax_engine_provider": "string",
                  "sales_order_id": "5e95a238-d0d8-4280-92bc-08d83c9c12a6",
                  "subtotal": "string",
                  "items_discount": "string",
                  "total_discount": "string",
                  "total_tax": "string",
                  "withheld_total": "string",
                  "net_receivable_total": "string",
                  "total": "string",
                  "items": [
                    {
                      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                      "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                      "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
                      "sales_order_item_id": "0d4e920a-487c-47f5-9954-1e8d46c8c6a6",
                      "item_description": "string",
                      "quantity": "string",
                      "unit_price": "string",
                      "discount_amount": "string",
                      "po_number": "string",
                      "subtotal": "string",
                      "total": "string",
                      "position": 0,
                      "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7",
                      "br_data": {
                        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                        "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                        "ncm_code": "string",
                        "cest_code": "string",
                        "federal_service_code": "string",
                        "city_service_code": "string",
                        "nbs_code": "string",
                        "cnae_code": "string",
                        "ibs_cbs_cst": "string",
                        "ibs_cbs_classification": "string",
                        "ibs_cbs_operation_indicator_code": "string",
                        "ibs_cbs_is_personal_use": true,
                        "cfop": "string"
                      },
                      "us_data": {
                        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                        "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                        "hts_code": "string",
                        "tax_code": "string",
                        "sales_tax_category": "string"
                      },
                      "deleted_at": "2019-08-24T14:15:22Z"
                    }
                  ],
                  "taxes": [
                    {
                      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                      "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                      "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                      "tax_code": "string",
                      "tax_name": "string",
                      "base_amount": "string",
                      "rate": "string",
                      "amount": "string",
                      "jurisdiction": "string",
                      "is_withheld": true,
                      "is_included": true,
                      "source": "string",
                      "position": 0,
                      "deleted_at": "2019-08-24T14:15:22Z"
                    }
                  ],
                  "br_data": {
                    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                    "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                    "nfse_number": "string",
                    "nfse_series": "string",
                    "declaration_number": "string",
                    "declaration_series": "string",
                    "nfse_verification_code": "string",
                    "nfse_access_key": "string",
                    "source_xml_dialect": "nacional",
                    "operation_nature": "string",
                    "fiscal_emission_date": "2019-08-24",
                    "provider_status": "string",
                    "transmission_status": "queued",
                    "taxation_type": "string",
                    "external_invoice_id": "string",
                    "cancel_justification": "string",
                    "cancelled_at": "2019-08-24T14:15:22Z",
                    "cancel_protocol": "string",
                    "cancel_processing_status": "pending",
                    "cancel_processing_message": "string",
                    "processing_status": "string",
                    "processing_code": "string",
                    "processing_message": "string",
                    "submission_xml": "string",
                    "response_xml": "string",
                    "has_response_xml": true,
                    "url": "string",
                    "cancel_access_key": "string",
                    "receiver_name": "string",
                    "receiver_federal_tax_number": "string",
                    "receiver_email": "string",
                    "receiver_phone": "string",
                    "receiver_address_street": "string",
                    "receiver_address_number": "string",
                    "receiver_address_district": "string",
                    "receiver_address_postal_code": "string",
                    "receiver_address_additional_information": "string",
                    "receiver_city_ibge_code": "string",
                    "receiver_city_name": "string",
                    "receiver_state_code": "string",
                    "receiver_municipal_registration": "string",
                    "receiver_state_registration": "string",
                    "receiver_state_registration_exempt": true,
                    "transmission_readiness": {
                      "ready": true,
                      "blockers": [
                        "wrong_item_count"
                      ]
                    },
                    "auto_transmission_status": "pending",
                    "auto_transmission_message": "string",
                    "auto_transmission_queued_at": "2019-08-24T14:15:22Z",
                    "auto_transmission_last_attempt_at": "2019-08-24T14:15:22Z",
                    "auto_transmission_next_retry_at": "2019-08-24T14:15:22Z",
                    "auto_transmission_attempt_count": 0
                  },
                  "us_data": {
                    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                    "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                    "net_terms": 0
                  },
                  "warnings": [
                    {
                      "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
                      "item_index": 0,
                      "code": "stale_tax_resolution",
                      "message": "string",
                      "changed_fields": [
                        {
                          "entity": "product",
                          "field": "string",
                          "snapshot_value": {},
                          "current_value": {}
                        }
                      ],
                      "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7"
                    }
                  ],
                  "deleted_by_user_id": "e06321af-43d5-4340-818b-555f83254c47",
                  "created_at": "2019-08-24T14:15:22Z",
                  "updated_at": "2019-08-24T14:15:22Z",
                  "deleted_at": "2019-08-24T14:15:22Z"
                },
                "parent_receivable_id": "4f971824-e0d4-4c5a-91a8-9343603509b6",
                "parent": {
                  "id": "string",
                  "record_number": 0,
                  "customer_id": "string",
                  "customer": {
                    "id": "string",
                    "type": "string",
                    "tax_id": "string",
                    "tax_id_type": "CPF",
                    "legal_name": "string",
                    "trade_name": "string",
                    "website": "string",
                    "address_street": "string",
                    "address_number": "string",
                    "address_complement": "string",
                    "address_district": "string",
                    "city": {
                      "id": 0,
                      "country_id": 0,
                      "state_id": 0,
                      "country_code": "string",
                      "state_code": "string",
                      "name": "string",
                      "latitude": "-23.55052000",
                      "longitude": "-46.63331000",
                      "wikidata_id": "string",
                      "is_blocked": true,
                      "display_order": 0,
                      "created_at": "2019-08-24T14:15:22Z",
                      "updated_at": "2019-08-24T14:15:22Z",
                      "metadata": [
                        {
                          "id": 0,
                          "metadata_type": "string",
                          "metadata_value": "string",
                          "description": "string"
                        }
                      ]
                    },
                    "state": {
                      "id": 0,
                      "country_id": 0,
                      "state_code": "string",
                      "country_code": "string",
                      "name": "string",
                      "latitude": "-23.55052000",
                      "longitude": "-46.63331000",
                      "is_blocked": true,
                      "display_order": 0,
                      "created_at": "2019-08-24T14:15:22Z",
                      "updated_at": "2019-08-24T14:15:22Z",
                      "metadata": [
                        {
                          "id": 0,
                          "metadata_type": "string",
                          "metadata_value": "string",
                          "description": "string"
                        }
                      ]
                    },
                    "country": {
                      "id": 0,
                      "iso2": "string",
                      "iso3": "string",
                      "numeric_code": "string",
                      "name_en": "string",
                      "name_pt": "string",
                      "name_es": "string",
                      "native": "string",
                      "phone_code": "string",
                      "capital": "string",
                      "currency": "string",
                      "currency_name": "string",
                      "currency_symbol": "string",
                      "tld": "string",
                      "region": "string",
                      "subregion": "string",
                      "region_id": 0,
                      "subregion_id": 0,
                      "nationality": "string",
                      "latitude": "-14.23500000",
                      "longitude": "-51.92530000",
                      "emoji": "string",
                      "emoji_u": "string",
                      "is_blocked": true,
                      "display_order": 0,
                      "created_at": "2019-08-24T14:15:22Z",
                      "updated_at": "2019-08-24T14:15:22Z",
                      "metadata": [
                        {
                          "id": 0,
                          "metadata_type": "string",
                          "metadata_value": "string",
                          "description": "string"
                        }
                      ]
                    },
                    "state_id": 0,
                    "city_id": 0,
                    "postal_code": "string",
                    "country_code": "string",
                    "reference_code": "string",
                    "bank_code": "string",
                    "branch_number": "string",
                    "account_number": "string",
                    "account_type": "string",
                    "emails": [
                      "string"
                    ],
                    "phones": [
                      "string"
                    ],
                    "tags": [
                      "string"
                    ],
                    "is_blocked": true,
                    "metadata": {},
                    "br_data": {
                      "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                      "ie": "string",
                      "ie_exempt": true,
                      "im": "string",
                      "suframa": "string",
                      "tax_regime": "string",
                      "cnae_primary": "string",
                      "cnae_secondary": [
                        "string"
                      ],
                      "nire": "string",
                      "pix_key": "string",
                      "pix_key_type": "string"
                    },
                    "us_data": {
                      "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                      "w9_on_file": true,
                      "w9_received_date": "2019-08-24",
                      "naics_code": "string",
                      "sic_code": "string",
                      "tax_classification": "string",
                      "sales_tax_exempt": true,
                      "sales_tax_exempt_certificate": "string",
                      "sales_tax_exempt_expiry": "2019-08-24",
                      "resale_certificate": "string",
                      "state_tax_id": "string",
                      "state_of_incorporation": "string",
                      "duns_number": "string",
                      "cage_code": "string",
                      "bank_name": "string",
                      "routing_number": "string",
                      "ach_authorized": true,
                      "ach_authorization_date": "2019-08-24"
                    },
                    "created_at": "2019-08-24T14:15:22Z",
                    "updated_at": "2019-08-24T14:15:22Z",
                    "deleted_at": "2019-08-24T14:15:22Z"
                  },
                  "financial_account_id": "string",
                  "financial_account": {
                    "id": "string",
                    "bank_id": "string",
                    "bank_supplier_id": "9ff8778f-b90d-4848-a154-afd5a8740233",
                    "name": "string",
                    "reference_code": "string",
                    "type": "string",
                    "initial_balance": "1500.000000",
                    "description": "string",
                    "is_blocked": true,
                    "display_order": 0,
                    "metadata": {},
                    "account_scope_mask": {
                      "counterparty": true,
                      "category": true,
                      "balance": true
                    },
                    "br_data": {
                      "financial_account_id": "string",
                      "branch_number": "string",
                      "branch_digit": "string",
                      "account_number": "string",
                      "account_digit": "string",
                      "pix_key": "string",
                      "pix_key_type": "cpf"
                    },
                    "us_data": {
                      "financial_account_id": "string",
                      "routing_number": "string",
                      "account_number": "string",
                      "wire_routing_number": "string",
                      "ach_authorized": true,
                      "ach_authorization_date": "2019-08-24"
                    },
                    "credit_card_data": {
                      "financial_account_id": "string",
                      "credit_limit": "string",
                      "closing_day": 0,
                      "due_day": 0,
                      "brand": "string",
                      "last_four_digits": "string",
                      "default_debit_account_id": "5004c229-60ef-46cc-96f8-8a3e210b5652"
                    },
                    "created_at": "2019-08-24T14:15:22Z",
                    "updated_at": "2019-08-24T14:15:22Z",
                    "deleted_at": "2019-08-24T14:15:22Z"
                  },
                  "payment_method_id": "string",
                  "payment_method": {
                    "id": "string",
                    "code": "string",
                    "country_codes": [
                      "string"
                    ],
                    "titles": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "descriptions": {
                      "property1": "string",
                      "property2": "string"
                    },
                    "is_blocked": true,
                    "display_order": 0,
                    "created_at": "2019-08-24T14:15:22Z",
                    "updated_at": "2019-08-24T14:15:22Z",
                    "deleted_at": "2019-08-24T14:15:22Z"
                  },
                  "financial_category_id": "string",
                  "financial_category": {
                    "id": "string",
                    "tenant_id": "string",
                    "parent_id": "string",
                    "type": "revenue",
                    "reference_code": "string",
                    "name": "string",
                    "code": "string",
                    "presentation_role": "gross_revenue",
                    "expense_nature": "employee_benefits",
                    "is_locked": true,
                    "is_system": true,
                    "description": "string",
                    "metadata": {},
                    "created_by_user_id": "string",
                    "updated_by_user_id": "string",
                    "deleted_by_user_id": "string",
                    "created_at": "2019-08-24T14:15:22Z",
                    "updated_at": "2019-08-24T14:15:22Z",
                    "deleted_at": "2019-08-24T14:15:22Z",
                    "parent": {
                      "id": "string",
                      "name": "string",
                      "code": "string"
                    }
                  },
                  "account_scope_mask": {
                    "counterparty": true,
                    "category": true,
                    "balance": true
                  },
                  "reference_code": "string",
                  "amount": "1500.000000",
                  "discount_amount": "0.000000",
                  "surcharge_amount": "0.000000",
                  "status": "pending",
                  "issue_date": "2019-08-24",
                  "due_date": "2019-08-24",
                  "paid_at": "2019-08-24T14:15:22Z",
                  "installment_group_id": "string",
                  "installment_number": 0,
                  "installment_count": 0,
                  "sales_order_id": "string",
                  "sales_order": {
                    "id": "string",
                    "record_number": 0,
                    "reference_code": "string",
                    "operation_type": "sale",
                    "product_type": "goods",
                    "status": "draft",
                    "order_date": "2019-08-24",
                    "delivery_date": "2019-08-24",
                    "customer_id": "string",
                    "quote_id": "3c071a1d-db86-46a7-9dc8-72ba3fbca992",
                    "salesperson_name": "string",
                    "description": "string",
                    "notes": "string",
                    "subtotal": "1500.000000",
                    "items_discount": "0.000000",
                    "discount_amount": "0.000000",
                    "discount_rate": "10.000000",
                    "total_discount": "0.000000",
                    "total": "1500.000000",
                    "metadata": {},
                    "br_data": {
                      "taxation_type": "string"
                    },
                    "created_at": "2019-08-24T14:15:22Z",
                    "updated_at": "2019-08-24T14:15:22Z",
                    "deleted_at": "2019-08-24T14:15:22Z"
                  },
                  "invoice_id": "string",
                  "invoice": {
                    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                    "record_number": 0,
                    "reference_code": "string",
                    "status": "draft",
                    "operation_type": "sale",
                    "product_type": "string",
                    "origin": "internal",
                    "has_source_xml": true,
                    "source_data_import_id": "b4400733-2a6b-44b7-8c73-e4b6d1fbc8cc",
                    "import_cancellation_source": "abrasf_nfse_cancelamento",
                    "import_channel": "file",
                    "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                    "customer": {
                      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                      "legal_name": "string",
                      "trade_name": "string",
                      "tax_id": "string",
                      "tax_id_type": "CPF",
                      "country_code": "string"
                    },
                    "invoice_date": "2019-08-24",
                    "origin_state_code": "string",
                    "origin_country_code": "string",
                    "destination_state_code": "string",
                    "destination_country_code": "string",
                    "customer_tax_type": "individual",
                    "salesperson_name": "string",
                    "fiscal_notes": "string",
                    "internal_notes": "string",
                    "discount_amount": "string",
                    "discount_rate": "string",
                    "tax_engine_provider": "string",
                    "sales_order_id": "5e95a238-d0d8-4280-92bc-08d83c9c12a6",
                    "subtotal": "string",
                    "items_discount": "string",
                    "total_discount": "string",
                    "total_tax": "string",
                    "withheld_total": "string",
                    "net_receivable_total": "string",
                    "total": "string",
                    "items": [
                      {
                        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                        "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                        "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
                        "sales_order_item_id": "0d4e920a-487c-47f5-9954-1e8d46c8c6a6",
                        "item_description": "string",
                        "quantity": "string",
                        "unit_price": "string",
                        "discount_amount": "string",
                        "po_number": "string",
                        "subtotal": "string",
                        "total": "string",
                        "position": 0,
                        "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7",
                        "br_data": {
                          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                          "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                          "ncm_code": "string",
                          "cest_code": "string",
                          "federal_service_code": "string",
                          "city_service_code": "string",
                          "nbs_code": "string",
                          "cnae_code": "string",
                          "ibs_cbs_cst": "string",
                          "ibs_cbs_classification": "string",
                          "ibs_cbs_operation_indicator_code": "string",
                          "ibs_cbs_is_personal_use": true,
                          "cfop": "string"
                        },
                        "us_data": {
                          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                          "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                          "hts_code": "string",
                          "tax_code": "string",
                          "sales_tax_category": "string"
                        },
                        "deleted_at": "2019-08-24T14:15:22Z"
                      }
                    ],
                    "taxes": [
                      {
                        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                        "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                        "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                        "tax_code": "string",
                        "tax_name": "string",
                        "base_amount": "string",
                        "rate": "string",
                        "amount": "string",
                        "jurisdiction": "string",
                        "is_withheld": true,
                        "is_included": true,
                        "source": "string",
                        "position": 0,
                        "deleted_at": "2019-08-24T14:15:22Z"
                      }
                    ],
                    "br_data": {
                      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                      "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                      "nfse_number": "string",
                      "nfse_series": "string",
                      "declaration_number": "string",
                      "declaration_series": "string",
                      "nfse_verification_code": "string",
                      "nfse_access_key": "string",
                      "source_xml_dialect": "nacional",
                      "operation_nature": "string",
                      "fiscal_emission_date": "2019-08-24",
                      "provider_status": "string",
                      "transmission_status": "queued",
                      "taxation_type": "string",
                      "external_invoice_id": "string",
                      "cancel_justification": "string",
                      "cancelled_at": "2019-08-24T14:15:22Z",
                      "cancel_protocol": "string",
                      "cancel_processing_status": "pending",
                      "cancel_processing_message": "string",
                      "processing_status": "string",
                      "processing_code": "string",
                      "processing_message": "string",
                      "submission_xml": "string",
                      "response_xml": "string",
                      "has_response_xml": true,
                      "url": "string",
                      "cancel_access_key": "string",
                      "receiver_name": "string",
                      "receiver_federal_tax_number": "string",
                      "receiver_email": "string",
                      "receiver_phone": "string",
                      "receiver_address_street": "string",
                      "receiver_address_number": "string",
                      "receiver_address_district": "string",
                      "receiver_address_postal_code": "string",
                      "receiver_address_additional_information": "string",
                      "receiver_city_ibge_code": "string",
                      "receiver_city_name": "string",
                      "receiver_state_code": "string",
                      "receiver_municipal_registration": "string",
                      "receiver_state_registration": "string",
                      "receiver_state_registration_exempt": true,
                      "transmission_readiness": {
                        "ready": true,
                        "blockers": [
                          "wrong_item_count"
                        ]
                      },
                      "auto_transmission_status": "pending",
                      "auto_transmission_message": "string",
                      "auto_transmission_queued_at": "2019-08-24T14:15:22Z",
                      "auto_transmission_last_attempt_at": "2019-08-24T14:15:22Z",
                      "auto_transmission_next_retry_at": "2019-08-24T14:15:22Z",
                      "auto_transmission_attempt_count": 0
                    },
                    "us_data": {
                      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                      "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                      "net_terms": 0
                    },
                    "warnings": [
                      {
                        "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
                        "item_index": 0,
                        "code": "stale_tax_resolution",
                        "message": "string",
                        "changed_fields": [
                          {
                            "entity": "product",
                            "field": "string",
                            "snapshot_value": {},
                            "current_value": {}
                          }
                        ],
                        "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7"
                      }
                    ],
                    "deleted_by_user_id": "e06321af-43d5-4340-818b-555f83254c47",
                    "created_at": "2019-08-24T14:15:22Z",
                    "updated_at": "2019-08-24T14:15:22Z",
                    "deleted_at": "2019-08-24T14:15:22Z"
                  },
                  "parent_receivable_id": "4f971824-e0d4-4c5a-91a8-9343603509b6",
                  "parent": {
                    "id": "string",
                    "record_number": 0,
                    "customer_id": "string",
                    "customer": {
                      "id": "string",
                      "type": "string",
                      "tax_id": "string",
                      "tax_id_type": "CPF",
                      "legal_name": "string",
                      "trade_name": "string",
                      "website": "string",
                      "address_street": "string",
                      "address_number": "string",
                      "address_complement": "string",
                      "address_district": "string",
                      "city": {
                        "id": 0,
                        "country_id": 0,
                        "state_id": 0,
                        "country_code": "string",
                        "state_code": "string",
                        "name": "string",
                        "latitude": "-23.55052000",
                        "longitude": "-46.63331000",
                        "wikidata_id": "string",
                        "is_blocked": true,
                        "display_order": 0,
                        "created_at": "2019-08-24T14:15:22Z",
                        "updated_at": "2019-08-24T14:15:22Z",
                        "metadata": [
                          {
                            "id": 0,
                            "metadata_type": "string",
                            "metadata_value": "string",
                            "description": "string"
                          }
                        ]
                      },
                      "state": {
                        "id": 0,
                        "country_id": 0,
                        "state_code": "string",
                        "country_code": "string",
                        "name": "string",
                        "latitude": "-23.55052000",
                        "longitude": "-46.63331000",
                        "is_blocked": true,
                        "display_order": 0,
                        "created_at": "2019-08-24T14:15:22Z",
                        "updated_at": "2019-08-24T14:15:22Z",
                        "metadata": [
                          {
                            "id": 0,
                            "metadata_type": "string",
                            "metadata_value": "string",
                            "description": "string"
                          }
                        ]
                      },
                      "country": {
                        "id": 0,
                        "iso2": "string",
                        "iso3": "string",
                        "numeric_code": "string",
                        "name_en": "string",
                        "name_pt": "string",
                        "name_es": "string",
                        "native": "string",
                        "phone_code": "string",
                        "capital": "string",
                        "currency": "string",
                        "currency_name": "string",
                        "currency_symbol": "string",
                        "tld": "string",
                        "region": "string",
                        "subregion": "string",
                        "region_id": 0,
                        "subregion_id": 0,
                        "nationality": "string",
                        "latitude": "-14.23500000",
                        "longitude": "-51.92530000",
                        "emoji": "string",
                        "emoji_u": "string",
                        "is_blocked": true,
                        "display_order": 0,
                        "created_at": "2019-08-24T14:15:22Z",
                        "updated_at": "2019-08-24T14:15:22Z",
                        "metadata": [
                          {
                            "id": 0,
                            "metadata_type": "string",
                            "metadata_value": "string",
                            "description": "string"
                          }
                        ]
                      },
                      "state_id": 0,
                      "city_id": 0,
                      "postal_code": "string",
                      "country_code": "string",
                      "reference_code": "string",
                      "bank_code": "string",
                      "branch_number": "string",
                      "account_number": "string",
                      "account_type": "string",
                      "emails": [
                        "string"
                      ],
                      "phones": [
                        "string"
                      ],
                      "tags": [
                        "string"
                      ],
                      "is_blocked": true,
                      "metadata": {},
                      "br_data": {
                        "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                        "ie": "string",
                        "ie_exempt": true,
                        "im": "string",
                        "suframa": "string",
                        "tax_regime": "string",
                        "cnae_primary": "string",
                        "cnae_secondary": [
                          "string"
                        ],
                        "nire": "string",
                        "pix_key": "string",
                        "pix_key_type": "string"
                      },
                      "us_data": {
                        "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                        "w9_on_file": true,
                        "w9_received_date": "2019-08-24",
                        "naics_code": "string",
                        "sic_code": "string",
                        "tax_classification": "string",
                        "sales_tax_exempt": true,
                        "sales_tax_exempt_certificate": "string",
                        "sales_tax_exempt_expiry": "2019-08-24",
                        "resale_certificate": "string",
                        "state_tax_id": "string",
                        "state_of_incorporation": "string",
                        "duns_number": "string",
                        "cage_code": "string",
                        "bank_name": "string",
                        "routing_number": "string",
                        "ach_authorized": true,
                        "ach_authorization_date": "2019-08-24"
                      },
                      "created_at": "2019-08-24T14:15:22Z",
                      "updated_at": "2019-08-24T14:15:22Z",
                      "deleted_at": "2019-08-24T14:15:22Z"
                    },
                    "financial_account_id": "string",
                    "financial_account": {
                      "id": "string",
                      "bank_id": "string",
                      "bank_supplier_id": "9ff8778f-b90d-4848-a154-afd5a8740233",
                      "name": "string",
                      "reference_code": "string",
                      "type": "string",
                      "initial_balance": "1500.000000",
                      "description": "string",
                      "is_blocked": true,
                      "display_order": 0,
                      "metadata": {},
                      "account_scope_mask": {
                        "counterparty": true,
                        "category": true,
                        "balance": true
                      },
                      "br_data": {
                        "financial_account_id": "string",
                        "branch_number": "string",
                        "branch_digit": "string",
                        "account_number": "string",
                        "account_digit": "string",
                        "pix_key": "string",
                        "pix_key_type": "cpf"
                      },
                      "us_data": {
                        "financial_account_id": "string",
                        "routing_number": "string",
                        "account_number": "string",
                        "wire_routing_number": "string",
                        "ach_authorized": true,
                        "ach_authorization_date": "2019-08-24"
                      },
                      "credit_card_data": {
                        "financial_account_id": "string",
                        "credit_limit": "string",
                        "closing_day": 0,
                        "due_day": 0,
                        "brand": "string",
                        "last_four_digits": "string",
                        "default_debit_account_id": "5004c229-60ef-46cc-96f8-8a3e210b5652"
                      },
                      "created_at": "2019-08-24T14:15:22Z",
                      "updated_at": "2019-08-24T14:15:22Z",
                      "deleted_at": "2019-08-24T14:15:22Z"
                    },
                    "payment_method_id": "string",
                    "payment_method": {
                      "id": "string",
                      "code": "string",
                      "country_codes": [
                        "string"
                      ],
                      "titles": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "descriptions": {
                        "property1": "string",
                        "property2": "string"
                      },
                      "is_blocked": true,
                      "display_order": 0,
                      "created_at": "2019-08-24T14:15:22Z",
                      "updated_at": "2019-08-24T14:15:22Z",
                      "deleted_at": "2019-08-24T14:15:22Z"
                    },
                    "financial_category_id": "string",
                    "financial_category": {
                      "id": "string",
                      "tenant_id": "string",
                      "parent_id": "string",
                      "type": "revenue",
                      "reference_code": "string",
                      "name": "string",
                      "code": "string",
                      "presentation_role": "gross_revenue",
                      "expense_nature": "employee_benefits",
                      "is_locked": true,
                      "is_system": true,
                      "description": "string",
                      "metadata": {},
                      "created_by_user_id": "string",
                      "updated_by_user_id": "string",
                      "deleted_by_user_id": "string",
                      "created_at": "2019-08-24T14:15:22Z",
                      "updated_at": "2019-08-24T14:15:22Z",
                      "deleted_at": "2019-08-24T14:15:22Z",
                      "parent": {
                        "id": "string",
                        "name": "string",
                        "code": "string"
                      }
                    },
                    "account_scope_mask": {
                      "counterparty": true,
                      "category": true,
                      "balance": true
                    },
                    "reference_code": "string",
                    "amount": "1500.000000",
                    "discount_amount": "0.000000",
                    "surcharge_amount": "0.000000",
                    "status": "pending",
                    "issue_date": "2019-08-24",
                    "due_date": "2019-08-24",
                    "paid_at": "2019-08-24T14:15:22Z",
                    "installment_group_id": "string",
                    "installment_number": 0,
                    "installment_count": 0,
                    "sales_order_id": "string",
                    "sales_order": {
                      "id": "string",
                      "record_number": 0,
                      "reference_code": "string",
                      "operation_type": "sale",
                      "product_type": "goods",
                      "status": "draft",
                      "order_date": "2019-08-24",
                      "delivery_date": "2019-08-24",
                      "customer_id": "string",
                      "quote_id": "3c071a1d-db86-46a7-9dc8-72ba3fbca992",
                      "salesperson_name": "string",
                      "description": "string",
                      "notes": "string",
                      "subtotal": "1500.000000",
                      "items_discount": "0.000000",
                      "discount_amount": "0.000000",
                      "discount_rate": "10.000000",
                      "total_discount": "0.000000",
                      "total": "1500.000000",
                      "metadata": {},
                      "br_data": {
                        "taxation_type": "string"
                      },
                      "created_at": "2019-08-24T14:15:22Z",
                      "updated_at": "2019-08-24T14:15:22Z",
                      "deleted_at": "2019-08-24T14:15:22Z"
                    },
                    "invoice_id": "string",
                    "invoice": {
                      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                      "record_number": 0,
                      "reference_code": "string",
                      "status": "draft",
                      "operation_type": "sale",
                      "product_type": "string",
                      "origin": "internal",
                      "has_source_xml": true,
                      "source_data_import_id": "b4400733-2a6b-44b7-8c73-e4b6d1fbc8cc",
                      "import_cancellation_source": "abrasf_nfse_cancelamento",
                      "import_channel": "file",
                      "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                      "customer": {
                        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                        "legal_name": "string",
                        "trade_name": "string",
                        "tax_id": "string",
                        "tax_id_type": "CPF",
                        "country_code": "string"
                      },
                      "invoice_date": "2019-08-24",
                      "origin_state_code": "string",
                      "origin_country_code": "string",
                      "destination_state_code": "string",
                      "destination_country_code": "string",
                      "customer_tax_type": "individual",
                      "salesperson_name": "string",
                      "fiscal_notes": "string",
                      "internal_notes": "string",
                      "discount_amount": "string",
                      "discount_rate": "string",
                      "tax_engine_provider": "string",
                      "sales_order_id": "5e95a238-d0d8-4280-92bc-08d83c9c12a6",
                      "subtotal": "string",
                      "items_discount": "string",
                      "total_discount": "string",
                      "total_tax": "string",
                      "withheld_total": "string",
                      "net_receivable_total": "string",
                      "total": "string",
                      "items": [
                        {
                          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                          "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                          "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
                          "sales_order_item_id": "0d4e920a-487c-47f5-9954-1e8d46c8c6a6",
                          "item_description": "string",
                          "quantity": "string",
                          "unit_price": "string",
                          "discount_amount": "string",
                          "po_number": "string",
                          "subtotal": "string",
                          "total": "string",
                          "position": 0,
                          "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7",
                          "br_data": {
                            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                            "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                            "ncm_code": "string",
                            "cest_code": "string",
                            "federal_service_code": "string",
                            "city_service_code": "string",
                            "nbs_code": "string",
                            "cnae_code": "string",
                            "ibs_cbs_cst": "string",
                            "ibs_cbs_classification": "string",
                            "ibs_cbs_operation_indicator_code": "string",
                            "ibs_cbs_is_personal_use": true,
                            "cfop": "string"
                          },
                          "us_data": {
                            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                            "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                            "hts_code": "string",
                            "tax_code": "string",
                            "sales_tax_category": "string"
                          },
                          "deleted_at": "2019-08-24T14:15:22Z"
                        }
                      ],
                      "taxes": [
                        {
                          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                          "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                          "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                          "tax_code": "string",
                          "tax_name": "string",
                          "base_amount": "string",
                          "rate": "string",
                          "amount": "string",
                          "jurisdiction": "string",
                          "is_withheld": true,
                          "is_included": true,
                          "source": "string",
                          "position": 0,
                          "deleted_at": "2019-08-24T14:15:22Z"
                        }
                      ],
                      "br_data": {
                        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                        "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                        "nfse_number": "string",
                        "nfse_series": "string",
                        "declaration_number": "string",
                        "declaration_series": "string",
                        "nfse_verification_code": "string",
                        "nfse_access_key": "string",
                        "source_xml_dialect": "nacional",
                        "operation_nature": "string",
                        "fiscal_emission_date": "2019-08-24",
                        "provider_status": "string",
                        "transmission_status": "queued",
                        "taxation_type": "string",
                        "external_invoice_id": "string",
                        "cancel_justification": "string",
                        "cancelled_at": "2019-08-24T14:15:22Z",
                        "cancel_protocol": "string",
                        "cancel_processing_status": "pending",
                        "cancel_processing_message": "string",
                        "processing_status": "string",
                        "processing_code": "string",
                        "processing_message": "string",
                        "submission_xml": "string",
                        "response_xml": "string",
                        "has_response_xml": true,
                        "url": "string",
                        "cancel_access_key": "string",
                        "receiver_name": "string",
                        "receiver_federal_tax_number": "string",
                        "receiver_email": "string",
                        "receiver_phone": "string",
                        "receiver_address_street": "string",
                        "receiver_address_number": "string",
                        "receiver_address_district": "string",
                        "receiver_address_postal_code": "string",
                        "receiver_address_additional_information": "string",
                        "receiver_city_ibge_code": "string",
                        "receiver_city_name": "string",
                        "receiver_state_code": "string",
                        "receiver_municipal_registration": "string",
                        "receiver_state_registration": "string",
                        "receiver_state_registration_exempt": true,
                        "transmission_readiness": {
                          "ready": true,
                          "blockers": [
                            "wrong_item_count"
                          ]
                        },
                        "auto_transmission_status": "pending",
                        "auto_transmission_message": "string",
                        "auto_transmission_queued_at": "2019-08-24T14:15:22Z",
                        "auto_transmission_last_attempt_at": "2019-08-24T14:15:22Z",
                        "auto_transmission_next_retry_at": "2019-08-24T14:15:22Z",
                        "auto_transmission_attempt_count": 0
                      },
                      "us_data": {
                        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                        "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                        "net_terms": 0
                      },
                      "warnings": [
                        {
                          "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
                          "item_index": 0,
                          "code": "stale_tax_resolution",
                          "message": "string",
                          "changed_fields": [
                            {}
                          ],
                          "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7"
                        }
                      ],
                      "deleted_by_user_id": "e06321af-43d5-4340-818b-555f83254c47",
                      "created_at": "2019-08-24T14:15:22Z",
                      "updated_at": "2019-08-24T14:15:22Z",
                      "deleted_at": "2019-08-24T14:15:22Z"
                    },
                    "parent_receivable_id": "4f971824-e0d4-4c5a-91a8-9343603509b6",
                    "parent": {
                      "id": "string",
                      "record_number": 0,
                      "customer_id": "string",
                      "customer": {
                        "id": "string",
                        "type": "string",
                        "tax_id": "string",
                        "tax_id_type": "CPF",
                        "legal_name": "string",
                        "trade_name": "string",
                        "website": "string",
                        "address_street": "string",
                        "address_number": "string",
                        "address_complement": "string",
                        "address_district": "string",
                        "city": {
                          "id": 0,
                          "country_id": 0,
                          "state_id": 0,
                          "country_code": "string",
                          "state_code": "string",
                          "name": "string",
                          "latitude": "-23.55052000",
                          "longitude": "-46.63331000",
                          "wikidata_id": "string",
                          "is_blocked": true,
                          "display_order": 0,
                          "created_at": "2019-08-24T14:15:22Z",
                          "updated_at": "2019-08-24T14:15:22Z",
                          "metadata": [
                            {}
                          ]
                        },
                        "state": {
                          "id": 0,
                          "country_id": 0,
                          "state_code": "string",
                          "country_code": "string",
                          "name": "string",
                          "latitude": "-23.55052000",
                          "longitude": "-46.63331000",
                          "is_blocked": true,
                          "display_order": 0,
                          "created_at": "2019-08-24T14:15:22Z",
                          "updated_at": "2019-08-24T14:15:22Z",
                          "metadata": [
                            {}
                          ]
                        },
                        "country": {
                          "id": 0,
                          "iso2": "string",
                          "iso3": "string",
                          "numeric_code": "string",
                          "name_en": "string",
                          "name_pt": "string",
                          "name_es": "string",
                          "native": "string",
                          "phone_code": "string",
                          "capital": "string",
                          "currency": "string",
                          "currency_name": "string",
                          "currency_symbol": "string",
                          "tld": "string",
                          "region": "string",
                          "subregion": "string",
                          "region_id": 0,
                          "subregion_id": 0,
                          "nationality": "string",
                          "latitude": "-14.23500000",
                          "longitude": "-51.92530000",
                          "emoji": "string",
                          "emoji_u": "string",
                          "is_blocked": true,
                          "display_order": 0,
                          "created_at": "2019-08-24T14:15:22Z",
                          "updated_at": "2019-08-24T14:15:22Z",
                          "metadata": [
                            {}
                          ]
                        },
                        "state_id": 0,
                        "city_id": 0,
                        "postal_code": "string",
                        "country_code": "string",
                        "reference_code": "string",
                        "bank_code": "string",
                        "branch_number": "string",
                        "account_number": "string",
                        "account_type": "string",
                        "emails": [
                          "string"
                        ],
                        "phones": [
                          "string"
                        ],
                        "tags": [
                          "string"
                        ],
                        "is_blocked": true,
                        "metadata": {},
                        "br_data": {
                          "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                          "ie": "string",
                          "ie_exempt": true,
                          "im": "string",
                          "suframa": "string",
                          "tax_regime": "string",
                          "cnae_primary": "string",
                          "cnae_secondary": [
                            "string"
                          ],
                          "nire": "string",
                          "pix_key": "string",
                          "pix_key_type": "string"
                        },
                        "us_data": {
                          "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                          "w9_on_file": true,
                          "w9_received_date": "2019-08-24",
                          "naics_code": "string",
                          "sic_code": "string",
                          "tax_classification": "string",
                          "sales_tax_exempt": true,
                          "sales_tax_exempt_certificate": "string",
                          "sales_tax_exempt_expiry": "2019-08-24",
                          "resale_certificate": "string",
                          "state_tax_id": "string",
                          "state_of_incorporation": "string",
                          "duns_number": "string",
                          "cage_code": "string",
                          "bank_name": "string",
                          "routing_number": "string",
                          "ach_authorized": true,
                          "ach_authorization_date": "2019-08-24"
                        },
                        "created_at": "2019-08-24T14:15:22Z",
                        "updated_at": "2019-08-24T14:15:22Z",
                        "deleted_at": "2019-08-24T14:15:22Z"
                      },
                      "financial_account_id": "string",
                      "financial_account": {
                        "id": "string",
                        "bank_id": "string",
                        "bank_supplier_id": "9ff8778f-b90d-4848-a154-afd5a8740233",
                        "name": "string",
                        "reference_code": "string",
                        "type": "string",
                        "initial_balance": "1500.000000",
                        "description": "string",
                        "is_blocked": true,
                        "display_order": 0,
                        "metadata": {},
                        "account_scope_mask": {
                          "counterparty": true,
                          "category": true,
                          "balance": true
                        },
                        "br_data": {
                          "financial_account_id": "string",
                          "branch_number": "string",
                          "branch_digit": "string",
                          "account_number": "string",
                          "account_digit": "string",
                          "pix_key": "string",
                          "pix_key_type": "cpf"
                        },
                        "us_data": {
                          "financial_account_id": "string",
                          "routing_number": "string",
                          "account_number": "string",
                          "wire_routing_number": "string",
                          "ach_authorized": true,
                          "ach_authorization_date": "2019-08-24"
                        },
                        "credit_card_data": {
                          "financial_account_id": "string",
                          "credit_limit": "string",
                          "closing_day": 0,
                          "due_day": 0,
                          "brand": "string",
                          "last_four_digits": "string",
                          "default_debit_account_id": "5004c229-60ef-46cc-96f8-8a3e210b5652"
                        },
                        "created_at": "2019-08-24T14:15:22Z",
                        "updated_at": "2019-08-24T14:15:22Z",
                        "deleted_at": "2019-08-24T14:15:22Z"
                      },
                      "payment_method_id": "string",
                      "payment_method": {
                        "id": "string",
                        "code": "string",
                        "country_codes": [
                          "string"
                        ],
                        "titles": {
                          "property1": "string",
                          "property2": "string"
                        },
                        "descriptions": {
                          "property1": "string",
                          "property2": "string"
                        },
                        "is_blocked": true,
                        "display_order": 0,
                        "created_at": "2019-08-24T14:15:22Z",
                        "updated_at": "2019-08-24T14:15:22Z",
                        "deleted_at": "2019-08-24T14:15:22Z"
                      },
                      "financial_category_id": "string",
                      "financial_category": {
                        "id": "string",
                        "tenant_id": "string",
                        "parent_id": "string",
                        "type": "revenue",
                        "reference_code": "string",
                        "name": "string",
                        "code": "string",
                        "presentation_role": "gross_revenue",
                        "expense_nature": "employee_benefits",
                        "is_locked": true,
                        "is_system": true,
                        "description": "string",
                        "metadata": {},
                        "created_by_user_id": "string",
                        "updated_by_user_id": "string",
                        "deleted_by_user_id": "string",
                        "created_at": "2019-08-24T14:15:22Z",
                        "updated_at": "2019-08-24T14:15:22Z",
                        "deleted_at": "2019-08-24T14:15:22Z",
                        "parent": {
                          "id": "string",
                          "name": "string",
                          "code": "string"
                        }
                      },
                      "account_scope_mask": {
                        "counterparty": true,
                        "category": true,
                        "balance": true
                      },
                      "reference_code": "string",
                      "amount": "1500.000000",
                      "discount_amount": "0.000000",
                      "surcharge_amount": "0.000000",
                      "status": "pending",
                      "issue_date": "2019-08-24",
                      "due_date": "2019-08-24",
                      "paid_at": "2019-08-24T14:15:22Z",
                      "installment_group_id": "string",
                      "installment_number": 0,
                      "installment_count": 0,
                      "sales_order_id": "string",
                      "sales_order": {
                        "id": "string",
                        "record_number": 0,
                        "reference_code": "string",
                        "operation_type": "sale",
                        "product_type": "goods",
                        "status": "draft",
                        "order_date": "2019-08-24",
                        "delivery_date": "2019-08-24",
                        "customer_id": "string",
                        "quote_id": "3c071a1d-db86-46a7-9dc8-72ba3fbca992",
                        "salesperson_name": "string",
                        "description": "string",
                        "notes": "string",
                        "subtotal": "1500.000000",
                        "items_discount": "0.000000",
                        "discount_amount": "0.000000",
                        "discount_rate": "10.000000",
                        "total_discount": "0.000000",
                        "total": "1500.000000",
                        "metadata": {},
                        "br_data": {
                          "taxation_type": "string"
                        },
                        "created_at": "2019-08-24T14:15:22Z",
                        "updated_at": "2019-08-24T14:15:22Z",
                        "deleted_at": "2019-08-24T14:15:22Z"
                      },
                      "invoice_id": "string",
                      "invoice": {
                        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                        "record_number": 0,
                        "reference_code": "string",
                        "status": "draft",
                        "operation_type": "sale",
                        "product_type": "string",
                        "origin": "internal",
                        "has_source_xml": true,
                        "source_data_import_id": "b4400733-2a6b-44b7-8c73-e4b6d1fbc8cc",
                        "import_cancellation_source": "abrasf_nfse_cancelamento",
                        "import_channel": "file",
                        "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                        "customer": {
                          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                          "legal_name": "string",
                          "trade_name": "string",
                          "tax_id": "string",
                          "tax_id_type": "CPF",
                          "country_code": "string"
                        },
                        "invoice_date": "2019-08-24",
                        "origin_state_code": "string",
                        "origin_country_code": "string",
                        "destination_state_code": "string",
                        "destination_country_code": "string",
                        "customer_tax_type": "individual",
                        "salesperson_name": "string",
                        "fiscal_notes": "string",
                        "internal_notes": "string",
                        "discount_amount": "string",
                        "discount_rate": "string",
                        "tax_engine_provider": "string",
                        "sales_order_id": "5e95a238-d0d8-4280-92bc-08d83c9c12a6",
                        "subtotal": "string",
                        "items_discount": "string",
                        "total_discount": "string",
                        "total_tax": "string",
                        "withheld_total": "string",
                        "net_receivable_total": "string",
                        "total": "string",
                        "items": [
                          {
                            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                            "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                            "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
                            "sales_order_item_id": "0d4e920a-487c-47f5-9954-1e8d46c8c6a6",
                            "item_description": "string",
                            "quantity": "string",
                            "unit_price": "string",
                            "discount_amount": "string",
                            "po_number": "string",
                            "subtotal": "string",
                            "total": "string",
                            "position": 0,
                            "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7",
                            "br_data": {},
                            "us_data": {},
                            "deleted_at": "2019-08-24T14:15:22Z"
                          }
                        ],
                        "taxes": [
                          {
                            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                            "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                            "invoice_item_id": "a018106e-4ca4-4a01-ab85-3af044b569c5",
                            "tax_code": "string",
                            "tax_name": "string",
                            "base_amount": "string",
                            "rate": "string",
                            "amount": "string",
                            "jurisdiction": "string",
                            "is_withheld": true,
                            "is_included": true,
                            "source": "string",
                            "position": 0,
                            "deleted_at": "2019-08-24T14:15:22Z"
                          }
                        ],
                        "br_data": {
                          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                          "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                          "nfse_number": "string",
                          "nfse_series": "string",
                          "declaration_number": "string",
                          "declaration_series": "string",
                          "nfse_verification_code": "string",
                          "nfse_access_key": "string",
                          "source_xml_dialect": "nacional",
                          "operation_nature": "string",
                          "fiscal_emission_date": "2019-08-24",
                          "provider_status": "string",
                          "transmission_status": "queued",
                          "taxation_type": "string",
                          "external_invoice_id": "string",
                          "cancel_justification": "string",
                          "cancelled_at": "2019-08-24T14:15:22Z",
                          "cancel_protocol": "string",
                          "cancel_processing_status": "pending",
                          "cancel_processing_message": "string",
                          "processing_status": "string",
                          "processing_code": "string",
                          "processing_message": "string",
                          "submission_xml": "string",
                          "response_xml": "string",
                          "has_response_xml": true,
                          "url": "string",
                          "cancel_access_key": "string",
                          "receiver_name": "string",
                          "receiver_federal_tax_number": "string",
                          "receiver_email": "string",
                          "receiver_phone": "string",
                          "receiver_address_street": "string",
                          "receiver_address_number": "string",
                          "receiver_address_district": "string",
                          "receiver_address_postal_code": "string",
                          "receiver_address_additional_information": "string",
                          "receiver_city_ibge_code": "string",
                          "receiver_city_name": "string",
                          "receiver_state_code": "string",
                          "receiver_municipal_registration": "string",
                          "receiver_state_registration": "string",
                          "receiver_state_registration_exempt": true,
                          "transmission_readiness": {
                            "ready": true,
                            "blockers": [
                              null
                            ]
                          },
                          "auto_transmission_status": "pending",
                          "auto_transmission_message": "string",
                          "auto_transmission_queued_at": "2019-08-24T14:15:22Z",
                          "auto_transmission_last_attempt_at": "2019-08-24T14:15:22Z",
                          "auto_transmission_next_retry_at": "2019-08-24T14:15:22Z",
                          "auto_transmission_attempt_count": 0
                        },
                        "us_data": {
                          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                          "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                          "net_terms": 0
                        },
                        "warnings": [
                          {
                            "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
                            "item_index": 0,
                            "code": "stale_tax_resolution",
                            "message": "string",
                            "changed_fields": [
                              {}
                            ],
                            "tax_resolution_id": "46335649-8ed5-4e65-adbe-1d06bb8bf9d7"
                          }
                        ],
                        "deleted_by_user_id": "e06321af-43d5-4340-818b-555f83254c47",
                        "created_at": "2019-08-24T14:15:22Z",
                        "updated_at": "2019-08-24T14:15:22Z",
                        "deleted_at": "2019-08-24T14:15:22Z"
                      },
                      "parent_receivable_id": "4f971824-e0d4-4c5a-91a8-9343603509b6",
                      "parent": {
                        "id": "string",
                        "record_number": 0,
                        "customer_id": "string",
                        "customer": {
                          "id": "string",
                          "type": "string",
                          "tax_id": "string",
                          "tax_id_type": "CPF",
                          "legal_name": "string",
                          "trade_name": "string",
                          "website": "string",
                          "address_street": "string",
                          "address_number": "string",
                          "address_complement": "string",
                          "address_district": "string",
                          "city": {
                            "id": 0,
                            "country_id": 0,
                            "state_id": 0,
                            "country_code": "string",
                            "state_code": "string",
                            "name": "string",
                            "latitude": "-23.55052000",
                            "longitude": "-46.63331000",
                            "wikidata_id": "string",
                            "is_blocked": true,
                            "display_order": 0,
                            "created_at": "2019-08-24T14:15:22Z",
                            "updated_at": "2019-08-24T14:15:22Z",
                            "metadata": [
                              {}
                            ]
                          },
                          "state": {
                            "id": 0,
                            "country_id": 0,
                            "state_code": "string",
                            "country_code": "string",
                            "name": "string",
                            "latitude": "-23.55052000",
                            "longitude": "-46.63331000",
                            "is_blocked": true,
                            "display_order": 0,
                            "created_at": "2019-08-24T14:15:22Z",
                            "updated_at": "2019-08-24T14:15:22Z",
                            "metadata": [
                              {}
                            ]
                          },
                          "country": {
                            "id": 0,
                            "iso2": "string",
                            "iso3": "string",
                            "numeric_code": "string",
                            "name_en": "string",
                            "name_pt": "string",
                            "name_es": "string",
                            "native": "string",
                            "phone_code": "string",
                            "capital": "string",
                            "currency": "string",
                            "currency_name": "string",
                            "currency_symbol": "string",
                            "tld": "string",
                            "region": "string",
                            "subregion": "string",
                            "region_id": 0,
                            "subregion_id": 0,
                            "nationality": "string",
                            "latitude": "-14.23500000",
                            "longitude": "-51.92530000",
                            "emoji": "string",
                            "emoji_u": "string",
                            "is_blocked": true,
                            "display_order": 0,
                            "created_at": "2019-08-24T14:15:22Z",
                            "updated_at": "2019-08-24T14:15:22Z",
                            "metadata": [
                              {}
                            ]
                          },
                          "state_id": 0,
                          "city_id": 0,
                          "postal_code": "string",
                          "country_code": "string",
                          "reference_code": "string",
                          "bank_code": "string",
                          "branch_number": "string",
                          "account_number": "string",
                          "account_type": "string",
                          "emails": [
                            "string"
                          ],
                          "phones": [
                            "string"
                          ],
                          "tags": [
                            "string"
                          ],
                          "is_blocked": true,
                          "metadata": {},
                          "br_data": {
                            "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                            "ie": "string",
                            "ie_exempt": true,
                            "im": "string",
                            "suframa": "string",
                            "tax_regime": "string",
                            "cnae_primary": "string",
                            "cnae_secondary": [
                              null
                            ],
                            "nire": "string",
                            "pix_key": "string",
                            "pix_key_type": "string"
                          },
                          "us_data": {
                            "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                            "w9_on_file": true,
                            "w9_received_date": "2019-08-24",
                            "naics_code": "string",
                            "sic_code": "string",
                            "tax_classification": "string",
                            "sales_tax_exempt": true,
                            "sales_tax_exempt_certificate": "string",
                            "sales_tax_exempt_expiry": "2019-08-24",
                            "resale_certificate": "string",
                            "state_tax_id": "string",
                            "state_of_incorporation": "string",
                            "duns_number": "string",
                            "cage_code": "string",
                            "bank_name": "string",
                            "routing_number": "string",
                            "ach_authorized": true,
                            "ach_authorization_date": "2019-08-24"
                          },
                          "created_at": "2019-08-24T14:15:22Z",
                          "updated_at": "2019-08-24T14:15:22Z",
                          "deleted_at": "2019-08-24T14:15:22Z"
                        },
                        "financial_account_id": "string",
                        "financial_account": {
                          "id": "string",
                          "bank_id": "string",
                          "bank_supplier_id": "9ff8778f-b90d-4848-a154-afd5a8740233",
                          "name": "string",
                          "reference_code": "string",
                          "type": "string",
                          "initial_balance": "1500.000000",
                          "description": "string",
                          "is_blocked": true,
                          "display_order": 0,
                          "metadata": {},
                          "account_scope_mask": {
                            "counterparty": true,
                            "category": true,
                            "balance": true
                          },
                          "br_data": {
                            "financial_account_id": "string",
                            "branch_number": "string",
                            "branch_digit": "string",
                            "account_number": "string",
                            "account_digit": "string",
                            "pix_key": "string",
                            "pix_key_type": "cpf"
                          },
                          "us_data": {
                            "financial_account_id": "string",
                            "routing_number": "string",
                            "account_number": "string",
                            "wire_routing_number": "string",
                            "ach_authorized": true,
                            "ach_authorization_date": "2019-08-24"
                          },
                          "credit_card_data": {
                            "financial_account_id": "string",
                            "credit_limit": "string",
                            "closing_day": 0,
                            "due_day": 0,
                            "brand": "string",
                            "last_four_digits": "string",
                            "default_debit_account_id": "5004c229-60ef-46cc-96f8-8a3e210b5652"
                          },
                          "created_at": "2019-08-24T14:15:22Z",
                          "updated_at": "2019-08-24T14:15:22Z",
                          "deleted_at": "2019-08-24T14:15:22Z"
                        },
                        "payment_method_id": "string",
                        "payment_method": {
                          "id": "string",
                          "code": "string",
                          "country_codes": [
                            "string"
                          ],
                          "titles": {
                            "property1": "string",
                            "property2": "string"
                          },
                          "descriptions": {
                            "property1": "string",
                            "property2": "string"
                          },
                          "is_blocked": true,
                          "display_order": 0,
                          "created_at": "2019-08-24T14:15:22Z",
                          "updated_at": "2019-08-24T14:15:22Z",
                          "deleted_at": "2019-08-24T14:15:22Z"
                        },
                        "financial_category_id": "string",
                        "financial_category": {
                          "id": "string",
                          "tenant_id": "string",
                          "parent_id": "string",
                          "type": "revenue",
                          "reference_code": "string",
                          "name": "string",
                          "code": "string",
                          "presentation_role": "gross_revenue",
                          "expense_nature": "employee_benefits",
                          "is_locked": true,
                          "is_system": true,
                          "description": "string",
                          "metadata": {},
                          "created_by_user_id": "string",
                          "updated_by_user_id": "string",
                          "deleted_by_user_id": "string",
                          "created_at": "2019-08-24T14:15:22Z",
                          "updated_at": "2019-08-24T14:15:22Z",
                          "deleted_at": "2019-08-24T14:15:22Z",
                          "parent": {
                            "id": "string",
                            "name": "string",
                            "code": "string"
                          }
                        },
                        "account_scope_mask": {
                          "counterparty": true,
                          "category": true,
                          "balance": true
                        },
                        "reference_code": "string",
                        "amount": "1500.000000",
                        "discount_amount": "0.000000",
                        "surcharge_amount": "0.000000",
                        "status": "pending",
                        "issue_date": "2019-08-24",
                        "due_date": "2019-08-24",
                        "paid_at": "2019-08-24T14:15:22Z",
                        "installment_group_id": "string",
                        "installment_number": 0,
                        "installment_count": 0,
                        "sales_order_id": "string",
                        "sales_order": {
                          "id": "string",
                          "record_number": 0,
                          "reference_code": "string",
                          "operation_type": "sale",
                          "product_type": "goods",
                          "status": "draft",
                          "order_date": "2019-08-24",
                          "delivery_date": "2019-08-24",
                          "customer_id": "string",
                          "quote_id": "3c071a1d-db86-46a7-9dc8-72ba3fbca992",
                          "salesperson_name": "string",
                          "description": "string",
                          "notes": "string",
                          "subtotal": "1500.000000",
                          "items_discount": "0.000000",
                          "discount_amount": "0.000000",
                          "discount_rate": "10.000000",
                          "total_discount": "0.000000",
                          "total": "1500.000000",
                          "metadata": {},
                          "br_data": {
                            "taxation_type": "string"
                          },
                          "created_at": "2019-08-24T14:15:22Z",
                          "updated_at": "2019-08-24T14:15:22Z",
                          "deleted_at": "2019-08-24T14:15:22Z"
                        },
                        "invoice_id": "string",
                        "invoice": {
                          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                          "record_number": 0,
                          "reference_code": "string",
                          "status": "draft",
                          "operation_type": "sale",
                          "product_type": "string",
                          "origin": "internal",
                          "has_source_xml": true,
                          "source_data_import_id": "b4400733-2a6b-44b7-8c73-e4b6d1fbc8cc",
                          "import_cancellation_source": "abrasf_nfse_cancelamento",
                          "import_channel": "file",
                          "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                          "customer": {
                            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                            "legal_name": "string",
                            "trade_name": "string",
                            "tax_id": "string",
                            "tax_id_type": "CPF",
                            "country_code": "string"
                          },
                          "invoice_date": "2019-08-24",
                          "origin_state_code": "string",
                          "origin_country_code": "string",
                          "destination_state_code": "string",
                          "destination_country_code": "string",
                          "customer_tax_type": "individual",
                          "salesperson_name": "string",
                          "fiscal_notes": "string",
                          "internal_notes": "string",
                          "discount_amount": "string",
                          "discount_rate": "string",
                          "tax_engine_provider": "string",
                          "sales_order_id": "5e95a238-d0d8-4280-92bc-08d83c9c12a6",
                          "subtotal": "string",
                          "items_discount": "string",
                          "total_discount": "string",
                          "total_tax": "string",
                          "withheld_total": "string",
                          "net_receivable_total": "string",
                          "total": "string",
                          "items": [
                            {
                              "br_data": {},
                              "us_data": {}
                            }
                          ],
                          "taxes": [
                            {}
                          ],
                          "br_data": {
                            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                            "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                            "nfse_number": "string",
                            "nfse_series": "string",
                            "declaration_number": "string",
                            "declaration_series": "string",
                            "nfse_verification_code": "string",
                            "nfse_access_key": "string",
                            "source_xml_dialect": "nacional",
                            "operation_nature": "string",
                            "fiscal_emission_date": "2019-08-24",
                            "provider_status": "string",
                            "transmission_status": "queued",
                            "taxation_type": "string",
                            "external_invoice_id": "string",
                            "cancel_justification": "string",
                            "cancelled_at": "2019-08-24T14:15:22Z",
                            "cancel_protocol": "string",
                            "cancel_processing_status": "pending",
                            "cancel_processing_message": "string",
                            "processing_status": "string",
                            "processing_code": "string",
                            "processing_message": "string",
                            "submission_xml": "string",
                            "response_xml": "string",
                            "has_response_xml": true,
                            "url": "string",
                            "cancel_access_key": "string",
                            "receiver_name": "string",
                            "receiver_federal_tax_number": "string",
                            "receiver_email": "string",
                            "receiver_phone": "string",
                            "receiver_address_street": "string",
                            "receiver_address_number": "string",
                            "receiver_address_district": "string",
                            "receiver_address_postal_code": "string",
                            "receiver_address_additional_information": "string",
                            "receiver_city_ibge_code": "string",
                            "receiver_city_name": "string",
                            "receiver_state_code": "string",
                            "receiver_municipal_registration": "string",
                            "receiver_state_registration": "string",
                            "receiver_state_registration_exempt": true,
                            "transmission_readiness": {
                              "blockers": []
                            },
                            "auto_transmission_status": "pending",
                            "auto_transmission_message": "string",
                            "auto_transmission_queued_at": "2019-08-24T14:15:22Z",
                            "auto_transmission_last_attempt_at": "2019-08-24T14:15:22Z",
                            "auto_transmission_next_retry_at": "2019-08-24T14:15:22Z",
                            "auto_transmission_attempt_count": 0
                          },
                          "us_data": {
                            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                            "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
                            "net_terms": 0
                          },
                          "warnings": [
                            {
                              "changed_fields": []
                            }
                          ],
                          "deleted_by_user_id": "e06321af-43d5-4340-818b-555f83254c47",
                          "created_at": "2019-08-24T14:15:22Z",
                          "updated_at": "2019-08-24T14:15:22Z",
                          "deleted_at": "2019-08-24T14:15:22Z"
                        },
                        "parent_receivable_id": "4f971824-e0d4-4c5a-91a8-9343603509b6",
                        "parent": {
                          "id": "string",
                          "record_number": 0,
                          "customer_id": "string",
                          "customer": {
                            "id": "string",
                            "type": "string",
                            "tax_id": "string",
                            "tax_id_type": "CPF",
                            "legal_name": "string",
                            "trade_name": "string",
                            "website": "string",
                            "address_street": "string",
                            "address_number": "string",
                            "address_complement": "string",
                            "address_district": "string",
                            "city": {
                              "metadata": []
                            },
                            "state": {
                              "metadata": []
                            },
                            "country": {
                              "metadata": []
                            },
                            "state_id": 0,
                            "city_id": 0,
                            "postal_code": "string",
                            "country_code": "string",
                            "reference_code": "string",
                            "bank_code": "string",
                            "branch_number": "string",
                            "account_number": "string",
                            "account_type": "string",
                            "emails": [
                              null
                            ],
                            "phones": [
                              null
                            ],
                            "tags": [
                              null
                            ],
                            "is_blocked": true,
                            "metadata": {},
                            "br_data": {
                              "cnae_secondary": []
                            },
                            "us_data": {},
                            "created_at": "2019-08-24T14:15:22Z",
                            "updated_at": "2019-08-24T14:15:22Z",
                            "deleted_at": "2019-08-24T14:15:22Z"
                          },
                          "financial_account_id": "string",
                          "financial_account": {
                            "id": "string",
                            "bank_id": "string",
                            "bank_supplier_id": "9ff8778f-b90d-4848-a154-afd5a8740233",
                            "name": "string",
                            "reference_code": "string",
                            "type": "string",
                            "initial_balance": "1500.000000",
                            "description": "string",
                            "is_blocked": true,
                            "display_order": 0,
                            "metadata": {},
                            "account_scope_mask": {},
                            "br_data": {},
                            "us_data": {},
                            "credit_card_data": {},
                            "created_at": "2019-08-24T14:15:22Z",
                            "updated_at": "2019-08-24T14:15:22Z",
                            "deleted_at": "2019-08-24T14:15:22Z"
                          },
                          "payment_method_id": "string",
                          "payment_method": {
                            "id": "string",
                            "code": "string",
                            "country_codes": [
                              null
                            ],
                            "titles": {},
                            "descriptions": {},
                            "is_blocked": true,
                            "display_order": 0,
                            "created_at": "2019-08-24T14:15:22Z",
                            "updated_at": "2019-08-24T14:15:22Z",
                            "deleted_at": "2019-08-24T14:15:22Z"
                          },
                          "financial_category_id": "string",
                          "financial_category": {
                            "id": "string",
                            "tenant_id": "string",
                            "parent_id": "string",
                            "type": "revenue",
                            "reference_code": "string",
                            "name": "string",
                            "code": "string",
                            "presentation_role": "gross_revenue",
                            "expense_nature": "employee_benefits",
                            "is_locked": true,
                            "is_system": true,
                            "description": "string",
                            "metadata": {},
                            "created_by_user_id": "string",
                            "updated_by_user_id": "string",
                            "deleted_by_user_id": "string",
                            "created_at": "2019-08-24T14:15:22Z",
                            "updated_at": "2019-08-24T14:15:22Z",
                            "deleted_at": "2019-08-24T14:15:22Z",
                            "parent": {}
                          },
                          "account_scope_mask": {
                            "counterparty": true,
                            "category": true,
                            "balance": true
                          },
                          "reference_code": "string",
                          "amount": "1500.000000",
                          "discount_amount": "0.000000",
                          "surcharge_amount": "0.000000",
                          "status": "pending",
                          "issue_date": "2019-08-24",
                          "due_date": "2019-08-24",
                          "paid_at": "2019-08-24T14:15:22Z",
                          "installment_group_id": "string",
                          "installment_number": 0,
                          "installment_count": 0,
                          "sales_order_id": "string",
                          "sales_order": {
                            "id": "string",
                            "record_number": 0,
                            "reference_code": "string",
                            "operation_type": "sale",
                            "product_type": "goods",
                            "status": "draft",
                            "order_date": "2019-08-24",
                            "delivery_date": "2019-08-24",
                            "customer_id": "string",
                            "quote_id": "3c071a1d-db86-46a7-9dc8-72ba3fbca992",
                            "salesperson_name": "string",
                            "description": "string",
                            "notes": "string",
                            "subtotal": "1500.000000",
                            "items_discount": "0.000000",
                            "discount_amount": "0.000000",
                            "discount_rate": "10.000000",
                            "total_discount": "0.000000",
                            "total": "1500.000000",
                            "metadata": {},
                            "br_data": {},
                            "created_at": "2019-08-24T14:15:22Z",
                            "updated_at": "2019-08-24T14:15:22Z",
                            "deleted_at": "2019-08-24T14:15:22Z"
                          },
                          "invoice_id": "string",
                          "invoice": {
                            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                            "record_number": 0,
                            "reference_code": "string",
                            "status": "draft",
                            "operation_type": "sale",
                            "product_type": "string",
                            "origin": "internal",
                            "has_source_xml": true,
                            "source_data_import_id": "b4400733-2a6b-44b7-8c73-e4b6d1fbc8cc",
                            "import_cancellation_source": "abrasf_nfse_cancelamento",
                            "import_channel": "file",
                            "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
                            "customer": {},
                            "invoice_date": "2019-08-24",
                            "origin_state_code": "string",
                            "origin_country_code": "string",
                            "destination_state_code": "string",
                            "destination_country_code": "string",
                            "customer_tax_type": "individual",
                            "salesperson_name": "string",
                            "fiscal_notes": "string",
                            "internal_notes": "string",
                            "discount_amount": "string",
                            "discount_rate": "string",
                            "tax_engine_provider": "string",
                            "sales_order_id": "5e95a238-d0d8-4280-92bc-08d83c9c12a6",
                            "subtotal": "string",
                            "items_discount": "string",
                            "total_discount": "string",
                            "total_tax": "string",
                            "withheld_total": "string",
                            "net_receivable_total": "string",
                            "total": "string",
                            "items": [
                              {}
                            ],
                            "taxes": [
                              {}
                            ],
                            "br_data": {},
                            "us_data": {},
                            "warnings": [
                              {}
                            ],
                            "deleted_by_user_id": "e06321af-43d5-4340-818b-555f83254c47",
                            "created_at": "2019-08-24T14:15:22Z",
                            "updated_at": "2019-08-24T14:15:22Z",
                            "deleted_at": "2019-08-24T14:15:22Z"
                          },
                          "parent_receivable_id": "4f971824-e0d4-4c5a-91a8-9343603509b6",
                          "parent": {
                            "id": "string",
                            "record_number": 0,
                            "customer_id": "string",
                            "customer": {
                              "city": {},
                              "state": {},
                              "country": {},
                              "emails": [],
                              "phones": [],
                              "tags": [],
                              "metadata": {},
                              "br_data": {},
                              "us_data": {}
                            },
                            "financial_account_id": "string",
                            "financial_account": {
                              "metadata": {},
                              "account_scope_mask": {},
                              "br_data": {},
                              "us_data": {},
                              "credit_card_data": {}
                            },
                            "payment_method_id": "string",
                            "payment_method": {
                              "country_codes": [],
                              "titles": {},
                              "descriptions": {}
                            },
                            "financial_category_id": "string",
                            "financial_category": {
                              "metadata": {},
                              "parent": {}
                            },
                            "account_scope_mask": {},
                            "reference_code": "string",
                            "amount": "1500.000000",
                            "discount_amount": "0.000000",
                            "surcharge_amount": "0.000000",
                            "status": "pending",
                            "issue_date": "2019-08-24",
                            "due_date": "2019-08-24",
                            "paid_at": "2019-08-24T14:15:22Z",
                            "installment_group_id": "string",
                            "installment_number": 0,
                            "installment_count": 0,
                            "sales_order_id": "string",
                            "sales_order": {
                              "metadata": {},
                              "br_data": {}
                            },
                            "invoice_id": "string",
                            "invoice": {
                              "customer": {},
                              "items": [],
                              "taxes": [],
                              "br_data": {},
                              "us_data": {},
                              "warnings": []
                            },
                            "parent_receivable_id": "4f971824-e0d4-4c5a-91a8-9343603509b6",
                            "parent": {
                              "customer": {},
                              "financial_account": {},
                              "payment_method": {},
                              "financial_category": {},
                              "sales_order": {},
                              "invoice": {},
                              "parent": {},
                              "metadata": {}
                            },
                            "description": "string",
                            "notes": "string",
                            "metadata": {},
                            "created_at": "2019-08-24T14:15:22Z",
                            "updated_at": "2019-08-24T14:15:22Z",
                            "deleted_at": "2019-08-24T14:15:22Z"
                          },
                          "description": "string",
                          "notes": "string",
                          "metadata": {},
                          "created_at": "2019-08-24T14:15:22Z",
                          "updated_at": "2019-08-24T14:15:22Z",
                          "deleted_at": "2019-08-24T14:15:22Z"
                        },
                        "description": "string",
                        "notes": "string",
                        "metadata": {},
                        "created_at": "2019-08-24T14:15:22Z",
                        "updated_at": "2019-08-24T14:15:22Z",
                        "deleted_at": "2019-08-24T14:15:22Z"
                      },
                      "description": "string",
                      "notes": "string",
                      "metadata": {},
                      "created_at": "2019-08-24T14:15:22Z",
                      "updated_at": "2019-08-24T14:15:22Z",
                      "deleted_at": "2019-08-24T14:15:22Z"
                    },
                    "description": "string",
                    "notes": "string",
                    "metadata": {},
                    "created_at": "2019-08-24T14:15:22Z",
                    "updated_at": "2019-08-24T14:15:22Z",
                    "deleted_at": "2019-08-24T14:15:22Z"
                  },
                  "description": "string",
                  "notes": "string",
                  "metadata": {},
                  "created_at": "2019-08-24T14:15:22Z",
                  "updated_at": "2019-08-24T14:15:22Z",
                  "deleted_at": "2019-08-24T14:15:22Z"
                },
                "description": "string",
                "notes": "string",
                "metadata": {},
                "created_at": "2019-08-24T14:15:22Z",
                "updated_at": "2019-08-24T14:15:22Z",
                "deleted_at": "2019-08-24T14:15:22Z"
              },
              "description": "string",
              "notes": "string",
              "metadata": {},
              "created_at": "2019-08-24T14:15:22Z",
              "updated_at": "2019-08-24T14:15:22Z",
              "deleted_at": "2019-08-24T14:15:22Z"
            },
            "description": "string",
            "notes": "string",
            "metadata": {},
            "created_at": "2019-08-24T14:15:22Z",
            "updated_at": "2019-08-24T14:15:22Z",
            "deleted_at": "2019-08-24T14:15:22Z"
          },
          "description": "string",
          "notes": "string",
          "metadata": {},
          "created_at": "2019-08-24T14:15:22Z",
          "updated_at": "2019-08-24T14:15:22Z",
          "deleted_at": "2019-08-24T14:15:22Z"
        },
        "description": "string",
        "notes": "string",
        "metadata": {},
        "created_at": "2019-08-24T14:15:22Z",
        "updated_at": "2019-08-24T14:15:22Z",
        "deleted_at": "2019-08-24T14:15:22Z"
      },
      "description": "string",
      "notes": "string",
      "metadata": {},
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "deleted_at": "2019-08-24T14:15:22Z"
    },
    "description": "string",
    "notes": "string",
    "metadata": {},
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z",
    "deleted_at": "2019-08-24T14:15:22Z"
  },
  "transaction": {
    "id": "string",
    "account_id": "string",
    "transfer_id": "string",
    "source": "manual",
    "fitid": "string",
    "trn_type": "string",
    "posted_at": "2019-08-24T14:15:22Z",
    "posted_on": "2026-02-19",
    "user_initiated_at": "2019-08-24T14:15:22Z",
    "amount": "-1500.000000",
    "orig_currency_code": "string",
    "orig_amount": "-1500.000000",
    "name": "string",
    "extd_name": "string",
    "memo": "string",
    "account_scope_mask": {
      "counterparty": true,
      "category": true,
      "balance": true
    },
    "refnum": "string",
    "checknum": "string",
    "srvrtid": "string",
    "correct_fitid": "string",
    "correct_action": "REPLACE",
    "is_reconciled": true,
    "reconciled_at": "2019-08-24T14:15:22Z",
    "metadata": {},
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z",
    "deleted_at": "2019-08-24T14:15:22Z"
  },
  "allocation": {
    "id": "string",
    "receivable_id": "string",
    "financial_transaction_id": "string",
    "allocated_amount": "1500.000000",
    "notes": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z"
  }
}
{
  "status_code": 404,
  "message": "Customer not found",
  "error": "Not Found",
  "code": "CUSTOMER_NOT_FOUND"
}
{
  "status_code": 404,
  "message": "Customer not found",
  "error": "Not Found",
  "code": "CUSTOMER_NOT_FOUND"
}
{
  "status_code": 404,
  "message": "Customer not found",
  "error": "Not Found",
  "code": "CUSTOMER_NOT_FOUND"
}
{
  "status_code": 404,
  "message": "Customer not found",
  "error": "Not Found",
  "code": "CUSTOMER_NOT_FOUND"
}
{
  "status_code": 422,
  "message": "Could not resolve provided geography fields",
  "error": "Unprocessable Entity",
  "code": "string",
  "details": {
    "fields": {
      "country_code": [
        "Could not resolve country from '1112' (tried ISO2, ISO3, numeric code and names)"
      ],
      "city": [
        "Could not resolve city from 'CidadeQueNaoExiste' in country 'BR'"
      ]
    }
  }
}
{
  "status_code": 404,
  "message": "Customer not found",
  "error": "Not Found",
  "code": "CUSTOMER_NOT_FOUND"
}