def METHOD_NAME(
    order_with_lines, address_usa, shipping_zone, site_settings
):
    method = shipping_zone.shipping_methods.get()
    order_with_lines.shipping_address = order_with_lines.billing_address.get_copy()
    order_with_lines.shipping_method_name = method.name
    order_with_lines.shipping_method = method
    order_with_lines.save()
    site_settings.company_address = address_usa
    site_settings.save()
    config = AvataxConfiguration(
        username_or_account=os.environ.get("AVALARA_USERNAME", ""),
        password_or_license=os.environ.get("AVALARA_PASSWORD", ""),
        use_sandbox=True,
        from_street_address="Tęczowa 7",
        from_city="WROCŁAW",
        from_postal_code="53-601",
        from_country="PL",
    )
    request_data = get_order_request_data(order_with_lines, config)
    transaction_url = urljoin(
        get_api_url(config.use_sandbox), "transactions/createoradjust"
    )
    api_post_request_task(
        transaction_url, request_data, asdict(config), order_with_lines.id
    )