Organizations (Multi-RFC)
Register multiple issuing organizations
You can issue invoices from different tax identification numbers by registering new issuing organizations, either from your dashboard or using the API, with the Create Organization method, as well as the other methods to configure tax data, logo, colors, certificates, etc.
If you also need to manage users, invitations, and granular permissions inside each organization, check the Team and roles guide.
That workflow can be handled either through the API or directly from the dashboard, depending on how much team administration you want to automate.
info
Remember that to create and manage organizations, you must authenticate using your User Key, which is a secret key associated with your entire account. You can find it in your Integration Center.
- Node.js
- C#
- PHP
- cURL
import Facturapi from 'facturapi'
const facturapi = new Facturapi('sk_user_API_KEY');
const organization = await facturapi.organizations.create({
name: 'Skynet'
});
// remember to save the organization.id in your own database
var facturapi = new FacturapiClient("sk_user_API_KEY");
var organization = await facturapi.Organization.CreateAsync(new Dictionary<string, object>
{
["name"] = "Skynet"
});
// remember to save the organization.Id in your own database
$facturapi = new Facturapi("sk_user_API_KEY");
$organization = $facturapi->Organizations->create([
"name" => "Skynet"
]);
// remember to save the organization.id in your own database
curl https://www.facturapi.io/v1/organizations \
-H "Authorization: Bearer sk_user_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Skynet"
}'