Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Organization #6

Open
3 tasks
thelastinuit opened this issue Aug 8, 2021 · 0 comments
Open
3 tasks

Create Organization #6

thelastinuit opened this issue Aug 8, 2021 · 0 comments
Labels
kind:chore Internal Improvements
Projects

Comments

@thelastinuit
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The lib has enough code to start adding more layers of complexity. The ExFacturapi.Organizations.create(map()) is working already:

ExFacturapi.Organizations.create(%{name: "Test"})
{:ok,
 %{
   "certificate" => %{
     "expires_at" => nil,
     "has_certificate" => false,
     "updated_at" => nil
   },
   "created_at" => "2021-08-08T20:50:40.164Z",
   "customization" => %{
     "color" => "75A4FF",
     "has_logo" => true,
     "next_folio_number" => 1,
     "pdf_extra" => %{"codes" => true, "product_key" => true}
   },
   "id" => "611043a0593f73002614630c",
   "is_production_ready" => false,
   "legal" => %{
     "address" => %{
       "city" => "",
       "country" => "MEX",
       "exterior" => "",
       "interior" => "",
       "municipality" => "",
       "neighborhood" => "",
       "neighborhood_code" => "",
       "state" => "",
       "street" => "",
       "zip" => "06010"
     },
     "legal_name" => "Test",
     "name" => "Test",
     "tax_id" => "AAA010101AAA",
     "tax_system" => "601"
   },
   "logo_url" => "https://storage.googleapis.com/cdn.facturapi.io/organization/5b178548b2795450fce1845588731e98349cb103/logo.jpg",
   "pending_steps" => [
     %{"description" => "Introduce tus datos fiscales", "type" => "legal"},
     %{
       "description" => "Sube tu Certificado de Sello Digital (CSD)",
       "type" => "certificate"
     }
   ],
   "receipts" => %{
     "ask_address" => "optional",
     "duration_days" => 0,
     "invoicing_period" => "month",
     "next_folio_number" => 1
   }
 }}

Describe the solution you'd like
We need to

@thelastinuit thelastinuit added this to To do in ExFacturAPI via automation Aug 8, 2021
@thelastinuit thelastinuit added the kind:chore Internal Improvements label Aug 8, 2021
@thelastinuit thelastinuit mentioned this issue Aug 8, 2021
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:chore Internal Improvements
Projects
Development

Successfully merging a pull request may close this issue.

1 participant