Returns a single org by its external ID. Implementation is required.
If multiple source tables are combined into the orgs entity, prefix the external_id with the source type to maintain uniqueness (e.g., vendor-123).
Security
OAuth2.0-Partner or Bearer-Token-Partner
- Mock serverhttps://apidocs.bravotran.com/_mock/openapi/orgs/{external_id}
- https://api.yourserver.comhttps://api.yourserver.com/orgs/{external_id}
- OAuth2.0-Partner
- Bearer-Token-Partner
curl -i -X GET \
'https://apidocs.bravotran.com/_mock/openapi/orgs/{external_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Org details
Payment scheduling parameter. For n_days_after_invoice_date, the number of days after the invoice date that payment is due. For day_n_month_after_invoice_date, the day of the month (in the month after the invoice date) that payment is due. Not used by the other rules.
Rule governing when payments are scheduled when this org is a creditor:
n_days_after_invoice_date— payment is duedays_to_paydays after the invoice date (BravoTran may snap the date to the account's configured payment day of week)day_n_month_after_invoice_date— payment is due on daydays_to_payof the month after the invoice dateeom_following_receipt— payment is due at the end of the month following the invoice date (despite the name, this is computed from the invoice date, not the receipt date)always_ignore— payments for this creditor are always marked ignored and never scheduled
Enum:"n_days_after_invoice_date""eom_following_receipt""day_n_month_after_invoice_date""always_ignore"null
Response
{ "external_id": "feaa09da-9551-47f8-b30d-6e303b6ad6d5", "updated_at": "2024-12-24T19:04:29Z", "name": "Mediterranean Shipping Company S.A.", "code": "MSC", "is_active": true, "is_creditor": true, "is_debtor": false, "country": "CH", "days_to_pay": 30, "payments_scheduling_rule": "n_days_after_invoice_date", "address_line_1": "Chemin Rieu 12", "city": "Geneva", "state": null, "postal_code": "1202", "contacts": [ { … }, { … } ] }